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

Notices


Reply
  Search this Thread
Old 01-13-2005, 06:13 AM   #1
bru
Member
 
Registered: Sep 2003
Location: South Carolina
Distribution: Ubuntu, CentOS, BT4, Debian
Posts: 132

Rep: Reputation: 15
firefox error in sarge


After removing mozilla 1.7 with "apt-get --purge remove" and removing the other files/folders that were scattered around my hard drive I attempted to install Firefox. But I first read the post form seaching this form. I found out that it might be best to install libgtk2.0-common before installing Firefox, so I did. But it would not start after I attempted to start it from the command line. So I checked the posts again, and found one that said to run: "xhost +localhost" this gave me no errors, (I ran it as a user not root, if that makes a diffrence). then tried it again, still no dice. So I "apt-get --purge remove" and tryed again. Yet again no dice.

The error that was printed out was:
Code:
Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client!

(firefox-bin:2568): Gtk-WARNNING **: cannot open display:
Any pointer would be great, Thanks.


P.S. Google didn't help much
 
Old 01-13-2005, 10:16 AM   #2
redgren
Member
 
Registered: Nov 2004
Distribution: Debian,Homebrew
Posts: 54

Rep: Reputation: 15
There was a problem, I recall vaguely, with firefox needing to run the first time as root on some distributions. I think it was Suse, but can't remember.

Anyway, you are the same user in the shell as you started X with?

what does 'echo $DISPLAY' give you?
 
Old 01-13-2005, 03:44 PM   #3
bru
Member
 
Registered: Sep 2003
Location: South Carolina
Distribution: Ubuntu, CentOS, BT4, Debian
Posts: 132

Original Poster
Rep: Reputation: 15
Yes I am the same user that I started X with as I am in the shell. I'll try the root thing when I get home from work.

echo f$DISPLAY= :0.0
Thanks for the help
 
Old 01-14-2005, 09:17 AM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Here's another thread that discusses a similar problem:
http://www.linuxquestions.org/questi...hreadid=275613
 
Old 01-15-2005, 05:38 AM   #5
bru
Member
 
Registered: Sep 2003
Location: South Carolina
Distribution: Ubuntu, CentOS, BT4, Debian
Posts: 132

Original Poster
Rep: Reputation: 15
Dead Parrot,

I actully followed that exact post a while back when I first encountered the problem. But It didn't help much. I even went a few steps futher, I removed every instance of mozilla from the computer after an 'apt-get --purge remove' as well as I have never looged on as root.
Any other ideas??? They would be greatly appricated.

<edit>
I just removed firefox again and reinstalled it, I even rebooted the computer after the removal and install, and still no dice! Then I loged on as root and tryed to run firfox, it gave me the same errors as before. Has anyone seen this before? Dose any one have any other sugestions that might be helpfull. Thanks a lot.

Code:
Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client!

(firefox-bin:2568): Gtk-WARNNING **: cannot open display:
(^^ the error code that it gives me)
</edit>

Last edited by bru; 01-15-2005 at 06:50 AM.
 
Old 01-15-2005, 08:53 AM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Well, the error message seems to refer to some kind of X authorization problem, like if you're running Firefox as a different user than the user who started the X session. Maybe you should run "w" (yes, it's a one letter long command) to see the users who are currently logged in? "ps -ef" and "pstree -u" might also become useful in studying user authorization for different currently running processes.

I haven't personally had any problems with Firefox in Debian Sid, so maybe the problem has something to do with your previous Mozilla installation? I think Mozilla is pretty closely integrated with Gnome. Is it possible that you still have some Mozilla settings left in some Gnome related subdirectory in your home directory and these interfere with Firefox? Maybe you should remove Firefox one more time, do "updatedb" and then "locate ozilla" to find all Mozilla related files that the --purge option has actually left behind?

You might also want to check out the bug reports for the Firefox package to see if someone else has reported a similar problem. Sometimes these bug reports contain temporary workarounds for specific problems.
http://bugs.debian.org/cgi-bin/pkgre...ozilla-firefox
 
Old 01-15-2005, 06:55 PM   #7
bru
Member
 
Registered: Sep 2003
Location: South Carolina
Distribution: Ubuntu, CentOS, BT4, Debian
Posts: 132

Original Poster
Rep: Reputation: 15
Dead Parrot,

I'll give the re-remove thing a go, and if still no dice I'll look and see if there is a bug reported or not. As far as users go I'm the only one loged in, even after I install firefox I exit from 'su'. But any how I'll also look into the 'sp -ef' and 'pstree -u' as well. Thanks again for the help.

<edit>
I checked bugzilla and found out that the problem is an actual bug,
bug #246313. There was a .bz2 file there that I'll check at home, I'm at work right now so I don't have the ability to view the file.
</edit>

Last edited by bru; 01-15-2005 at 07:12 PM.
 
Old 01-16-2005, 07:41 AM   #8
bru
Member
 
Registered: Sep 2003
Location: South Carolina
Distribution: Ubuntu, CentOS, BT4, Debian
Posts: 132

Original Poster
Rep: Reputation: 15
FIXED!!!

When I got home form work tonight I tryed what Dead Parrot said, and 'updatedb' then 'locate mozilla'. And while digging through the output I couldn't remember if firefox was loaded or not, so I ran the command 'firefox' and lo and behold it works!!!

Thanks everyone that gave me a hand fixing this!
 
  


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
Firefox 1.5rc3 Sarge is available at backports.org cddesjar Debian 4 12-05-2005 05:27 PM
Firefox 1.5 Sarge cddesjar Debian 2 12-01-2005 07:56 PM
Debian Sarge, Firefox, and RealPlayer farpoint Debian 4 07-17-2005 05:51 PM
Debian Sarge + Firefox lPrentice Linux - Software 5 05-25-2005 01:47 PM
Upgrading to Firefox 1.0 on sarge, conflict with gnome??? R00ts Debian 11 11-21-2004 06:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:46 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
Open Source Consulting | Domain Registration