Automatically Login to Ubuntu 12.04 (Precise Pangolin)

With more and more people upgrading to Ubuntu 12.04 daily, more requests are coming in about setting up Ubuntu. One request I received today is how to configure a user account so he/she can auto login without typing a password. So I decided to write this brief tutorial that will show you to do it in Ubuntu. When auto login is enabled, the user account specified will automatically logon without typing passwords at the logon screen.

Without wasting anymore of your precious time, lets’ get going.


  • Enable Auto Login to Ubuntu 12.10 (Precise Pangolin)
  • Enjoy!

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below to open lightdm configuration file.

sudo gedit /etc/lightdm/lightdm.conf




Finally, add these lines below [SeatDefaults] and save the file.





That’s it.

7 thoughts on “Automatically Login to Ubuntu 12.04 (Precise Pangolin)”

  1. It didn’t work. Option is shown in “user accounts” for other users but not por the one i want to automatically login. I tried it even from another user account, and it didn’t work either.

  2. On this article there is a box asking for subscribe information hovering over the commands on how to do this. No matter what I try I cannot see the commands we are being taught. I can only see the request for me to subscribe to the mailing list. So, I can’t use the article. Why subscribe if we can’t learn anything?

  3. The trouble people are having is that the line to add to the file is actually TWO lines, not one.

    In the code view above :


    Should actually be:


    As shown in the screen capture, below it.

    Works on 12.04.3 Desktop Ubuntu, just fine.

  4. if user richard has no password it should be:


Leave a Reply