LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 02-22-2005, 09:59 PM   #1
theseer540
LQ Newbie
 
Registered: Nov 2004
Distribution: Gentoo, Fedora Core 3, Suse Pro 9.1
Posts: 13

Rep: Reputation: 0
Firefox doesn't start as non-root user!


Hi, I had a similar problem with firefox under gentoo(2004.3 w/ 2.6.10). I have the latest X, KDE, GNOME (as of two weeks ago), and when I got all working and finally set up a non-root username, I found that firefox only ran in root. when I ran it on the terminal (for error messages) it complained, saying:

james@gentoo james $ firefox
/usr/lib/MozillaFirefox/mozilla-xremote-client: Error: Failed to find a running server.
No running windows found

strangely, I got the same message as root, but firefox opens anyway (under root):

root@gentoo james # firefox
/usr/lib/MozillaFirefox/mozilla-xremote-client: Error: Failed to find a running server.
No running windows found

I installed crossover with flash & shockwave, don't know if that messed it up.

HELP!!!
 
Old 02-22-2005, 10:31 PM   #2
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
i see you have a 64 bit cpu, are the oses you are running also 64 bit?
 
Old 02-23-2005, 12:51 AM   #3
DesyphER
Member
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110

Rep: Reputation: 15
I had the same problem quite a while back, I can't remember what i done to resolve it. I was running SuSE 9.1 Personnal at the time. What *I THINK** i done was install it in the default location as root, and give every file in the directory where you installed it read/write permisions. Or i gave more permissions to the non-root user.

Hope this helps, DesyphER
 
Old 02-23-2005, 08:27 AM   #4
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
if you downloaded it and installed it you should use yum or emerge to install, it says you use gentoo and fedora so im not sure which one you are actually on unkless i missed it in your post. Fedora=yum install mozilla-firefox(i think) Gentoo=emerge mozilla-firefox
 
Old 02-23-2005, 09:41 PM   #5
theseer540
LQ Newbie
 
Registered: Nov 2004
Distribution: Gentoo, Fedora Core 3, Suse Pro 9.1
Posts: 13

Original Poster
Rep: Reputation: 0
I tried using chmod and chgrp to fix ownership to group "users" of the important files, but when I check "ls -l foo" the group and username remain "root". Now firefox says as non-root:

bash-2.05b$ firefox
No running windows found

and proceeds to hang, not opening a window, but not freeing up the prompt either. For those who were wondering, this issue is with the Pentium 3 under gentoo (read my signature). The hang doesn't crash my machine, but it just crashes/freezes that xterm session.

P.S I installed firefox with emerge

P.P.S. now as root, there's no error message, but it still doesn't work as a non-root user (grrrr....), same error as above.

Last edited by theseer540; 02-23-2005 at 09:46 PM.
 
Old 02-23-2005, 10:09 PM   #6
theseer540
LQ Newbie
 
Registered: Nov 2004
Distribution: Gentoo, Fedora Core 3, Suse Pro 9.1
Posts: 13

Original Poster
Rep: Reputation: 0
It gets stranger. Typing "firefox" at the prompt doesn't work, but when I looked at the bash script source that is inside of "/usr/bin/firefox", it turns out it calls mozilla-xremote-client and passes the fact that firefox has been called to it. But when I finally found the ACTUAL executable, at /usr/lib/MozillaFirefox/firefox, clicking on it as non-root DOES start it (wtf?), so I guess I could make a new symlink to the executable, but I think that I would lose some functionality that "mozilla-xremote-client" gives.
Advice?
 
Old 02-23-2005, 10:20 PM   #7
theseer540
LQ Newbie
 
Registered: Nov 2004
Distribution: Gentoo, Fedora Core 3, Suse Pro 9.1
Posts: 13

Original Poster
Rep: Reputation: 0
It gets weirder. Clicking on the executable in konqueror only worked when I already had a firefox window open (which had of course, been opened by root). When there isn't one open that doesn't work!!! I get back when I type firefox:

bash-2.05b$ firefox
/usr/lib/MozillaFirefox/mozilla-xremote-client: Error: Failed to find a runningserver.
No running windows found

an when I type "sh /usr/lib/MozillaFirefox/firefox", it hangs. Help!
 
  


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
Firefox works as Root --not as user 1kyle Suse/Novell 2 08-30-2005 04:48 PM
FireFox works for root but not user... cbjhawks Linux - Software 3 12-28-2004 09:56 AM
Using Firefox by user other than root losmescaleros Linux - Software 2 08-20-2004 05:04 PM
Firefox 0.9 only as root user ronronson Linux - Newbie 11 06-17-2004 03:37 AM
Firefox 0.9 only as root user ronronson Linux - Newbie 2 06-16-2004 07:07 AM


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