LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GNOME - Autologin not working (https://www.linuxquestions.org/questions/linux-software-2/gnome-autologin-not-working-914909/)

pinolo 11-22-2011 09:00 AM

GNOME - Autologin not working
 
I must enable autologin for user1 in a redhat 5.6 machine, with GNOME 2.16.0.
I found on web that i've to modify the /etc/gdm/custom.conf file like this:

...
[daemon]
AutomaticLoginEnable = true
AutomaticLogin = user1
...

but it's not working.
Actually in the Login Screen tool I can see the automatic login box checked, but in the user field nothing appears. Is "AutomaticLogin=..." the right syntax?

Thanks

corp769 11-22-2011 09:05 AM

Would this help? http://www.linfo.org/automatic_login.html

pinolo 11-22-2011 09:19 AM

It's the same thing I did, but with no results.
Checking/unchecking the Enable box actually corresponds to adding/deleting the "AutomaticLoginEnable = true" line.
Under the checkbox no user is prompted for the selection, and if I add the "AutomaticLogin = user1" line there's no effect.

pinolo 11-22-2011 09:47 AM

I wrote the line regarding the user, rebooted and it worked.
Thank you

corp769 11-22-2011 10:18 AM

Can I ask how your config look like then, since it is now working?

pinolo 11-22-2011 10:29 AM

custom.conf:

...
[daemon]
AutomaticLoginEnable = true
AutomaticLogin = user1
...

after having rebooted in gdmsetup tool "user1" is showed in the user field under automatic login check box

corp769 11-22-2011 10:34 AM

Ahh ok, so then using your normal username, it works as advertised then? I'm just making sure so you don't run into any future problems.


All times are GMT -5. The time now is 08:33 PM.