Page 1 of 1

Automatic login with Gnome 2

Posted: 2011/08/19 19:59:52
by fishnet37222
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.

Automatic login with Gnome 2

Posted: 2011/08/19 20:56:33
by keithwright
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.