Hi Serge,
On Fri, Nov 26, 2004 at 09:46:47AM +0100, Serge Marelli wrote:
I went on the website, downloaded the firefox
installer and "installed"
it (as root) but my other users can't use it. For some reason, it won't
start. It did work when I ran it as the user who installed it (root).
Hmm... where did you install it? Did you install it into root's
home directory, or someplace accessible by every user (/usr/local
for instance)?
I'd like to know the following things in
general:
- do I need to be logged in as root to install firefox on my system?
If it's to be used by every user on the system, definitely yes.
- if not, should be logged in as root to install
firefox on my system?
sux -c "/path/to/firefox-installer"
should do. (sux is a wrapper around su that will properly set what
you need to allow output to your X11 session)
- where should I install firefox? in /usr/local/bin/?
in /opt/ ?
Depends on your distro and your own tastes. I'd put it into /usr/local.
- there are three different users on my system, what
should I do to make
sure they all can use firefox once it's installed?
Install as root into a place that's in the normal PATH, or else add
the path to mozilla-firefox to your $PATH (/etc/profile).
Or to make your life easier, install a package that's ready-made
for your distribution.
About my specific problem, I launched firefox from the
shell and got the
following error message:
<quote>
user@host:~> firefox
Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client!
(firefox-bin:5584): Gtk-WARNING **: cannot open display:
</quote>
That sounds like that user was another one that the one you logged
into your X11 session with. What happens if you do a
export DISPLAY=:0
xauth merge ~loginuser/.Xauthority
mozilla-firefox &
? - you shouldn't get that error.
Btw. I wrote "mozilla-firefox" because that's what the executable
is called here on my Debian installation. I didn't try the installer
which is provided from the website.
Greets & hth, Eric