Auto login in Ubuntu

I know that I'm the only user in my system and no one else will have access to it. I don't see a point to have a login screen. With Windows, I know we can set to auto login using a userid. I was searching for similar thing in Ubuntu. Found one :-)

Go to terminal and type "sudo gdmsetup". You will get login window preferences. Select Security tab; check "Enable automatic Login" and select the user. You are done! Simple ha? But why there is no shortcut in the Preferences/Administration/Applications menu?

Related links:
Ubuntu Titbits
Eclipse in Ubuntu
Putty in Ubuntu
Screen resolution got struck in Ubuntu
Configure DSL in Ubuntu

Posted in Labels: |


  1. Nico Says:

    Ha! So easy, thanks a bunch :)

  2. bob Says:

    system>admin>login window

  3. Anonymous Says:


  4. Sniper-Wolf33 Says:

    Thanks for the tip!

  5. michael Says:

    I was really looking for this! Thank you!

  6. Mikko Ohtamaa Says:

    There is. Check System -> Administrator -> Login screen.

  7. Prakash Says:


  8. Sandra Says:

    Thanks heaps! Was wanting this for the kids' computer so I can shut it down of a night and hide the keyboard. They only use TuxPaint so don't need a keyboard anyway!

  9. Super Windows Autologon Says:


  10. BogusRed Says:

    Thank you so much for the autologin tip. This is EXACTLY what I was looking for.

  11. ColdFusion 8 on Ubuntu with LAMP « Random Madness Says:

    [...] LAMP for Newbies MySQL Password Reset How to Share Files and Folders in Ubuntu Auto Login in Ubuntu Gadmintools (GPROFTPD) Getting Vista to Work with Samba Installing Microsoft [...]

  12. Schop Says:

    Sweet feature!

    But when I enabled automatic login but there was no user to select, I manually typed my user name (no typo's) though i think it doesn't work since i have a password :S can be something else but anyway...
    Can anyone help me out on this?

    Tnx in advance, Schop.

  13. syahid Says:

    thanks you its realy help me :)

  14. arntracks Says:

    What about a command line to do so... I need to configure about 40 PCs

  15. aswin Says:

    well doen

  16. shwan Says:

    there is an option in the administrations menu!

  17. fulaabari Says:

    unimaginative of staing one to one with your computer? Start your vacation only the day after tomorrow
    Chose you packedge by tomorrow and get individual deal

    disneyland vacations european vacation

  18. YCDavidson Says:

    Viagra is an oral drug for male impotence, also known as erectile dysfunction. Viagra has a great safety track record and proven effects that start acting in 30 minutes to 1 hour and last for about 4 hours.