Trisquel 5.5 autologin gdm

2 respostas [Última entrada]
topspeed
Desconectado
Joined: 12/06/2012

How do I configure Trisquel to autologin? I have set "no password" required for the user but would need to make this particular user (the only user) autologin to the Gnome desktop.

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

Try to write the following in the file /etc/gdm/custom.conf (to be created if it does not exist):
AutomaticLoginEnable=true
AutomaticLogin=topspeed

I assumed above that the username is topspeed. Change it if it is not.

topspeed
Desconectado
Joined: 12/06/2012

Thanks for the reply.

In /etc/gdm/ are the following directories:

Init
PostLogin
PostSession

(and the executable script)
Xsession

I created custom.conf in which I added the lines above (modifying the login user id accordingly). It didn't initially work but I found http://library.gnome.org/admin/gdm/stable/configuration.html.en which provided more hints.

I added the daemon section and TimedLoginEnable line (for good measure). So now we have:

[daemon]
TimedLoginEnable=true
AutomaticLoginEnable=true
AutomaticLogin=username

and it's working!