Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .