Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
2  
TimedLogin will also work, add an additional directive (TimedLoginDelay=0) to go straight to the desktop. –  John T Aug 1 '11 at 18:49
add comment

1 Answer

up vote 5 down vote accepted

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.

share|improve this answer
    
Excellent. It works exactly how i was trying to make it. Thank you. –  YumYumYum Aug 1 '11 at 18:52
    
You're most welcome :) –  John T Aug 1 '11 at 18:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.