I was using CentOS 5.9 previously and recently updated to CentOS 6.5 as i am single user on my PC wanted to auto start the desktop and have auto login facility available. Hence i googled a lot and found solution below with the warning.
To make CentOS Desktop version auto login with GUI follow the instructions as given below.
You need to login using administrator right.
Step: Login from Terminal screen using the Application >> System >> Terminal
$ su
$ [[Enter Password set for root user]]
Go to the folder /etc/gdm
$cd /etc/gdm
To edit the file you can use gedit or vi I have tried using both with tell you the easiest way also the developer way.
$ gedit
It will open the gedit text editor. Open the custom.conf file. Under the [deamon] section insert following lines.
[deamon]
AutomaticLoginEnable=true
AutomaticLogin=[[user name]]
[[user name]] with which auto login shall be done.
Save the file and you are done.
Close the gedit and reboot. It is now auto login enable.
Note: Don't make mistake in entering the user name else system might not login at all and it will show you annoying black processing window endlessly.
I hope you might get benefited with information.
To make CentOS Desktop version auto login with GUI follow the instructions as given below.
You need to login using administrator right.
Step: Login from Terminal screen using the Application >> System >> Terminal
$ su
$ [[Enter Password set for root user]]
Go to the folder /etc/gdm
$cd /etc/gdm
To edit the file you can use gedit or vi I have tried using both with tell you the easiest way also the developer way.
$ gedit
It will open the gedit text editor. Open the custom.conf file. Under the [deamon] section insert following lines.
[deamon]
AutomaticLoginEnable=true
AutomaticLogin=[[user name]]
[[user name]] with which auto login shall be done.
Save the file and you are done.
Close the gedit and reboot. It is now auto login enable.
Note: Don't make mistake in entering the user name else system might not login at all and it will show you annoying black processing window endlessly.
I hope you might get benefited with information.