GDM AutoLogin

These are the lines you need in your /etc/gdm/custom.conf ([daemon] section) to make auto-login work. It only auto-logs in on first boot, and it must be a non-root user.

AutomaticLoginEnable=true AutomaticLogin=whatever_username
Leave A Reply - 3 Replies
Replies
January 11th 2008 - Dave

The autologin doesn't require a reboot to work, just issue the following command:

/etc/init.d/gdm restart

this will restart the server and autologin the user you defined.

November 25th 2008 - superstar

here is the "Code" again, i forgott the [daemon], it wont work without:

[daemon] TimedLoginEnable=true TimedLogin=your_username TimedLoginDelay=0

May 30th 2011 - Michael Adams

Hey, this still works if you're using Linux Mint Debian with GDM3! Use /etc/gdm3/daemon.conf as your config file.

All content licensed under the Creative Commons License