How can i auto-login with Fedora 15? So that it never ask it on reboot automatically logs in, as defined

4

1

In the earlier versions of Fedora there was a way to use gdmsetup for auto-login. Now in Fedora 15 I can't auto-login anymore. Anyone know how I can do this?

I cannot figure out how to stop it from showing a login prompt. I have tried:

TimedLoginEnable=true
TimedLogin=user1

It still shows the user1/password login prompt and wait for few seconds and then auto login. But I want it to log in right away and go straight to the desktop.

YumYumYum

Posted 2011-08-01T18:32:06.877

Reputation: 1 399

2TimedLogin will also work, add an additional directive (TimedLoginDelay=0) to go straight to the desktop. – John T – 2011-08-01T18:49:58.373

Answers

5

You can achieve this by modifying the daemon section of /etc/gdm/custom.conf:

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=USERNAME_HERE

If you set AutomaticLogin=root, gdm will refuse to automatically log you in for security reasons. Use a regular user account instead.

John T

Posted 2011-08-01T18:32:06.877

Reputation: 149 037

Excellent. It works exactly how i was trying to make it. Thank you. – YumYumYum – 2011-08-01T18:52:46.470

You're most welcome :) – John T – 2011-08-01T18:53:53.627