Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to get my installation of 10.04 to automatically log me in at start up. I tried to apply this method http://www.linuxjournal.com/article/3121 but after creating the script there, I was unable to edit the /etc/inittab file as there is not one present. Apparently this is because Ubuntu does not use this method and instead uses 'upstart'. Is there a similar way to auto login with Ubuntu??

share|improve this question
If you are on LightDM then here askubuntu.com/a/51087/63025 –  atenz Jul 3 '12 at 10:16

1 Answer 1

up vote 1 down vote accepted

According to the fine manual, you need to edit /etc/gdm/custom.conf in 10.04. If you can live with a GUI solution, then:

  1. Load the Gnome Administration utility by clicking on System -> Administration -> Login Screen Settings
  2. Unlock the window by hitting the unlock button (you will be asked the administrator password)
  3. Enable the checkbox for Log in as UserName automatically (Select your User Name from the drop-down list of users)
share|improve this answer
That works perfectly. Many thanks! –  mathematician1975 Jul 3 '12 at 11:52

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.