LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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.

Notices

Reply
 
LinkBack Search this Thread
Old 04-18-2005, 04:07 PM   #1
squinn
LQ Newbie
 
Registered: Jul 2004
Posts: 25

Rep: Reputation: 15
X-Server won't start


My RedHat 9 machine recently froze up on me and so I had to restart it. Now, the X-server won't start.

The black (textual) login screen pops up like usual at first, but this is when the GUI usually starts up as you normally log in through the X-windows. After a few seconds, it exits the black login screen and a blank screen appears. The login screen flashes ever 30 seconds or so.

What can I do to fix this?
 
Old 04-18-2005, 04:17 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
type, as root, "redhat-config-xfree86", or something of that sort (can't remember the exact comand, but type "redhat-config-<tab>", it should auto-complete the name). That will help you to reconfigure your X-server.

Good luck!
 
Old 04-18-2005, 04:25 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
I've had the same thing happen to me. I have an nvidia card and needed to re-run the nvidia installation as root. If that is your type of card also, you may need to do this. Also, you may need to press a sequence such as <ctrl><alt><f2> to get to a seperate virtual console to be able to login.
 
Old 04-18-2005, 04:47 PM   #4
squinn
LQ Newbie
 
Registered: Jul 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Please bear with me for being a newbie) but where do I type this command? I am able to get into the GRUB console by selecting the 'c' option but how can I get to a terminal?
 
Old 04-18-2005, 04:57 PM   #5
squinn
LQ Newbie
 
Registered: Jul 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for helping. I don't have nvidia. The only thing I can think of that might have caused this is that I was installing something and I may have run out of space on the partition.

What is the best way to open a terminal so I can try to fix this?
 
Old 04-18-2005, 05:05 PM   #6
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Hi!

Let your Linux boot all the way. I believe it tries to start the Xserver automatically and then fails right? Let it fail, then press "ctrl + alt + F3". It will bring you to a login console. Login as "root", then type your root password and run the command I've suggested you. It could be slightly wrong, haven't use RH9.0 for a loooong time, but use tab completion to find the correct command.

Good luck!
 
Old 04-18-2005, 05:33 PM   #7
squinn
LQ Newbie
 
Registered: Jul 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Exclamation

I have tried "ctrl + alt + f3" and f2 and all the others, but nothing happens. I still get a login screen which disappears after about 5 seconds no matter what. I am stuck in this state, unless I perform a hard restart.

help!
 
Old 04-25-2005, 01:45 AM   #8
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
It sounds to me like init is respawning the gdm/kdm login program. You will probably need to boot up into the rescue system, and edit the /etc/fstab file so that the line that reads:
# The default runlevel is defined here
id:5:initdefault:

instead reads
# The default runlevel is defined here
id:3:initdefault:

It will probably be the first uncommented line in the file.
This will change the default runlevel to the networked, multiuser mode rather than the networked, multiuser, GUI mode.

Then save the file, and reboot into the system. Log in as root and run the setup command that Megaman X mentioned in his post above.
 
  


Reply


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot start X-server Clementine Linux - Newbie 15 05-12-2005 12:19 PM
X Server Won't start waknauss Linux - Hardware 2 11-12-2004 01:31 PM
Can't start X server DemonThing Fedora 4 06-09-2004 08:12 PM
Can't Start X Server afz Linux - General 5 02-24-2004 11:13 AM
cannot start the X server ynt Linux - Software 1 08-17-2003 08:56 AM


All times are GMT -5. The time now is 05:30 AM.

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