File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes XFree86 Error on RedHat 8.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "XFree86 Error on RedHat 8.0" Watch "XFree86 Error on RedHat 8.0" New topic
Author

XFree86 Error on RedHat 8.0

Gagan Indus
Ranch Hand

Joined: Feb 28, 2001
Posts: 346
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


Gagan (/^_^\) SCJP2 SCWCD IBM486 <br />Die-hard JavaMonk -- little Java a day, keeps you going.<br /><a href="http://www.objectfirst.com/blog" target="_blank" rel="nofollow">My Blog</a>
Lewin Chan
Ranch Hand

Joined: Oct 10, 2001
Posts: 214
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 ]

I have no java certifications. This makes me a bad programmer. Ignore my post.
Gagan Indus
Ranch Hand

Joined: Feb 28, 2001
Posts: 346
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

Joined: Oct 10, 2001
Posts: 214

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XFree86 Error on RedHat 8.0
 
Similar Threads
GUI
forgot Linux root password
(Silent) Install of WebSphere 5.0 for Linux S390 on zSeries
FYI: Mandrake 9 vs Redhat 8
Linux on Laptop