LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2004, 04:32 PM   #1
TSynergy
Member
 
Registered: Aug 2003
Location: Georgia U.S.A.
Posts: 101

Rep: Reputation: 16
Firefox available to root and users - how?


Hi Richard and other linux expert

How do I make firefox available to all users including root?
The firefox files and folders in localhost:/home/tsynergy/

are:

firefox-1.0.installer.tar.gz
firefox_files
firefox-installer

Tj
 
Old 11-26-2004, 04:39 PM   #2
LucidParody
Member
 
Registered: Jul 2004
Distribution: SuSe 10 OSS
Posts: 45

Rep: Reputation: 15
you probably want to run the firefox installer from within the firefox-installer directory. it will take care of the rest.
 
Old 11-26-2004, 11:44 PM   #3
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 19 86_64
Posts: 355

Rep: Reputation: 32
Hello TSynergy,

Did you installed Firefox from the "root" folder?

With kind regards,

Richard
 
Old 11-27-2004, 01:40 AM   #4
TSynergy
Member
 
Registered: Aug 2003
Location: Georgia U.S.A.
Posts: 101

Original Poster
Rep: Reputation: 16
Hi

I installed Firefox from within a user folder. I downloaded to a user's desktop and from their it installed into /home/tsynergy/. That user's browser is Mozilla Firefox. But when I change to root user, the brower becomes Mozilla.
 
Old 11-27-2004, 03:21 AM   #5
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
You should install firefox as the root user into the folder /usr/local/firefox. Running the firefox installer as root will take care of this.

Then you should create a symbolic link to firefox in /usr/bin (Assuming you installed into /usr/local/firefox):
Code:
ln -s /usr/local/firefox/firefox /usr/bin
Now all users on you machine (Including root) should be able to run firefox using the command "firefox" in an xterm.

I hope this helps
--Ian
 
Old 11-27-2004, 03:05 PM   #6
TSynergy
Member
 
Registered: Aug 2003
Location: Georgia U.S.A.
Posts: 101

Original Poster
Rep: Reputation: 16
Thanks. I installed it in /usr/local/firefox as suggested. However, I didn't catch the meaning of this: 'using the command "firefox" in an xterm.'. Please elaborate.

Tj
 
Old 11-27-2004, 03:27 PM   #7
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Rep: Reputation: 30
Quote:
Originally posted by IBall
You should install firefox as the root user into the folder /usr/local/firefox. Running the firefox installer as root will take care of this.

Then you should create a symbolic link to firefox in /usr/bin (Assuming you installed into /usr/local/firefox):
Code:
ln -s /usr/local/firefox/firefox /usr/bin
Now all users on you machine (Including root) should be able to run firefox using the command "firefox" in an xterm.

I hope this helps
--Ian

WHY doesn't anybody use rpms or source-rpms anymore??? waah!


http://rpm.pbone.net/index.php3/stat....i586.rpm.html
 
Old 11-27-2004, 03:42 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
You can still use rpm's. But some rpm's cut out some useful tools that the source provides. With the version of firefox rpm I tried it had removed the update option under perferences. Ended up removing the rpm and reinstalled the source.

Brian1
 
Old 11-27-2004, 09:52 PM   #9
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Quote:
Originally posted by TSynergy
Thanks. I installed it in /usr/local/firefox as suggested. However, I didn't catch the meaning of this: 'using the command "firefox" in an xterm.'. Please elaborate.

In an xterm (Konsole, command window, or the run command box (Alt-F2)) simply type "firefox" to start firefox.

--Ian
 
Old 11-27-2004, 11:09 PM   #10
robodude
Member
 
Registered: Jan 2004
Location: no where
Distribution: iv gone through 5 in the las 2 days
Posts: 66

Rep: Reputation: 15
you can also put it on the menu using kmenu editor just go to internet menu make new app and in the comand space type fire fox this will make it eiser to start

if ur using kde because gnome sux
 
Old 11-28-2004, 01:31 PM   #11
SlowMindThinkin
Member
 
Registered: Sep 2004
Posts: 144

Rep: Reputation: 15
I did the same thing as TSynergy, so I switched desktops and logged in as root. I then installed Firefox, and created the link to /usr/bin as shown. I then tried to open firefox in a Konsole window. As myself (not root) I get:
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

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


As root I got
Xlib: connection to ":2.0" refused by server
Xlib: XDM authorization key matches an existing client!

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


I assume this means I have to uninstall the Firefox I'm running right now?

And, how does one find this kmenu editor. I'm using Suse and can not find it.
 
Old 11-28-2004, 04:32 PM   #12
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
So you installed it to /usr/lib/firefox?

Does it run there /usr/lib/firefox/firefox?

Did you create the link as a soft link? Ex: ln -s /usr/lib/firefox/firefox /usr/bin/firefox

To get to Kmenu type ' kmenuedit '
Should also be in your Control Center / Desktop / Panels / option button says ' Edit K Menu ' may depend on version of KDE.

Never seen that error before.

Brian1
 
Old 11-28-2004, 09:34 PM   #13
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
I think that error is just that your root user can't connect to the x display.

Try logging out (all users) and startx as root. Then try running firefox again, and (hopefully) it should start.

I hope this helps
--Ian
 
Old 11-28-2004, 10:37 PM   #14
SlowMindThinkin
Member
 
Registered: Sep 2004
Posts: 144

Rep: Reputation: 15
I installed it in /usr/local/firefox, as described earlier. I also have the same soft link. I don't seem to have all the necessary permissions, as I get this message:
Extension System Warning: Failed to set up default extensions files probably because you do not have write privileges to this location. While you can run Firefox like this, it is recommended that you run it at least once with privileges that allow it to generate these initial files to improve start performance. Running from a disk image on MacOS X is not recommended.

I assume that is because only root has write priviledges in /usr/local

I logged in as my wife, and then the command fails, regardless of if I am logged in or not, with the same message I got earlier.

I am thinking that it works for me because I have a profile set up already. I am considering blowing it all away and reinstalling.
 
Old 11-28-2004, 10:58 PM   #15
SlowMindThinkin
Member
 
Registered: Sep 2004
Posts: 144

Rep: Reputation: 15
Just for fun I tried the rpm link above and installed it with Yast. It seemed to go ok, but I can't find it, either.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
making firefox available for all users sukimac Linux - Newbie 5 09-26-2005 10:05 PM
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 09:32 AM
Firefox settings for multiple users ice_hockey Linux - Software 1 04-01-2005 08:06 AM
Different video drivers are loaded for root and non-root users triet Linux - Software 1 12-31-2004 03:20 PM
Firefox problems with other users Russb Linux - Newbie 6 07-21-2004 06:34 AM


All times are GMT -5. The time now is 08:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration