Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-05-2013, 12:50 PM   #1
LQ Newbie
Registered: Jun 2013
Posts: 3

Rep: Reputation: Disabled
Post GUI doesn't start after changing inittab from 3 to 5 RHEL6

well im new using linux so i need lot of help.
i installed Red Hat enterprise linux server 6.4 on my pc.
Lenovo 6075E2S
Processor: Intel Core 2duo 2.66 ghz
Ram: 4 gb
Video: Intel GMA 3100 integrated
Audio: Soundmax integrated

initially it runs from inittab id:3 (CLI mode) but i changed it to id:5 (GUI mode).
After that i reboot system but i keeps loading the OS. the screen shows me black screen with the white loading line totally completed but it freeze there.

the GUI dosnt load.
Old 06-05-2013, 01:22 PM   #2
Registered: Apr 2013
Location: France
Distribution: Slackware; Scientific Linux
Posts: 107

Rep: Reputation: Disabled
You should try to boot in single-user mode (you do that by entering linux single at the boot prompt), or
boot your system from the install CD. Then, edit again inittab to put back id:3 and reboot.
You should then be again with the CLI mode. You can then log in, and try to launch the GUI by typing startx or xinit.
Note carefully what is going on, and if something goes wrong kill the X server by Ctrl+Alt+Backspace.
Then, try to look at the file /var/log/X.log (or similar name). This will tell you what is causing the X Window system
to fail at startup. Check also the file /etc/xorg.conf and look in particular for Section "Device" in that file.
You can also try to start X by the command xdm -nodaemon & (typed as root) in CLI mode.
If everything is right when using startx/xdm, it means that 5 is not the GUI mode. You need to look at the RedHat (or equivalent CentOS or Scientific Linux) documentation to identify the proper runlevel.
If startx works but not xdm, you may have a problem of xdm/kdm/gdm configuration.
Old 06-05-2013, 06:31 PM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,400

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
i installed Red Hat enterprise linux server 6.4 on my pc.
Its entirely likely you selected server install, which doesn't install GUI; most serious servers don't bother (they don't have monitors attached when rack mounted).
Try going back to the cli & 'startx' cmd as recommended and post the msgs.
You could try installing the GUI (as root user)
yum install "Desktop Platform"

# see this cmd to list all pkg groups
yum grouplist


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL6 and the inittab heavymetalpt Red Hat 2 05-01-2012 02:58 PM
Replace /etc/inittab file from RHEL6 dvd utkarshsawant Linux - Newbie 1 03-04-2012 12:55 AM
how to recover inittab in rhel6 balvinderhp Linux - Networking 1 09-21-2011 04:54 AM
GUI doesn't start miez Linux - Newbie 16 08-05-2009 05:24 AM
cron daemon doesn't start from inittab, but says already running!! AbrahamJose AIX 1 09-19-2008 04:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration