LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-28-2004, 09:28 PM   #1
Monica976
LQ Newbie
 
Registered: Oct 2004
Location: Shoreview Mn
Distribution: Suse Personal 9.1/Linspire 4.5.499
Posts: 16

Rep: Reputation: 0
Question Thunderbird/Firefox Installation


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

Monica >
 
Old 10-28-2004, 10:18 PM   #2
snakedriver
Member
 
Registered: Nov 2003
Location: North East Arkansas
Distribution: Suse 9.2 x86-64
Posts: 59

Rep: Reputation: 15
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
 
Old 10-28-2004, 10:27 PM   #3
Monica976
LQ Newbie
 
Registered: Oct 2004
Location: Shoreview Mn
Distribution: Suse Personal 9.1/Linspire 4.5.499
Posts: 16

Original Poster
Rep: Reputation: 0
Re: Install Thunderbird

Cool! Thanks snakedriver!!!

Monica
 
Old 10-31-2004, 06:11 PM   #4
Monica976
LQ Newbie
 
Registered: Oct 2004
Location: Shoreview Mn
Distribution: Suse Personal 9.1/Linspire 4.5.499
Posts: 16

Original Poster
Rep: Reputation: 0
Hi snakedriver,

You say to go into Yast, add S/W & add firefox & Tbird. How? Use install softare? How to add Firefox and Thunderbird.

Much thanks in advance!

Monica
 
Old 10-31-2004, 08:10 PM   #5
pingswept
Member
 
Registered: May 2003
Location: Cambridge, MA
Distribution: SuSE, RedHat, and OpenBSD
Posts: 116

Rep: Reputation: 15
Use "Install and remove software" in YAST.

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.
 
Old 10-31-2004, 08:15 PM   #6
pingswept
Member
 
Registered: May 2003
Location: Cambridge, MA
Distribution: SuSE, RedHat, and OpenBSD
Posts: 116

Rep: Reputation: 15
OK, here's how you update over FTP:

In the first YAST panel, hit "Change Source of Installation."

Then hit "Add."

Select "FTP."

Enter (for example) "ftp.suse.com" for the server name and "pub/suse/i386/9.1/" for the directory on the server. Omit the quotes.

You may need to hit "Enable or disable" as well-- I don't recall if new sources are enabled automatically upon creation.

Good luck.
 
Old 10-31-2004, 08:17 PM   #7
pingswept
Member
 
Registered: May 2003
Location: Cambridge, MA
Distribution: SuSE, RedHat, and OpenBSD
Posts: 116

Rep: Reputation: 15
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.
 
Old 11-01-2004, 04:49 PM   #8
kshaffer
Member
 
Registered: May 2004
Location: Chicago, IL
Distribution: SuSE Linux Professional 9.1
Posts: 50

Rep: Reputation: 15
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.
 
Old 11-01-2004, 08:40 PM   #9
Monica976
LQ Newbie
 
Registered: Oct 2004
Location: Shoreview Mn
Distribution: Suse Personal 9.1/Linspire 4.5.499
Posts: 16

Original Poster
Rep: Reputation: 0
Question Re: firefox/Thunderbird

Hi kshaffer!

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???
 
Old 11-02-2004, 08:53 AM   #10
kshaffer
Member
 
Registered: May 2004
Location: Chicago, IL
Distribution: SuSE Linux Professional 9.1
Posts: 50

Rep: Reputation: 15
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).

Have fun.

Kris
 
Old 11-03-2004, 03:30 AM   #11
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
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:

http://portal.suse.com/sdb/en/2001/06/maddin_xhost.html
 
Old 11-05-2004, 02:49 PM   #12
Wesociety
LQ Newbie
 
Registered: Nov 2004
Posts: 24

Rep: Reputation: 15
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.

Last edited by Wesociety; 11-05-2004 at 02:50 PM.
 
Old 11-06-2004, 07:57 AM   #13
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Did you read the link I provided above? If not, do so, you'll find the answer to your question there.
 
Old 11-06-2004, 09:02 AM   #14
Wesociety
LQ Newbie
 
Registered: Nov 2004
Posts: 24

Rep: Reputation: 15
Sorry! I skipped over your comment here the first time:

Quote:
But then you run into this security feature, that does not allow root to access the x server
Just to clarify, this "issue" (or security feature ) is only specific to the SUSE distribution?

Last edited by Wesociety; 11-06-2004 at 09:04 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox and Thunderbird raysr Mandriva 3 09-04-2005 07:53 AM
Firefox/Thunderbird installation frnklnlb Linux - Software 17 02-05-2005 05:21 PM
Please!!!!Help with Firefox-Thunderbird Lier Linux - Software 3 01-27-2005 08:32 AM
Firefox from Thunderbird tjd Linux - Newbie 4 11-11-2004 08:06 AM
Thunderbird and Firefox, Thunderbird doesnt launch firefox? sovietpower Slackware 1 11-01-2004 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration