LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-02-2004, 07:32 AM   #1
graffitici
Member
 
Registered: Jun 2003
Location: Istanbul - Turkey
Distribution: Fedora, Gentoo
Posts: 150

Rep: Reputation: 15
X Window Software won't open on Redhat9


Hi,

I have an interesting problem that keeps me from using my beloved linux system. Sometimes when I am using my RH9 system, the X Window applications cannot be opened. When I try launching one from the K menu, the cursor changes to the icon of the program, and returns to normal after a little while. No matter how long I wait it doesn't open. When I try launching an app from the console, I receive the following error:
[/tmp]: xpdf
Error: Can't open display: :0

Similarly, when I type xvinfo, I receive the following error:
[/tmp]: xvinfo
xvinfo: Unable to open display :0

Then I try to logoff in order to restart the pc. That's when I receive another error saying it is impossible to connect to the X server and whether I want to see the log file. Finally, being overwhelmed by all these errors I find solace in the three finger salute which makes the penguin reboot in agony (I hate to close a linux os. It doesn't feel right. I think there shouldn't be an such an option, and the only way to do that must be to press the restart button on the case.)

As you see I am in pain. These singularities happen in an entirely arbitrary fashion, and sometimes they don't even though the computer is left open for a long time.

Where do you suspect the problem is? Is it the X server?
Should I provide more information? If yes, how?

Thanks for your time and concern,
bibby
 
Old 01-02-2004, 08:05 PM   #2
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
Can you please post the contents of the logfile it asked you to view?
 
Old 01-03-2004, 02:05 PM   #3
graffitici
Member
 
Registered: Jun 2003
Location: Istanbul - Turkey
Distribution: Fedora, Gentoo
Posts: 150

Original Poster
Rep: Reputation: 15
It seems that the cause of the problem is a font. The log file says that a font is corrupt.
Also I have to point another peculiarity. When I shut down the computer, RH tries to stop an application called Cannaserver.
When I restart when this curious bug happens, the stopping cannaserver item states:
Cannot connect with cannaserver unix. [FAILED]

Any ideas now? Can fonts go bad? I am new to linux but I have a lot of experience with windows. And in windows, fonts never go bad!

What shall I do?

Thanks!
 
Old 01-04-2004, 05:29 PM   #4
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
It couldn't hurt to reinstall the package that the font is from, but I'd be surprised if a font is enough to keep X from starting. Just because somehing is the last line doesn't mean it's the cause of the problem. If you could still post the last 50 or so lines from the logfile, that'd be great.

As for the cannaserver, it sounds like something in your startup scripts. I'm on Slack, not Redhat, so I'm not sure where they are for you (try /etc/init.d/ maybe?). You'll want to go through and comment out (put a # at the beginning of the line) all references to cannaserver in those.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help: Free Software vs. Open Source Software General_Tso Linux - General 13 12-17-2005 10:49 PM
The Wine bottle won't open on RedHat9!! Marc L. Linux - Newbie 6 09-26-2005 07:11 AM
software for login Redhat9 oosdh407 Linux - Software 2 05-16-2005 03:01 AM
Javascript - what to use rather than window.close() then window.open() davee Programming 2 04-11-2005 09:28 AM
open in same window burnt_toast Fedora 6 09-29-2004 12:45 AM


All times are GMT -5. The time now is 04:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration