LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-23-2004, 11:55 AM   #16
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30

WanabeLinus,

it seems there is some issue with firefox.. i m looking into the issue and try to solve this issue.

just u do one thing, paste the permissions detail of firefox. we will try to trouble shoot this issue.

binki39

if you have installed firefox through tar.gz file, why don't you try with RPM and check. by default it set the path with /usr/bin/firefox.just try to install mandrake base RPM if possible.

Just to inform to you guys that i have try to launch as normal user on my RHEL 3 box and it working fine.

Also, i m using OPERA as my defaults browser, i presonaly prefer OPERA it store it's own cache and cookies and much faster then firefox. Of course firefox also, but i have compare both the browser and I would prefere OPERA. you may try with that also. it works fine for both the user(as normal user and root)

-/Hitesh
 
Old 12-23-2004, 12:35 PM   #17
dustu76
Member
 
Registered: Sep 2004
Distribution: OpenSuSe
Posts: 153

Rep: Reputation: 30
In the shell script /usr/bin/firefox (or wherever that file is on your system), there is a line:

#set -x

Uncomment that line by removing the leading "#" for debugging & run firefox from a terminal. You should see the commands scrolling in the terminal. That might give you some clue.

HTH
 
Old 12-23-2004, 01:44 PM   #18
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
WanabeLinus might consider installing with urpmi? In short, bring up the terminal, su to root and type
Code:
urpmi firefox
- I your mirrors are setup correctly, you should download Firefox - maybe not the latest version, but certainly the way the Mandrake guys wanted it installed.
If your package mirrors aren't set up correctly, you should do this with the instructions from EasyURPMI.
 
Old 12-25-2004, 01:39 PM   #19
WanabeLinus
Member
 
Registered: Feb 2004
Location: Toronto Canada.
Distribution: Mandrake linux 10.1 KDE 3.2
Posts: 52

Original Poster
Rep: Reputation: 15
Hi again everyone the help is really great. I did install Firefox 1.0 from a rpm for Mandrake 10.1 but I installed it as user through X see my previious posts. The browser will run fom a terminal but only as root. I wanted to launch the browser form my desktop just the same way I used to start Konqueror. When I try urpmi firefox I get the message package not found. Also it seens that the easy urpmi site is down or at least not responing at this moment I suspect urpmi is not set up properly on my box.
 
Old 01-07-2005, 05:29 AM   #20
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
I had a similar problem to that described above. When I tried to run the 'firefox' binary, it just quit, with no error message (just returned the next line of a shell). When running the firefox-bin binary. it gave the error about libmozjs.so. I altered the permissions on my firefox directory (/usr/local/firefox is where I installed it), and it still had this problem. I tried to find root's .mozilla directory, because it worked when executed as root. There was no such directory /root/.mozilla. So I looked in my home directory, and sure enough, there was a folder .mozilla there, owned by root and with permissions not enabling me to descend it. So I chowned it to myself, and bingo - it worked.

Hope this helps some folks out there.
 
Old 01-07-2005, 07:58 AM   #21
ValidiusMaximus
Member
 
Registered: Mar 2004
Distribution: Debian Sarge
Posts: 169

Rep: Reputation: 30
this hs happened to me in the past..... When i open firefox in a terminal it just fails silently. It does run as root however..... I just end up being stupid and SUIDing Firefox.
 
Old 01-07-2005, 07:58 AM   #22
ValidiusMaximus
Member
 
Registered: Mar 2004
Distribution: Debian Sarge
Posts: 169

Rep: Reputation: 30
Quote:
Originally posted by ho_10
I had a similar problem to that described above. When I tried to run the 'firefox' binary, it just quit, with no error message (just returned the next line of a shell). When running the firefox-bin binary. it gave the error about libmozjs.so. I altered the permissions on my firefox directory (/usr/local/firefox is where I installed it), and it still had this problem. I tried to find root's .mozilla directory, because it worked when executed as root. There was no such directory /root/.mozilla. So I looked in my home directory, and sure enough, there was a folder .mozilla there, owned by root and with permissions not enabling me to descend it. So I chowned it to myself, and bingo - it worked.

Hope this helps some folks out there.
That was the problem!!!!!
 
Old 01-07-2005, 08:01 PM   #23
WanabeLinus
Member
 
Registered: Feb 2004
Location: Toronto Canada.
Distribution: Mandrake linux 10.1 KDE 3.2
Posts: 52

Original Poster
Rep: Reputation: 15
Hey guys thanks for all the input the help is really great. I don't have a .mozzila folder in my home directory? and when I find the directory how do I quote "chowned " the permissions? Is this done in shell only or can it be done using the GUI KDE?
 
Old 01-16-2005, 11:51 AM   #24
newbeatle2001
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
Hi guys,

I am using gnome on Debian Sarge and I had the same problem with firefox. I installed it had an icon to click on did and nothing happened. But when I right-clicked on the icon and went in to settings I could specify the name but also the path. The path was /usr/bin/firefox it should have been /usr/bin/mozilla-firefox. Strange because both of the files really exist.

Hope I could help.
 
Old 01-16-2005, 01:18 PM   #25
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

Rep: Reputation: 15
Yeah I've been struggling with this problem for the past couple days. I want to be able to launch Firefox from the Kmenu just like Konqueror. Firefox only runs as root. I looked in the home folder as suggested above and found the .mozilla folder. To find it, I had to open the view menu and select Show hidden files.

The .mozilla folder is only accessible as root. So if this was the problem for others, I'd bet that this is the problem for me.

So I changed the permissions so that everyone can view and modify content in that folder. Then I tried lauching Firefox through Konsole as a regular user. When I did, this is what I got:
Code:
[toonses82@localhost firefox]$ ./firefox
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
And that just went on forever.

I see above that this is how someone else fixed the problem, but it didn't seem to work for me. What does the above mean? Did I do something wrong?

Last edited by Toonses82; 01-16-2005 at 05:41 PM.
 
Old 01-16-2005, 06:55 PM   #26
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

Rep: Reputation: 15
Has anyone gotten Forefox 1.0 to work as a regular user in Mandrake 10.1?
 
Old 01-17-2005, 07:10 AM   #27
newbeatle2001
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
Toonses82

How do you start firefox?
What are the settings in the icon? (command to start firefox?)

I think it doesn't have to do anything with the permissions because firefox creates a directory called .mozilla in the home dir of the user starting firefox and that user has permission to access files in his or her directory.
 
Old 01-17-2005, 08:44 AM   #28
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

Rep: Reputation: 15
Quote:
Originally posted by newbeatle2001
Toonses82
I think it doesn't have to do anything with the permissions because firefox creates a directory called .mozilla in the home dir of the user starting firefox and that user has permission to access files in his or her directory.
You would think so but it doesn't seem to work that way. I'm no expert but I do know that Firefox runs when I start it as root and does not run when I start it as a regular user. And the .mozilla folder was only accessible as root like the other guy mentioned above. When I changed it to be accessible by all users, as suggested, and started it as regular user, I got the "loading extensions" deal.

To start Firefox after it was installed, I opened a Konsole and logged in as super user. Then I navigated the Konsole to the firefox folder that the install created and typed ./firefox. That worked, but only as a super user.
 
Old 01-18-2005, 01:48 PM   #29
newbeatle2001
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
As I understand you you tried to access the the /root/.mozilla folder. It doesn't make sense though to access that folder with a user-account (not root) because firefox creates an own folder under /home/username/.mozilla/ which is called "firefox". If you want to look for that folder in your home directory then you have to enable "show hidden files" as well.

But try this: type as a normal user "/usr/bin/mozilla-firefox" into a console in KDE.

p.s.: do you have a normal user owning a home directory?
 
Old 01-19-2005, 09:23 PM   #30
ned4sped
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Distribution: Mandrake 10.1
Posts: 2

Rep: Reputation: 0
I am having a very similar issue, Could it be because the RPM is installed at root in MDK 10.1?( I installed T-bird the same way but it works) When I try the commands in a console I get no error as other users, the .mozilla directory in my home folder is 755. are there any other options?
 
  


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
FireFox Wont Work! XSquire Debian 4 10-26-2005 04:53 PM
Firefox wont start up. mattp Linux - Software 4 10-08-2005 07:16 PM
Firefox wont restart question? M$ISBS Linux - Software 13 08-04-2005 01:38 AM
Firefox wont start!!! undefined symbol: NS_NewUnionEnumerator nenyo Linux - Software 2 07-18-2005 03:31 PM
FireFox Wont Download scarabs Linux - Software 1 05-05-2005 11:10 PM

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

All times are GMT -5. The time now is 02:47 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
Open Source Consulting | Domain Registration