I can't run Firefox from my single user(only from a super user)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
That message is displayed wheneever firefox can't load its executable for any reason. The "Is already running" is the most common reason, but it can be missleading if it's not the real reason. Because you can run as "root," your problem is more likely to be a "permissions" problem than the problem displayed in the "pop-up" box.
Check your permissions on the firefox entries in /usr/lib You should have something like this:
Another thing to check, is firefox puts a lock file in a subdirectory of your home, and if it crashes or shutsdown uncleanly, it will leave the lock file in place, and it might lead to the error you are seeing. The location of the lock file on my machine is
Obviously the string after .mozilla/firefox/ is some random chars, but you'll find it easily enough. If the lock file is there, and you don't have firefox running, you can rm it.
This used to occur often, and I thought it had been fixed a few versions ago, but it certainly could continue to happen.
The fact that you are launching from /usr/local won't make any difference, it still places files in the .mozilla/firefox under your home.
There are no references of firefox in /usr/bin. I suppose that the entries showed int the /usr/local in my previous post refer to firefox binary. The konsole commands showed bellow doessn't show any entry in /usr/bin.
[ricardo@c9511efb música]$ cd ~
[ricardo@c9511efb ~]$ ls
coolgen/ documentos/ lixo/ plugin_stack.trace testeslazarus/ vídeo/
Desktop/ download/ mp3/ RealPlayer/ tmp/
doc/ fotos/ música/ testesfpc/ tmpxOWlMa.wav.part
[ricardo@c9511efb ~]$ cd .mozilla
[ricardo@c9511efb .mozilla]$ ls
firefox/ mozver.dat plugins/
[ricardo@c9511efb .mozilla]$ cd firefox
[ricardo@c9511efb firefox]$ ls
[ricardo@c9511efb firefox]$ su
[root@c9511efb firefox]# updatedb
[root@c9511efb firefox]# exit
[ricardo@c9511efb firefox]$ locate firefox
Ricardo, how did you install firefox? Normally, you log in as root and extract everything into /usr/lib/firefox and then create a symbolic link /bin/firefox pointing to /usr/lib/firefox/firefox with "x" permissions for everyone.
If you do it that way, the permissions on the firefox files will be set correctly, and you can start firefox with a simple firefox command. (Note that the extraction needs to be done as "root" so the permissions can be set correctly.)
Even easier is to check the repositories for your distribution to see if there's a firefox package available, and to install it if you can find it. Depending on your distribution, an apt-get install firefox or yum install firefox will often do the trick for you.
I'd suggest that you re-install firefox (as described above) and then see if you still have the problem.
The plug-ins should be in /usr/lib/mozilla/plugins, and they should automatically recognized (and used) by a new firefox installation. Sometimes the plug-ins are in /usr/lib/firefox/plugins or, in your case, perhaps in your home directory somewhere.
In any case, all you need to do is to save the plug-in files, re-install firefox, and then move the saved files to either the /usr/lib/mozilla/plugins/ or the /usr/lib/firefox/plugins/ directory.
firefox automatically checks those directories when it starts and loads any plug-ins if finds in them. So you shouldn't need to download any of them again. (Unless, of course, they don't work with a newer firefox version. But that's a problem that all firefox users have when they install a newer release.)
So, locate your plug-ins, copy them to a safe place (I'd use /tmp/plugins, but anywhere would do), reinstall firefox and copy the plug-ins to their correct location.
If you install firefox from a repository, the location under /usr/lib may be firefox-188.8.131.52 (i.e., with the version number appended).
Unless your current installation is in /usr/lib/firefox/, you don't really need to clean out your old files. Just install as I described above, and verify that you can run the newly installed firefox. (Note that you should not change anything in your ~/.mozilla or ~/.firefox folders. Those contain your user-specific settings and data, and they should work with the new installation.
Once everything is working you can rm everything in your old installation directory whenever you want to do so.