Comment 26 for bug 7022

Revision history for this message
In , Jon DeVree (jadevree) wrote : Re: Bug#259215: mozilla-firefox: firefox fails to start with 'Xlib: connection to ":0.0" refused by server'

Bug #246313 in bugzilla is probably this same problem
http://bugzilla.mozilla.org/show_bug.cgi?id=246313

For me it happens if I'm logged in via XDM and lack a firefox profile
when I start it. After the profile is created I have no problems.

The problem arises from the existance of an XDM-AUTHORIZATION key in my
.XAuthority file when I log in via XDM. If I remove that key (even
logged in through XDM) the bug won't show up.

Simon Bowden's fix in comment #12 on bugzilla also fixes the problem if
I start firefox without a profile and the XDM-AUTH key exists.
His fix is running it as:
XRE_IMPORT_PROFILES=1 firefox

--
Jon
"Bless this, O Lord, that with it thou mayst
blow thine enemies to tiny bits, in thy mercy."