• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XFree86 Error on RedHat 8.0

 
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I installed RedHat 8.0 linux few weeks back and its x-windows system worked correctly for about 3 weeks, but suddenly today it has started behaving strangely.
The system boots otherwise, but wont be able to start X-window( and my default setting is to boot in graphical mode), following is the messages it prints, in that order :
-----
Cannot start the X-server. It is likely that it is not configured correctly. Would you like to check current settings?
------
Clicking on 'yes' brings next message :
-----
Could not init font path element unix/:7100, removing from list!
Fatal server error: could not open default font 'fixed'
When reporting a problem related to a server crash, please send the full server output, not just the last message. This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org
-----
Clicking next says ;
-----
Would you like me to try to run the xconf program? Note that you will need the root password for this
-----
after this, it asks for root-password at the prompt, and then ;
----
Could not start x-server, trying with fresh configuration.
ddcprob returned bogus-values
blah blah...
blah blah...
----
I havenot changed any hardware( Intel P-III, 128 MB , 40 GB, Intel chipset with onboard graphics card), and yesterday the system was working fine with all the current settings. I wonder what went wrong ?
i am clueless, anyone can shed any lights? then please do.
regards
 
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Gagan,
I'm not any kind of Linux guru, but maybe I can give a nudge in the correct direction.
If I had my IT support hat on, I would have to say that your setup has changed, otherwise it wouldn't have gone wrong
The xfontserver needs to be started before the Xserver... it's configured to listen on port 7100 (from your configuration.)
check it exists for your runlevel /etc/rc.d/rc5.d It will a file Snnxfs where nn is some number. If it doesn't then make a symbolic link for it to the startup script in init.d

If it does exist, then query the service itself by doing

Which should give you a pid number fo the process.
Check /var/log/boot.log for boot-up messages, you may find the xfs has failed for some reason.
brgds
L
[ November 18, 2002: Message edited by: Lewin Chan ]
[ November 18, 2002: Message edited by: Lewin Chan ]
 
Gagan Indus
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thankx Lewin for ur help !
tho i dont understand much about the commands/hints u given me, being a newbie. I just tried to execute them as is and :
ln -s /init.d/xfs S90xfs says FILE EXISTS
whereas the second command
service xfs status says XFS : UNRECOGNIZED SERVICE
and in /var/log/boot.log i found few entries about xfs but without any elaborative message.
well by "make a symbolic link for it to the startup script in init.d" do we mean i need to edit some startup script file in init.d directory ?
well so what u think now...
 
Lewin Chan
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


well by "make a symbolic link for it to the startup script in init.d" do we mean i need to edit some startup script file in init.d directory ?


in a Redhat install /etc/rc.d/init.d contains all the startup scripts. They are simply referred to within each individual run-level (/etc/rc.d/rcX.d). So when I say make a symbolic link it means exactly that...
as root

What does that say ?
if it doesn't say something like xfs(809) running then it isn't running, and you will need to start it.
From the same directory

And it should give you some message about whether it is able to start-up or not.
If it has successfully started up then you need to make sure that the xfs service is start automatically at run-level 5 initialisation.

You seem to be saying that /etc/rc.d/rc5.d/S90xfs already exists. Check the file that this points to the correct file (../init.d/xfs or /etc/rc.d/init.d/xfs). You will see that it's a symbolic link because it will display something like :-

under ls -l
The final thing you can check is to see what port xfs is listening on (and I have found out it may not necessaryily be 7100...)

The entry on one of my redhat installations says

if that helps you any.
Other than that, I don't know what to suggest, you could try some of the linux forums directly.
brgds
Lewin
reply
    Bookmark Topic Watch Topic
  • New Topic