LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 09-18-2008, 02:59 AM   #1
meo_beo
Member
 
Registered: Mar 2008
Posts: 33

Rep: Reputation: 15
Can't get Firefox started


Hi guys, I installed FC8 on my machine a short while ago and until recently it's run just fine. But when I open Firefox as root, it makes me wait for a very long while and when I attempt to open another instance of FF, it informs me that an instance is already running and that I should turn it off first. What's funny and strange is that I don't have the same problem when I open FF as a normal user. Anyone has any clue?
 
Old 09-18-2008, 05:27 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Although it is not the reason for the delay, you should not run a web browser as root. A web browser is a very high-risk application from a security point of view, and you should never run one as a privileged user. For a discussion of the reasons for this, please read this post.

As to the reason for being slow... It could be that there is some junk in the configuration of the browser - corrupt or messy cache files, history etc. Maybe some extensions which are not behaving well.

To check if this is the problem, go to the root home directory and rename the .mozilla directory to something else. First close/kill all instance of firefox which are running as root. In a terminal logged in as root (# is the prompt here):
Code:
# mv ~/.mozilla ~/.mozilla.old
Then start firefox and see if it works OK.

If not, and you want your old bookmarks and so on back, just kill all firefox instances and then do this to put back the original .mozilla directory. The "cd" just makes sure you are in the home directory of the root user):
Code:
# rm -rf ~/.mozilla
# mv ~/.mozilla.old ~/.mozilla
If that helps, or even if it does not, simply stop using a browser as root. You will not suffer the slightest inconvenience from using a browser as a regular user, and will significantly improve your security situation.

By the way, you should not log in to your graphical environment as root either. Re-read the link I posted at the top of this message - it is in response to someone who was asking about logging into their desktop environment as root.
 
Old 09-22-2008, 09:53 PM   #3
meo_beo
Member
 
Registered: Mar 2008
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks, for some reasons I had to switch to RedHat 4 and now I have another problem: Firefox starts alright but I can't access the Internet. Is there any thing I have to configure (modem, IP, proxy, etc) to get access to the Internet? (I also installed Windows XP on my machine and I still have an Internet connection with Windows).

Last edited by meo_beo; 09-22-2008 at 09:55 PM.
 
  


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
Not getting started.. asahlot Linux - General 4 03-05-2006 11:39 PM
Getting started jkline Linux - Software 3 01-26-2006 12:58 AM
How to get started ? utw-mephisto Debian 4 04-23-2005 03:18 PM
getting X started OgreCoder Linux - General 1 02-09-2004 12:47 PM
Can't seem to get started Tex5150 Linux - Newbie 11 10-09-2003 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:35 AM.

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