LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-06-2010, 08:48 AM   #1
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Rep: Reputation: 15
Firefox Only Runs as root


This is on RedHat EL 5.2. I extract the tar.bz2 file downloaded from Mozilla's site, and drop it in user/firefox. I try to run Firefox, from a launcher I made, and nothing happens. I use the root terminal, and cd to the firefox directory, and run ./firefox, and it opens. The user owns all of the files and directories, but it still won't work unless I'm root. How do I fix this one?
 
Old 05-06-2010, 09:37 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Do not know if it works fore REL
But I do not like to install it system wide than I extract it as user in my home dir and run it from there.
 
Old 05-06-2010, 11:17 AM   #3
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Firefox is developed for RHEL.......
 
Old 05-06-2010, 11:19 AM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by athomas View Post
Firefox is developed for RHEL.......
What do you mean?

It's developed for Linux, by no means for RHEL specifically.
 
Old 05-06-2010, 11:20 AM   #5
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by MTK358 View Post
What do you mean?

It's developed for Linux, by no means for RHEL specifically.
Ok, Firefox is installed by default with RHEL. It's made to work with RHEL.
 
Old 05-06-2010, 11:21 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by athomas View Post
This is on RedHat EL 5.2. I extract the tar.bz2 file downloaded from Mozilla's site, and drop it in user/firefox. I try to run Firefox, from a launcher I made, and nothing happens. I use the root terminal, and cd to the firefox directory, and run ./firefox, and it opens. The user owns all of the files and directories, but it still won't work unless I'm root. How do I fix this one?
Have you tried opening it from the terminal as non-root?
 
Old 05-06-2010, 11:21 AM   #7
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Yeah it just returns me back to the prompt after I try and run is as the regular user.
 
Old 05-06-2010, 11:23 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Does it leave any error messages?
 
Old 05-06-2010, 11:23 AM   #9
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
None at all.
 
Old 05-06-2010, 11:31 AM   #10
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
Chmod it
 
Old 05-06-2010, 11:32 AM   #11
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Tried it, it's in the /home/ folder under the user in question so it's not that. The user automatically owns and has full access to anything in its home folder.
 
Old 05-06-2010, 11:40 AM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
try
Code:
mv ~/.mozilla ~/.mozilla_OLD
start firefox
make sure ~/.mozilla is owned by the user

Last edited by repo; 05-06-2010 at 11:44 AM.
 
Old 07-11-2010, 11:43 AM   #13
liderbug
LQ Newbie
 
Registered: Apr 2004
Location: Colorado
Distribution: Linux
Posts: 20

Rep: Reputation: 0
Only root can run firefox, user won't

I just UG'ed to FC13 and root can run firefox, but not as me(user) - just returns to the prompt. After some searching I found: (in .mozilla) mv firefox old.firefox then run firefox - it will rebuild a new subdir. I did, it does and FF fires right up - sans all history/bookmarks etc. I have compared old.dir vs new and am not finding any differences in permission, ownership. If someone can tell me how to get my 409 entries transferred to the new I'll go away - happy.

Thanks
 
Old 04-24-2012, 10:34 PM   #14
joshuagahan
LQ Newbie
 
Registered: Apr 2012
Distribution: Debian
Posts: 1

Rep: Reputation: Disabled
Thanks

Thank you Thank you Thank you. That was exactly what I needed to fix a problem I've been working on for an hour. Now my fox isn't running as root
 
  


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
Two scripts, one runs with the other only runs as root halfpower Slackware 8 04-11-2009 04:05 PM
what release of firefox runs on mandrake 10.1? numero7 Mandriva 7 10-29-2007 06:39 PM
x only runs in root Bigfut Red Hat 1 08-19-2004 02:43 AM
Firefox only runs as root Rundi Linux - Software 6 03-13-2004 12:28 AM
Eterm 0.9.2 runs only as root! Mysterious Alan Slackware 3 09-29-2003 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:59 AM.

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