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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-01-2004, 06:36 PM
|
#1
|
Member
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114
Rep:
|
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.
|
|
|
10-01-2004, 06:55 PM
|
#2
|
LQ Newbie
Registered: May 2004
Location: Delaware, USA
Posts: 8
Rep:
|
where is it installed?
|
|
|
10-01-2004, 06:56 PM
|
#3
|
Member
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114
Original Poster
Rep:
|
arne@linux:~> whereis firefox
firefox: /usr/bin/firefox /opt/MozillaFirefox/bin/firefox.sh
standard installation from rpm, exactly the same as on the server
|
|
|
10-01-2004, 07:03 PM
|
#4
|
Member
Registered: May 2003
Location: Mt. Prospect, Illinois
Distribution: Fedora Core 2, SuSE 9.1 Professional
Posts: 189
Rep:
|
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.
|
|
|
10-01-2004, 07:15 PM
|
#5
|
Member
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114
Original Poster
Rep:
|
I just tried it but it doesn't change anything.
I've just tried mozilla and that has the same problem
|
|
|
10-01-2004, 07:21 PM
|
#6
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
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.
|
|
|
10-01-2004, 07:24 PM
|
#7
|
Member
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114
Original Poster
Rep:
|
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.
|
|
|
10-02-2004, 01:56 AM
|
#8
|
LQ Newbie
Registered: Aug 2003
Distribution: Gentoo
Posts: 19
Rep:
|
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?
|
|
|
10-02-2004, 05:30 AM
|
#9
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
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).
|
|
|
10-03-2004, 10:27 AM
|
#10
|
LQ Newbie
Registered: Aug 2003
Distribution: Gentoo
Posts: 19
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|