as liddier pointed out, graphical logins are provided in run level 5.
Main Topics
Browse All TopicsI've got a VM running Centos 5.3 and I installed Gnome. I now want to set Gnome to start when I fire up the VM automatically so I can just log in via VNCviewer. I used to know how to do this but forgot and I can't find any instructions. thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Step by step.
1. Login as root.
2. Edit the /etc/inittab file:
vi /etc/inittab
3. Move the cursor so that it highlights the 3 in the following line:
id:3:initdefault:
4. Press 'r' then press '5'. That should change the line to the following:
id:5:initdefault:
5. Type ':' then type "wq!" and press enter.
:wq!
6. That should take you back to the command prompt. From there you can just issue the following command to go right into runlevel 5, the gui.
init 5
From there, if you edited the /etc/inittab file correctly, you should go straight into the gui after each subsequent reboot.
-
Business Accounts
Answer for Membership
by: liddlerPosted on 2009-10-05 at 02:07:49ID: 25493490
What init level is in your inittab?
If level 3
edit /etc/inittab and change id:3:initdefault: to id:5:initdefault:
Do you have a startup script for Gnome in /etc/init.d
/etc/init.d/gdm?