Automatically Login to Ubuntu 12.04 (Precise Pangolin) 6


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.

Objectives:

  • 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

 

precise_autologin

 

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

autologin-user=<username>autologin-user-timeout=0

 

precise_autologin_1

 

That’s it.


Please share if you like it on:



Leave a Comment

Your email address will not be published. Required fields are marked *

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

  • Fito

    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.

  • Ben

    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?

  • Gund

    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 :

    autologin-user=autologin-user-timeout=0

    Should actually be:

    autologin-user=
    autologin-user-timeout=0

    As shown in the screen capture, below it.

    Works on 12.04.3 Desktop Ubuntu, just fine.

  • Jefferson Salunga

    if user richard has no password it should be:

    [SeatDefaults]
    greeter-session=unity-greeter
    user-session=ubuntu
    autologin-user=richard
    autologin-session=lightdm-autologin