Automatic login with Gnome 2

General support questions
fishnet37222
Posts: 1
Joined: 2011/08/19 19:49:53

Automatic login with Gnome 2

Postby fishnet37222 » 2011/08/19 19:59:52

Hello,

I just installed CentOS 6 on a desktop computer that only I have physical access to. I want to configure it so it automatically logs in my regular non-root user account when it boots up. CentOS 5 had a System -> Administration -> Login Screen item that could be used for that, but I don't see that with CentOS 6.

Thanks for any help.

keithwright
Posts: 16
Joined: 2011/08/01 18:53:57
Contact:

Automatic login with Gnome 2

Postby keithwright » 2011/08/19 20:56:33

If you modify the /etc/gdm/custom.conf, add to the
[daemon] section the following:

AutomaticLoginEnable=True
AutomaticLogin=username

where username is the user to automatically login.