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??
Asked
Active
Viewed 2,496 times
0

mathematician1975
- 2,251
-
If you are on LightDM then here http://askubuntu.com/a/51087/63025 – atenz Jul 03 '12 at 10:16
1 Answers
1
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:
- Load the Gnome Administration utility by clicking on System -> Administration -> Login Screen Settings
- Unlock the window by hitting the unlock button (you will be asked the administrator password)
- Enable the checkbox for Log in as UserName automatically (Select your User Name from the drop-down list of users)

dotancohen
- 2,815
-
-
@DhanaKrishnasamy: You cannot have a script log in a user, as scripts are genreally run as your user, which hasn't come up yet as you are not logged in! – dotancohen Jul 23 '15 at 09:06
-
This is what I wanted (non gui approach) -> http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login/48327#48327 – Dhana Krishnasamy Jul 23 '15 at 09:10
-
@DhanaKrishnasamy: I see. You link explains how to have an application start on login, not how to have the system log in a specific user. This question and answer deal with the later. I'm glad that you found what you are looking for, though! – dotancohen Jul 23 '15 at 11:29