Fedora 10 Autologin
Took a small detour to Fedora land, I found no option how to enable autologin in gnome, so here’s how to do it.
Please remember to back up your files first! :
cp /etc/gdm/gdm.schemas /etc/gdm/gdm.schemas.backup
nano /etc/gdm/gdm.schemas
and locate
`<schema>
<key>daemon/AutomaticLoginEnable</key>
<signature>b</signature>
<default>false</default> Change this to true.
</schema>`
And finally edit this:
`<schema>
<key>daemon/AutomaticLogin</key>
<signature>s</signature>
<default></default> Put the username here.
</schema>`
If you have look a bit further down, you’ll find options how to enable timed login too, if you use that instead you must leave auto login disabled.
Thanks to this post on linuxquestions that led me to the answer.
Update: edited post with better example.
Update 2!
Thanks to JGV in the comments below for pointing this out!
The even simpler solution:
`* edit /etc/gdm/custom.conf
* add section [daemon] to this file
* inside this section, add lines:
AutomaticLoginEnable=true
AutomaticLogin=username`


Hi Magnus. thanks for this post. this is working great. I’ve made a Danish translation of this post at my guides blog. I’ve credited you for it and made a trackback. I hope that’s okay with you.
http://guide.xodeus.dk/2008/12/16/automatisk-login-til-fedora-10/
Thank you so much, I haven’t tried on 10 yet as I know it wasn’t working in 9 (when I looked for it) I am glad they are allowing it now, I just wish they would add it to some kinda admin option now.
what if KDM is used as DISPLAYMANAGER but GDM as desktop
e.g.
DESKTOP=”KDE”
DISPLAYMANAGER=”KDE”
I think this is simpler:
* edit /etc/gdm/custom.conf
* add section [daemon] to this file
* inside this section, add lines:
AutomaticLoginEnable=true
AutomaticLogin=
I think this is simpler:
* edit /etc/gdm/custom.conf
* add section [daemon] to this file
* inside this section, add lines:
AutomaticLoginEnable=true
AutomaticLogin=username
Thanks I was looking for this to automate the login of my mythtv front end.
hello, nice posting.
thanks a lot, this is helpfully.
Yes it’s okay. Interesting blog you have there!