SUSE / openSUSEThis Forum is for the discussion of Suse 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 a normal install attempt with Firefox and Thunderbird, I get this message:
xlib: :connection to :0.0" refused by server"
xlib: authorization key matches an existing client
My translation: it doesn't like kmail or Konqueror
I much prefer Firefox/Thunderbird how do I correct the situation
Go into yast & add kernel sources.
in yast go to YOU & do update & select kernel update.
go into Yast, add S/W & add firefox & Tbird
go into You & do another update.
This gets you the latest & greatest!
0.0 refused by server = caused by not having kernel sources that match kernel.
Snakedriver
I'm not sure if the SUSE 9.1 CD's come with Thunderbird and Firefox on them, but you're better off setting up YAST to update over FTP anyway. Once you get that working, You can just search for TB and FF in the list, check the boxes next to them, and hit "Accept."
I don't recall exactly how to setup YAST with FTP. Hang on a second.
By the way, I think the original issue involving Xlib can be fixed by executing:
xhost +
as root. I don't know exactly what this does, and I hear it may be a security risk-- I think it allows different users to connect to your X server, which could be bad. (Rogue xclock processes? I don't know.) Anyway, it works.
This happened to me when I was installing Thunderbird the other day. I found a thread on the SuSE mailing list. Here's what to do:
open terminal in the Thunderbird directory (or Firefox).
change to root (su and password)
enter "xhost +"
run thunderbird "./thunderbird"
close thunderbird
enter "xhost -"
exit from root
No one knows why this works, but from then on, Thunderbird (or Firefox) should run just fine. It did for me and several people on the SuSE mailing list thread. As for the security risk, you're only open from the time you enter "xhost +" to "xhost -", then you're back to normal, so it shouldn't be a problem. Good luck.
I tried your idea and it worked perfectly. Just for the sake of silliness, how would a person go about installing a program icon for Tbird or Firefox on the desktop using xhost???
You should not need to do anything with xhost anymore. Once you've done it, Firefox and Thunderbird should work like normal, and messing with that, or running "xhost +" and not returning to normal with "xhost -" can cause some security issues, as mentioned by pingswept.
Here's how to install icons on the desktop (assuming you're using KDE 3.2):
right-click on the desktop where you want the icon
choose Create New > File > Link to Application
In the dialog box that comes up, you want to change 3 things: name, command, and the icon (optional)
name: name it Firefox, or whatever you want
command: under the application tab, put the path to Firefox in the "command" box (you can use the Browse button to find Firefox)
icon: on the opening page of the dialog box, there is a button with a gear icon in it. Click on that button, choose "other icons," and browse to find the ones that came with Firefox (if I remember correctly, they are in /chrome/icons or something like that in the Firefox directory). Or you can put something else there; it's up to you.
You can also drag the icon down to your taskbar, if you want a link to Firefox down there (this is my preference).
I guess the whole problem with firefox and thunderbird is due to some initial configurations, that want to be performed as root. That's why you need to run them as root the first time only. But then you run into this security feature, that does not allow root to access the x server. For this purpose you need to use the xhost function (or an ssh console, or kdesu, I think it does not matter).
To all who are interested in this issue, have a look here:
Running SUSE Enterprise Server 9.1 here.
I also had trouble installing firefox in Xterm while logged in as root. I would receive the error message:
<
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(firefox-installer-bin:9104): Gtk-WARNING **: cannot open display:
<
I tried the xhost + trick, but that didn't work! I received a similar error message when attempting that command.
<
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xhost: unable to open display ":0.0"
<
I was finally able to install it without any problems by running kdesu /path/firefox-installer
AFter I managed to get it installed, I could not launch it from xterm!
Error:
<
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(firefox-bin:9617):Gtk-WARNING **:cannot open display:
<
Any ideas why I couldn't launch the installer through xterm or why I can't launch the browser through xterm?
I did get the browser working by creating a desktop shortcut.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.