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
Dave 2008-01-11 06:15am - No Email - Logged IP: 69.37.131.183

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.

superstar 2008-11-25 03:59pm - No Email - Logged IP: 82.52.45.65

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

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

Michael Adams 2011-05-30 10:05pm - unquietwiki@... - Logged IP: 50.88.222.161

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