Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My ubuntu logs me directly into my desktop, but is not showing the login screen. I have 14.04 LTS so I want to select KDE, but my system boots to the desktop directly. Any way to go to the login screen so that I can log in as usual?

share|improve this question
Would you mind accepting an answer; it helps keep the stack exchange clean – Akiva Aug 5 '14 at 21:48
Accepted an answer, thank you. I was a little late though – A penguin May 5 '15 at 5:33
Ha ha, no kidding. – Akiva May 5 '15 at 7:08
up vote 10 down vote accepted

Just go to System Settings -> User Accounts and disable automatic login.

enter image description here

That way, you will always be prompted for the password and it's in that login screen you can choose which environment to login to.

share|improve this answer
Comic sans?! That better be cuz of "comic sans day", Parto :D – Rinzwind Jul 8 '14 at 12:25
@Rinzwind That's not comic sans. It's called 'VeggieBurger' :-) – Parto Jul 8 '14 at 13:32
fine fine have an upvote then :D – Rinzwind Jul 8 '14 at 13:37
@Rinzwind Wow, thanks alot. I appreciate. Oh, and the title bar, it says 'user accounts', that's Pseudo Saudo – Parto Jul 8 '14 at 13:40
Thanks too. If this answer helped you, remember to mark your question as answered. – Parto Jul 9 '14 at 8:05

System Settings -> User Accounts -> slide the automatic login button to off


Open the command line / terminal (Ctrl+Alt+T)

Enter the following command

sudo nano /etc/lightdm/lightdm.conf

You should see in there something like


where yourusername is your actual username. Remove autologin-user=yourusername, the whole line, but leave `[SeatDefaults].

*N.B: if you don't see those lines, I would recommend exiting without making any changes to the lightdm.conf file

share|improve this answer

Your system has been set to automatically log you in - this was a choice you probably made at install time. You can switch desktops by choosing logout (not shutdown or reboot) which will take you to the login screen where you can then choose a desktop.

Choosing a desktop is persistent - next time you reboot it will take you back to the desktop you have chosen.

To disable to automatic login, you can use the 'User Accounts' program -> open the dash and type user...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.