Chiara Posted April 28, 2007 Report Share Posted April 28, 2007 hi everybody! I am new to linux, just installed mandriva and got it to work as I wish... just one thing remains a mistery: if I launch firefox from the taskbar or from the menu it won't start, I see it loading... and then nothing more. but if I launch it from terminal, by writing 'firefox' as root, it works without any problem. I already uninstalled it, rebooted, reinstalled, did it again choosing a different version (mozilla-firefox instead of mozilla-firefox-it)... it's always the same. how could I solve this? thanks very much for any help!! Quote Link to comment Share on other sites More sharing options...
Gowator Posted April 28, 2007 Report Share Posted April 28, 2007 Start it from a non-root CLI.... It will then probably tell you that some lock file needs deleting or similar... because this is on a per user per profile basis... you can also type ps -ef |grep firefox and check its not running but stalled somewhere... Quote Link to comment Share on other sites More sharing options...
Chiara Posted April 28, 2007 Author Report Share Posted April 28, 2007 Start it from a non-root CLI....It will then probably tell you that some lock file needs deleting or similar... because this is on a per user per profile basis... it simply says nothing.... you can also typeps -ef |grep firefox and check its not running but stalled somewhere... I get: [chiara@localhost Desktop]$ ps -ef |grep firefox chiara 7106 7059 0 15:13 pts/1 00:00:00 grep --color firefox where the word 'firefox' is red Quote Link to comment Share on other sites More sharing options...
Gowator Posted April 28, 2007 Report Share Posted April 28, 2007 That's weird Try which firefox (in the control centre check the name of the files it installs if this doesn't work.. could be mozilla-firefox etc. ) do it as root and as the user... There is still a large chance its something just in one user profile... but its also possible you have it installed twice and root finds one first and your user another.... when you say nothing.... does it just give an empty line or sit there doing nothing .. ??? (and you need to crtl+C to stop it) Quote Link to comment Share on other sites More sharing options...
Chiara Posted April 28, 2007 Author Report Share Posted April 28, 2007 Trywhich firefox (in the control centre check the name of the files it installs if this doesn't work.. could be mozilla-firefox etc. ) do it as root and as the user... I tried both: [chiara@localhost Desktop]$ which firefox /usr/bin/firefox [chiara@localhost Desktop]$ which mozilla-firefox /usr/bin/mozilla-firefox as root it gives exactly the same answers when you say nothing.... does it just give an empty line or sit there doing nothing .. ??? (and you need to crtl+C to stop it) I mean empty line, where I could enter another command Quote Link to comment Share on other sites More sharing options...
scoonma Posted April 28, 2007 Report Share Posted April 28, 2007 Hi Chiara, which version of Mandriva are you actually using? With 2007 Spring, you could check menu entries by opening/editing them easily. Are you using GNOME or KDE? Quote Link to comment Share on other sites More sharing options...
Chiara Posted April 28, 2007 Author Report Share Posted April 28, 2007 I'm on 2007.1 with gnome. I also noticed that firefox runs from terminal, but only if I give the command as root, as simple user it won't, so... I'm not sure it can be a simple menu trouble.. Quote Link to comment Share on other sites More sharing options...
scoonma Posted April 28, 2007 Report Share Posted April 28, 2007 Hm. What about other programs (Evolution, OpenOffice)? Do they show the same behaviour? If not, I'd just uninstall Firefox (using MCC or urpmi) and reinstall it again. Don't worry about your personal files (bookmarks, etc), they should remain untouched. Quote Link to comment Share on other sites More sharing options...
Chiara Posted April 28, 2007 Author Report Share Posted April 28, 2007 firefox is the only one I found with this behaviour. I already uninstalled and reinstalled it twice, with MCC and with urpmi... Quote Link to comment Share on other sites More sharing options...
Gowator Posted April 28, 2007 Report Share Posted April 28, 2007 I mean empty line, where I could enter another command OK :D it does make a difference.... try as your normal user... (starts it without plugins and stuff) firefox -safe-mode Quote Link to comment Share on other sites More sharing options...
scoonma Posted April 28, 2007 Report Share Posted April 28, 2007 So there's probably something wrong with your user profile. I'd suggest the following: 1) Rename the .mozilla directory from your user dir to something like .mozilla-backup. 2) Restart firefox by typing "mozilla-firefox" within a normal (user) shell terminal. Any errors? 3) Re-import bookmarks (and other stuff) successively from the backup directory. Good luck! Quote Link to comment Share on other sites More sharing options...
Chiara Posted April 28, 2007 Author Report Share Posted April 28, 2007 (edited) try as your normal user... (starts it without plugins and stuff)firefox -safe-mode I treid it... still nothing happens (empty line) 1) Rename the .mozilla directory from your user dir to something like .mozilla-backup. you mean usr/lib/firefox? there is also usr/lib/mozilla I also tried modifieng menu entries, pointing to usr/bin/firefox or usr/bin/mozilla, but nothing has changed... thanks!! Edited April 28, 2007 by Chiara Quote Link to comment Share on other sites More sharing options...
scoonma Posted April 28, 2007 Report Share Posted April 28, 2007 (edited) 1) Rename the .mozilla directory from your user dir to something like .mozilla-backup. you mean usr/lib/firefox? there is also usr/lib/mozilla No, I mean a directory within your user space. Perhaps it is not visible from nautilus by default. The full path would be like /home/chiara/.mozilla; assuming chiara is your user login. You could open a normal terminal and enter: mv /home/chiara/.mozilla /home/chiara/.mozilla-backup The mv command is the standard linux renaming binary. HTH, scoonma Edited April 28, 2007 by scoonma Quote Link to comment Share on other sites More sharing options...
Chiara Posted April 30, 2007 Author Report Share Posted April 30, 2007 you're a genius!! I renamed that folder, launched firefox from terminal as normal user, the folder got re-created and now everything is ok! thank you so much, scoonma! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.