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.

I enabled autologin in my system (CentOS 6.2) for that I edited this file /etc/gdm/custom.conf In that I entered this code

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=test

Here test means one account name, for that account autologin is working but the problem is not possible to logout. That is because everytime while I logout it will go to gdm(graphical display manager) and there it Again checks for account test. It is available right so it will again login to same account.

Here I want add delay, that means it should wait for sometime, If no one login to any other account, then only test account will log.

how to add delay?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You need to change AutomaticLogin to TimedLogin.

TimedLoginEnable=true
TimedLogin=test
TimedLoginDelay=30
share|improve this answer
    
Thanks a lot it's working fine... :-) –  max Aug 29 '12 at 6:30

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.