GUI KDE Login Screen disappeared.

I lost power on my RedHat 6.0 installation.  Ever since then the gui KDE login screen that I used to see doesn't come up anymore.  The system was orginally configured to go to runlevel 5 but all that happens is I get the blank gray screen.  I have to Ctrl+alt+bksp to go back to runlevel 3, login and then startx (which works fine), but it's bothering the heck out of me because I can't figure out how to get it back to the way it was.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I'm pretty sure it has to do with the rc.sysinit script in the directory /etc/rc.d  I'm still searching for the correct string to edit but, I'm pretty sure it's an entry in this file.
edit /etc/inittab

You should see an entry like this:


Change the 3 to a 5 and reboot for your display manager to start automatically at boot.

If that's not the problem, please leave a comment. Thanks.

johnb110999Author Commented:
As I stated in my original question, when inittab  is set to runlevel 5, the system tries to go into Xmode but all that happens is a blank grey screen and I have to ctrl+alt+bksp to get back to runlevel 3, login and then type startx.  What's missing is the gui login screen when I boot up.
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Your kdm or .kdmrc may be damaged.  Try this:

when going into terminal mode, login as root and run

       kdm &

or better, if you have the following, then

/etc/rc.d/init.d/kdm start

and see if you get the GUI login screen.

This will determine if kdm/.kdmrc is damaged.
johnb110999Author Commented:
Did the 'kde &' command while in root, got the same thing (which is nothing) as when I boot up in run level 5.  So the kdm file must be damaged as you say.  I looked in the kdm file (/usr/bin/kdm), it was full of gibberish.  Anyone have a good kdm file?  Email address is
Remove the KDE rpm's from the command line.  Reinstal the KDE RPM's and you should be good to go.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.