If you have the command line working, and Internet access, do a yum install mc
to get a pseudo-gui file manager/editor.
Then press the ctrl-alt-f2
key combination to get a second log in tty, and log in a a normal user before you try the startx
. (Running a GUI as root is an avoidable security risk.) If that works, and you get a GUI, open a terminal window and do a cat /etc/inittab
and look at the last line. It should look like this:
If the number is 3 instead of 5, change it to a 5. (You can use the mc
editor to do that, or, if you're in the GUI, try su -c 'gedit /etc/inittab'
to edit the file as "root".
On the other hand, if startx
fails, tell us the error that will be displayed on your screen.