DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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?
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:
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
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>
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!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.