Link to home
Start Free TrialLog in
Avatar of chunkyshu
chunkyshuFlag for United States of America

asked on

RH9 - Screen goes black when I log out

I have a Linux RH9 box running as a squid proxy. I was messing around with the services and was turning off unnecessary (or so I thought) services and realized I had turned off x-windows, stopping all ability to run a GUI (as you can see I'm a little new at this). I turned "ALL" services back on and video was restored. Now a strange thing happens. When I log off my box to return to the Logon screen, the screen goes to "black" again. The system is still running. The light on my monitor is green (indicatiing it is receiving a signal from the computer). The only way to restore video is to restart the machine, via remotely or via the power button.
Has anyone had the problem before, any suggestion?
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

> I turned "ALL" services back on and video was restored.
Did you enable gdm?
chkconfig --level 2345 gdm on
service gdm restart

Also check on the error messages in
/var/log/messages
/var/log/XFree86.0.log
~/.xsession-errors

Just press "Ctrl+Alt+F1" to get a text mode login prompt and login as root to check those log files for clues.

Regards,

Wesly
Avatar of chunkyshu

ASKER

Wesley,
I tried running chkconfig --level 2345 dgm on, but I get the error message "bash: chkconfig: command not found". I tried running it as root and as myself. Any suggestion as to what I'm doing wrong to run this command? I'm new to linux so any help would be wonderful!
Thanks!
ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok... I'll try that. Thanks for the tip.
I found out it was bad hardware. I tried your suggestions and nothing. I then re-imaged the box with a different set of disks... still the same issue with a fresh install. I then tried new hardware, and it worked like a champ!