LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-01-2004, 06:36 PM   #1
fredgt
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114

Rep: Reputation: 15
Firefox not starting as a normal user


Something strange is going on, i have recently installed suse 9.1 on my server (local ftp, http printing,...) and i was very pleased with it so i decided to change my desktop pc also from mandrake to suse. I got firefox working on the server but on the desktop it acts strange. I can't start it as a normal user but when is start is with "sudo firefox" as root it does work. Does anyone know what my problem is, am i missing any access to files i should have access to ?
I've tried different version and all have the same problem.

Last edited by fredgt; 10-01-2004 at 06:39 PM.
 
Old 10-01-2004, 06:55 PM   #2
chrisbkillian
LQ Newbie
 
Registered: May 2004
Location: Delaware, USA
Posts: 8

Rep: Reputation: 0
where is it installed?
 
Old 10-01-2004, 06:56 PM   #3
fredgt
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114

Original Poster
Rep: Reputation: 15
arne@linux:~> whereis firefox
firefox: /usr/bin/firefox /opt/MozillaFirefox/bin/firefox.sh

standard installation from rpm, exactly the same as on the server
 
Old 10-01-2004, 07:03 PM   #4
Bobmeister
Member
 
Registered: May 2003
Location: Mt. Prospect, Illinois
Distribution: Fedora Core 2, SuSE 9.1 Professional
Posts: 189

Rep: Reputation: 30
Try running it from the command line after doing:
xhost +

to allow all users. After that, a key should allow a normal user
to run the program. SuSE will restrict a user on new applications
from using the xhost until THAT appication has been used once
giving him special permission. I don't profess to understand it,
but it usually works.
 
Old 10-01-2004, 07:15 PM   #5
fredgt
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114

Original Poster
Rep: Reputation: 15
I just tried it but it doesn't change anything.
I've just tried mozilla and that has the same problem
 
Old 10-01-2004, 07:21 PM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Firefox has to be run at least once by a user who has write permissions in the folder it is installed in. So you could either run it as root (just once) or
chown -R $USER_NAME /opt/MozillaFirefox
and then after you've run it once
chown -R root:root /opt/MozillaFirefox

I avoid the problem by installing it in my home folder.
 
Old 10-01-2004, 07:24 PM   #7
fredgt
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114

Original Poster
Rep: Reputation: 15
ok i've found the problem and fixed it, somehow the /home/user/.mozilla folder was property of 'root' and not of the user. Everything works after i changed the owner of the folder and subdirectories.
 
Old 10-02-2004, 01:56 AM   #8
sboy
LQ Newbie
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
I'm having the same problem. Unfortunately the solution doesn't seem to work for me. I'm trying to run it on Fedora Core, and tried installing firefox into my home directory, but whenever I try to run it as a normal user Gecko opens up and give the following message

Code:
         title="&mainWindow.title;"
------------------------------^
The file owner on all the files and subdirectories is the normal user. Any suggestions?
 
Old 10-02-2004, 05:30 AM   #9
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
What build is it you're trying to run, is it a nightly build or the 1.0 release candidate? Also, are you trying with a clean profile (delete or rename the .mozilla folder in your home folder before you launch Firefox for the first time, it will create a new, default profile).
 
Old 10-03-2004, 10:27 AM   #10
sboy
LQ Newbie
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
Okay, got it working, thanks for your help. I went in and deleted the ./mozilla directory and now it starts just fine every time. fyi, I'm running the 1.0 Preview Build. Thanks
 
  


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
cant open firefox as normal user silverstormboy Debian 2 01-09-2005 07:58 AM
Starting Firefox 1.0 as user ? CloudyWizzard Debian 2 11-13-2004 10:38 AM
Firefox Won't Work as a Normal User Baryonic Being Linux - Software 3 09-09-2004 02:14 PM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
XScreensaver-demo not starting when normal user ibm5_25 Red Hat 0 11-17-2003 08:26 AM


All times are GMT -5. The time now is 04:54 AM.

Main Menu
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