Friday, February 11, 2005

Solution to Firefox Problem - XDM authorization

Problem:
$ ./firefox
Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client
(firefox-bin:4083): Gtk-WARNING **: cannot open display

Where did I encounter: My officemate has this problem (on his Suse 9.0 - 64 bit).

(Possible/Google-recommended) Solution Idea: Run firefox as root once (preferably first time).

Solution Steps:
(Commands as root are in Red, those as user are in black)
As the user, in the firefox directory
$ xhost +
$ su
< give root password >
# ./firefox
< if firefox starts succesfully, close it and continue >
# exit
$ xhost -
$ ./firefox

If any of the steps fail, then there might be a different problem. Try Googling again.

3 comments:

chak said...

Ki bepaar? Blog e trouble shooting comments posted keno?

dBera said...

Yikes!!! Do you check my blog everyday ? (or are you subscribed to the RSS feed of my blog, if there is any)... Its just that my office mate mailed me the problem ... seems this is a problem with many users ... but searching with the normal keywords dont give you any information (about the problem) except that its a common problem. So, I put this up in a blog - hopefully google will index it better (notre the title and first few words of the blog) and people will find their solution early.

hescott said...

Thanks D, it worked. I needed one small adjustment. I needed to completely remove firefox and start again, probably an error on my end. Final Solution...

remove firefox completely (I needed to do this as root since one fix had been installed as root.) This is the only command I did as root all others done as normal user.

xhost +
tar -xzvf "firefox file"
cd firefox-installer
./firefox-installer

(after it finishes and launches - closed out - needed to hit enter to end terminal program)

xhost -


Worked perfectly.

Post a Comment