Results 1 to 7 of 7

Thread: [SOLVED] Porblems after running firefox as root.

  1. #1
    Join Date
    Mar 2007
    Beans
    28

    [SOLVED] Porblems after running firefox as root.

    I doubt this is in the right place, so if someone would be kind enough to report this post and get it moved to the right forum.


    So, well, I wanted to use a Java applet which was complaining because it couldn't read/write, so I tried 'sudo firefox' in the Terminal. That didn't work, but what it did was completely screw my firefox installation. I've tried removing it with apt-get from the command line and with synaptic, but it still refuses to work.

    Whats actually wrong with it is that it keeps no history, will not back or forward, will not stop loading pages, and does not start at the home page.

    Help appreciated


    Interesting news: I've tried running firefox with sudo again, and it _amazingly_ works. I've modified the icon to be an 'Application run in Terminal', but I hope someone has a more permanent fix. The Terminal window is fairly annoying...
    Last edited by r0b0t1; July 1st, 2008 at 11:23 PM. Reason: Interesting news...

  2. #2
    Join Date
    May 2005
    Location
    US
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Porblems after running firefox as root.

    You should never run the command sudo firefox. There's really no reason to run Firefox as root, but if you must do so, then use the command gksudo firefox instead. More details here: http://www.psychocats.net/ubuntu/graphicalsudo

    Let's fix the problem, though.

    Type this command in the terminal:
    Code:
    sudo chown -R username:username /home/username/.mozilla
    where username is your actual username. Then restart Firefox.

  3. #3
    Join Date
    Mar 2007
    Beans
    28

    Re: Porblems after running firefox as root.

    Ok, thank you .


    I didn't know about gksudo after I had read that webpage, so I wouldn't have known. Now its fixed.

  4. #4
    Join Date
    Sep 2008
    Beans
    1

    Re: [SOLVED] Porblems after running firefox as root.

    I was having the exact same problem and this line did not fix it. This is because I reinstalled firefox-3.0 and my links were still pointing to firefox.

    Watch for this! It's a simple error...so simple it stumped me for a half hour

  5. #5
    Join Date
    Apr 2008
    Beans
    1

    Re: [SOLVED] Porblems after running firefox as root.

    sudo chown -R username:username /home/username/.mozilla

    Thanks aysiu... Your post fixed my problem.

  6. #6
    Join Date
    Aug 2009
    Location
    Finland
    Beans
    3
    Distro
    Ubuntu UNR

    Re: [SOLVED] Porblems after running firefox as root.

    Solved my problem too. Thank you!

    Also the link explaining sudo vs. gksudo was helpful. I'm quite fresh user of Ubuntu and this kind of information will save me from other problems when playing around with Ubuntu

  7. #7
    Join Date
    Jan 2009
    Location
    Tehran
    Beans
    14
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Porblems after running firefox as root.

    Quote Originally Posted by aysiu View Post
    You should never run the command sudo firefox. There's really no reason to run Firefox as root, but if you must do so, then use the command gksudo firefox instead. More details here: http://www.psychocats.net/ubuntu/graphicalsudo

    Let's fix the problem, though.

    Type this command in the terminal:
    Code:
    sudo chown -R username:username /home/username/.mozilla
    where username is your actual username. Then restart Firefox.
    After I upgrade my ubuntu from 9.04 to 9.10 my firefox runs as root. I just type:
    Code:
    firefox
    and firefox runs as root. I chown .mozila directory in my home folder but still have same problem.

    any suggestion ?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •