How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

June 1, 2012

CentOS 6 / RHEL 6 – AutoLogin

Filed under: Linux — Tags: , , — admin @ 11:16 am

Hello
If you want that your computer to autologin and is a centos /rhel then you must modify /etc/gdm/custom.conf
Add to that file
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=username

If you stil want to have a delay and after autologin , you must add
[daemon]
TimedLoginEnable=true
TimedLogin=centoslive
TimedLoginDelay=10

2 Comments »

  1. I dont have gdm installed, what can you suggest in such a situation, only runlevel 3 and startx.. CentOS 6.3

    Comment by Ghan Vashishtha — April 5, 2013 @ 3:59 pm

  2. Hello
    Well I don’t know exactly what you mean. You want to automatically log in when linux start without prompt user/password in level 3 ? If you want automatically start in x, why don’t you switch in runlevel 5 ?

    Comment by admin — April 17, 2013 @ 6:43 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress