Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi, My last post didn't get any replies so I am posting again hoping to attract some attention. The problem isn't too complicated so hopefully someone can help!
Normally when I boot into Red Hat 9, after it loads all the services it displays a text login prompt for two seconds before it loads the Red Hat graphical login screen.
Today when I booted my computer, all the services loaded as usual, it displayed the text login prompt for two seconds as usual, but then instead of displaying the graphical Red Hat login screen the screen went blank for about 5 or 6 seconds, then it went back to the text login screen for 2 seconds, then the blank screen, then it repeated this loop until I turned off my computer...
My question is how do I recover from this besides reloading RedHat? How do I get a command prompt and once I do what should I be looking for to help fix this?
Is there a log file stored with information on why the graphical screen is failing? (var/log/messages?)
I found out I can edit my inittab and change the level to 3 and then do tellinit -k, but I don't know how to edit my inittab?
Something must have changed - the XFree86 configuration, your kernel and/or modules configuration, or something to that effect.
Normally when the graphical login manager (GDM, XDM, etc) fails to start it will try three or four times and then display a text message saying it can't start XFree86 and then it will drop you to a console (text) login. Try pressin Ctrl+Alt+F2 to get a console login. If you do, log in as root and launch setup. You may have to specify the full path, which I don't recall right now - I think it is /usr/bin/setup but it could also be /sbin/setup. There you can choose X configuration and a host of other things. Enter the X configuration and see if you can make it work again.
The latest XFree86 log should be in /var/log/XFree86.0.log it might prove to contain useful information.
inittab is a file located in /etc. If you get a console login you can edit it using any of the text mode editors like nano. I don't really endorse the use of vim or emacs for newbies in emergencies as they can be very frustrating if you're new to them. nano is very straightforward, and you should launch it with nano -w /etc/inittab. The -w switch makes sure lines that are too long to fit onto the screen don't get broken when you save the file.
To boot to the command shell, you can do some things at the grub menu.
At the grub menu highlight the Linux item
Type: e press enter
Highlight the line with kernel in it.
Type:e press enter
go to the end of that line and space over one, then type: init 3 press enter
Now while highlighted on that kernel line, type b and enter
That should boot you up to the command line.
Once you get there and login as root, you can type: demesg to see if there are any errors.