Problem installing Firefox in SuSE 9.1

BZeto

Platinum Member
Apr 28, 2002
2,428
0
76
After extracting the tar and running the installer I get this error in the konsole:

** (firefox-installer-bin:5186): WARNING **: Invalid UTF8 string passed to pango_layout_set_text()

** (firefox-installer-bin:5186): WARNING **: Invalid UTF8 string passed to pango_layout_set_text()

** (firefox-installer-bin:5186): WARNING **: Invalid UTF8 string passed to pango_layout_set_text()

** (firefox-installer-bin:5186): WARNING **: Invalid UTF8 string passed to pango_layout_set_text()
tyler@linux:~/Documents/firefox-installer> Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client!

(firefox-bin:5218): Gtk-WARNING **: cannot open display


And when I try to run firefox I get this:
Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client!

(firefox-bin:5267): Gtk-WARNING **: cannot open display:

I'm a linux noob, can someone help me?

 

HKSturboKID

Golden Member
Oct 20, 2000
1,816
0
0
did you login to root first then do the install?

I just install suse 9.1 last night and downloaded the package from mozilla and then switch to root and installed it and everything ran fine.
 

BZeto

Platinum Member
Apr 28, 2002
2,428
0
76
Yeah I just tried it as root and I get the same thing. Grrr, linux is frusterating... Maybe I'll use another distro, I'm not liking SuSE.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
There is a X authentication error.

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

Sometimes you can't run GUI apps as a different user from your normal user (like if your running it as su or root)

It's one of those things. X Windows is designed for networking and authentication issues can cause issues like this. I did a quick search in google like this:
firefox "Xlib: XDM authorization key matches an existing client! "
(with qoutes so that I look for that phrase rather then the individual words)

Which I found this page:
http://luni.org/pipermail/luni...-September/017501.html

It's from a mailing list, sombody with Suse asked the same question as you and the person replying told them to check out here:
ftp.suse.com/pub/projects/mozilla/firefox/README-0.9.x

Which doesn't exist anymore, but that's not a big deal because they showed how to fix it in the mailing list.
This is his reply:
Are you by chance running SuSE? The following is quoted from:
ftp.suse.com/pub/projects/mozilla/firefox/README-0.9.x

"Because of missing registration features in firefox 0.9.x you have
to start firefox as root the first time after installation.

If you get a message like
-----8<------------------snip--------------8<--------------
Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client!
----->8------------------snap-------------->8--------------

you have to disable the X authorization with command
'xhost +' and startup firefox.
After the initial startup you can close your X session
again by 'xhost -' and you should be able to start firefox
from now on without problems."

However you may not have to do that.

If you go and check out suse's FTP site, they have RPMs for Firefox, so that you can use those to install Firefox, instead of the actuall installer from mozilla.com.
if you go:
<a target=_blank class=ftalternatingbarlinklarge href="ftp://ftp.suse.com/pub/projects/mozilla/firefox/1.0rc2/">ftp://ftp.suse.com/pub/proj......la/firefox/1.0rc2/</a>

There are some directories, in those directories you'll find the various rpm packages for Firefox 0.10rc1 for your particular flavor of Suse.

Also in the future I beleive you can setup Yast to automaticly go to one of Suse's mirrors to make it easy to install packages over the internet.

edit:
Rpms are redhat package manager packages and they are the standard things you use when you need to install software packages for Redhat/Fedora/mandrake/Suse and others. Although rpms not from your flavor of Distro probably won't work on your OS.
 

BZeto

Platinum Member
Apr 28, 2002
2,428
0
76
Hey thanks drag!
I just did "xhost +" which allowed me to launch Firefox, then I did "xhost -" after closing firefox and I can still reopen it. What exactly does xhost do? Something with authentication?

Btw, is there a certain way I can add Firefox to SuSE's 'start menu'? I dont see it on there and I dont suppose newly installed programs are automatically added to the menu like in windows.
Right now I am just navigating to the firefox folder (in /home/me/Documents/) and typing './firefox' to run it.

Thanks.
 

HKSturboKID

Golden Member
Oct 20, 2000
1,816
0
0
What I did was right click on a blank space on the desktop, select create, file, link to application and browse the the firefox folder and look for the script file. Also click on the icon and browse to the same folder and into the icon folder for the firefox folder.
 

BZeto

Platinum Member
Apr 28, 2002
2,428
0
76
Originally posted by: HKSturboKID
What I did was right click on a blank space on the desktop, select create, file, link to application and browse the the firefox folder and look for the script file. Also click on the icon and browse to the same folder and into the icon folder for the firefox folder.

Thanks
 

Zelmo3

Senior member
Dec 24, 2003
772
0
0
You can do the same thing on the quick-launch bar to add an icon there. If you're using KDE, the K-menu editor will let you add an entry to the start menu.
Really, the easiest way would have been to install the package made by SuSE. That would create icons for you and wouldn't have problems launching. Firefox is included in the distro, and updating it to the latest version is a no-brainer using Yast Online Update.