LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-22-2004, 11:51 AM   #1
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Rep: Reputation: 15
fails to load up X, then the login screen keeps flashing?


I didn't shut down my Redhat 9 box cleanly the other day.... when I tried to switch it on today, it can't jump into the GUI login screen.... using ssh, i can connect to the machine without any problem, therefore i'd guess something's gone wrong with X..
the problem is, where should i start to do the diagnosis?

Cheers,
F
 
Old 02-22-2004, 11:53 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Check your logs like always..
 
Old 02-22-2004, 12:02 PM   #3
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
which log file may i ask?
cheers,
F
 
Old 02-22-2004, 12:15 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I'd start in /var/log and most likely the messages log. And you might also have a XFree86 Log there as well..
 
Old 02-22-2004, 12:19 PM   #5
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
gdm[2655]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0

that's what i got from /var/log/message
hafnt got a clue of what it means, i only know that kernel keeps trying to do that...

I looked into /usr/bin/X11 but it doesn't seem to store any log file there, did i miss out anything?
 
Old 02-22-2004, 12:22 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by csvke
gdm[2655]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0

that's what i got from /var/log/message
hafnt got a clue of what it means, i only know that kernel keeps trying to do that...

I looked into /usr/bin/X11 but it doesn't seem to store any log file there, did i miss out anything?
Should be in /var/log most likely if you do have a XFree86 log. Have you tried to boot into runlevel 3 and started X manually to see what it spits back out when it fails on you? Cause from your error, might be a GDM problem.. not sure though, never seen that error myself.
 
Old 02-22-2004, 12:25 PM   #7
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
I tend to think it's not the problem of gdm, it's X couldnt start in the first place.... any clue?
I am so frustrated on this as an end user like me have screwed up one of the most stable OS... please somebody help me.
 
Old 02-22-2004, 12:29 PM   #8
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
which configuration file should i edit to change the runlevel? I did it the other day but i haf already forgotten.... my memory doesnt serve me anymore, (not only my linux box)i am just 21.......
 
Old 02-22-2004, 12:30 PM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by csvke
which configuration file should i edit to change the runlevel? I did it the other day but i haf already forgotten.... my memory doesnt serve me anymore, (not only my linux box)i am just 21.......
You can edit your /etc/inittab file to change your runlevel.
 
Old 02-22-2004, 12:43 PM   #10
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
got it.

Fatal server error:
could not open default font 'fixed'

i will look into
/etc/X11/XF86Config
and see where does it store the font...

perhaps i crroupted the font file or something?

btw do I just type
X
do load X? (it's a horribly stupid question somehow, i mean do I need to put some parameter or some sort)
 
Old 02-22-2004, 12:51 PM   #11
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
looking into the log file of X, there's something like this:

Could not init font path element unix/:7100, removing from list!

Fatal server error:
could not open default font 'fixed'

what is your FontPath value?

mine is
FontPath "unix/:7100"
 
Old 02-22-2004, 02:49 PM   #12
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
I suspect the 'Unix font server' is down or something that X cant read fonts from the default path.

comment out the default FontPath
then add

Code:
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
into /etc/X11/config

and the problem will be sorted out.

Cheers,
Frankie

p.s. I typed this here just to let ppl to search if they haf a similar problem. nonetheless, it'd be great if someone can explain why X defaults the FontPath "unix/:7000"?
 
Old 08-17-2004, 07:18 AM   #13
stevo707
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Quote:
p.s. I typed this here just to let ppl to search if they haf a similar problem. nonetheless, it'd be great if someone can explain why X defaults the FontPath "unix/:7000"?

thanks for the tips I had the same problem, and am glad you took the time to document your solution
 
Old 02-24-2006, 01:19 PM   #14
flgal3
LQ Newbie
 
Registered: Aug 2005
Distribution: RedHat Enterprise WS v.3
Posts: 27

Rep: Reputation: 15
in case anyone is wondering - port 7000 is the default port used by the x font server.
 
Old 04-03-2006, 10:59 PM   #15
ragiv
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
These things solve someone problems! But I tried in many ways but still problems ongoing.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI would not load, stops loading before login screen jeffshen Mandriva 8 05-13-2005 12:51 PM
Login fails - being taken back to login screen donhare Mandriva 3 11-11-2004 04:53 PM
Automatically load up KDE login screen annihilate Slackware 15 05-27-2004 02:18 PM
Mandrake 9.0 Screen Flashing superpug Linux - Newbie 1 11-12-2002 06:48 PM
Screen FLASHING in X gcb Linux - General 1 12-07-2001 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration