mozilla works fine when logged in as a user but crashes when logged in as root
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
I've never seen this problem, but you could try renaming root's /root/.mozilla folder, and let mozilla build a new set of configuration files and a profile next time it restarts. If this wrecks stuff, just name the old directory back again.
Like carlywarly said, browsing the web as root is probably a bad idea. Many people wouldn't even log into the graphical display as root, especially as Red Hat has most root-requiring programs set to ask for the password when they are run from a user account.
Running a gui as root is only a problem if you don't know what you're doing.
In any case, mozilla might crash as root because of the flash plugin. If you updated it and only updated the user version (because it has to be installed in every users own folder) it could be causing mozilla to crash.
I see now that it makes sense not to surf the web as root & the best option is to su from a user account when something needs to be done as root.
the original reason i asked was because i was teaching myself about apache (as root - bad habit !??! ) & went to check by fireing up the browzer & pointing to http://127.0.0.1
i now know better, thanks again for your input, although i will try viciousfish's sujestion just to see what happens.
Yes I have the same exact problem. I am running RH8.0. If I am logged in as Root the browser appears on the screen for about 1/2 second and then disappears without an error message. I have no problem running it as a regular user. Interestingly enough though, when I was logged on as a regular user once I invoked the SU root login to do something administrative, that regular user could no longer use Mozilla browser.
Originally posted by Riley Running a gui as root is only a problem if you don't know what you're doing.
Or the people who wrote the software assuming
you wouldn't run it as root ;)
Quote:
In any case, mozilla might crash as root because of the flash plugin. If you updated it and only updated the user version (because it has to be installed in every users own folder) it could be causing mozilla to crash.
What exactly makes you think that flash
needs to be installed for each user individually?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.