LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox wont start (https://www.linuxquestions.org/questions/linux-software-2/firefox-wont-start-268492/)

hitesh_linux 12-23-2004 11:55 AM

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

dustu76 12-23-2004 12:35 PM

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

mjjzf 12-23-2004 01:44 PM

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.

WanabeLinus 12-25-2004 01:39 PM

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.

andrewlkho 01-07-2005 05:29 AM

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.

ValidiusMaximus 01-07-2005 07:58 AM

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.

ValidiusMaximus 01-07-2005 07:58 AM

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!!!!!

WanabeLinus 01-07-2005 08:01 PM

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?:study: :newbie:

newbeatle2001 01-16-2005 11:51 AM

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.

Toonses82 01-16-2005 01:18 PM

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?

Toonses82 01-16-2005 06:55 PM

Has anyone gotten Forefox 1.0 to work as a regular user in Mandrake 10.1?

newbeatle2001 01-17-2005 07:10 AM

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.

Toonses82 01-17-2005 08:44 AM

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.

newbeatle2001 01-18-2005 01:48 PM

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?

ned4sped 01-19-2005 09:23 PM

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?


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