Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Firefox won't start

  1. #1

    Default Firefox won't start

    Hi,
    I am not able to start Firefox 24.0, or any other Mozilla application (ie Seamonkey, portable Firefox).
    I have re-installed all Mozilla packages to no avail.
    Code:
    % rpm -qa '*ozilla*'
    MozillaFirefox-24.0-1.33.1.x86_64
    mozilla-nspr-4.10-1.14.1.x86_64
    MozillaFirefox-branding-openSUSE-21-2.5.1.x86_64
    mozilla-nss-3.15.2-1.16.1.x86_64
    mozilla-nss-certs-3.15.2-1.16.1.x86_64
    I have also renamed the .mozilla folder upon re-install, so it isn't related with any config files.

    using:
    Code:
    % sudo firefox
    or
    Code:
    % firefox
    doesn't work either, the cursor just stays there on a new line


    I found a way to make firefox work, but it is a pain.

    • if I log in to the root account,
    • open firefox there (it sometimes also fails to open),
    • log out from root account,
    • log to my user account and BAM firefox works again. This lasts until I restart the computer.


    I also checked the folder permissions for the .mozilla folder and they were correctly attributed.
    Any ideas what might be the reason behind all of this, Firefox worked correctly yesterday.

    Thanks in advance

  2. #2

    Default Re: Firefox won't start

    Just found out something interesting using:
    Code:
    % su -c "firefox"
    results in the same cursor and nothing else.

    But if I do % su
    and then %firefox
    I get this:

  3. #3

    Default Re: Firefox won't start

    Quote Originally Posted by drkdfndr View Post
    Just found out something interesting using:
    Code:
    % su -c "firefox"
    results in the same cursor and nothing else.

    But if I do % su
    and then %firefox
    I get this:
    That's not related to firefox at all. You cannot run GUI programs using "su" or "sudo", because the environment is not setup completely then (it won't find the user's X and dbus sessions, and so on).
    Use "kdesu" instead, or "su -".
    Well, you shouldn't run firefox as root anyway, but that's a different story...

    Does Firefox work if you start it in safe mode?
    Code:
    firefox -safe-mode

  4. #4

    Default Re: Firefox won't start

    Quote Originally Posted by wolfi323 View Post
    That's not related to firefox at all. You cannot run GUI programs using "su" or "sudo", because the environment is not setup completely then (it won't find the user's X and dbus sessions, and so on).
    Use "kdesu" instead, or "su -".
    Well, you shouldn't run firefox as root anyway, but that's a different story...

    Does Firefox work if you start it in safe mode?
    Code:
    firefox -safe-mode
    Hi wolfi,

    I thought sudo / su worked since they work on Fedora.

    I have tried to start firefox in safe mode too, and the outcome was the same.
    I have also deleted the .mozilla folder upon re-installation, so I am confident it isn't a firefox addon issue.

  5. #5

    Default Re: Firefox won't start

    I have ran a strace against firefox. I saw it being requested in some other threat, and I thought it might help debugging this.

    Here is the result
    Code:
    http://speedy.sh/JtVqC/firefoxtrace
    Also I leave my repos here:
    Code:
    #  | Alias                     | Name                                   | Enabled | Refresh
    ---+---------------------------+----------------------------------------+---------+--------
     1 | libdvdcss                 | libdvdcss                              | Yes     | Yes    
     2 | opensuse-security-x86_64  | opensuse-security-x86_64 (added by me) | Yes     | Yes    
     3 | packman                   | packman                                | Yes     | Yes    
     4 | repo-debug                | openSUSE-12.3-Debug                    | No      | Yes    
     5 | repo-debug-update         | openSUSE-12.3-Update-Debug             | No      | Yes    
     6 | repo-debug-update-non-oss | openSUSE-12.3-Update-Debug-Non-Oss     | No      | Yes    
     7 | repo-non-oss              | openSUSE-12.3-Non-Oss                  | Yes     | Yes    
     8 | repo-oss                  | openSUSE-12.3-Oss                      | Yes     | Yes    
     9 | repo-source               | openSUSE-12.3-Source                   | No      | Yes    
    10 | repo-update               | openSUSE-12.3-Update                   | Yes     | Yes    
    11 | repo-update-non-oss       | openSUSE-12.3-Update-Non-Oss           | Yes     | Yes

  6. #6
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Firefox won't start

    Lets just be sure
    Open a normal terminal and use your mouse to copy and pate this:

    Code:
    mv .mozilla .mozilla-broken
    Now try Firefox

    If it still fails. create a new user and try Firefox in there. Does it work
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,605

    Default Re: Firefox won't start

    [QUOTE=drkdfndr;2595446]Hi wolfi,

    I thought sudo / su worked since they work on Fedora.

    [QUOTE]
    Well, sudo works since it's creation (in the 90ties?) and su since the creation of Unix (60ties), but we fail to see why you use it "becoming root" in starting FF.

    FF is an end-user application. To be used by a normal user and not by root.
    Also you say somewhere that you login in the root account. That is also something you should never do.
    Henk van Velden

  8. #8

    Default Re: Firefox won't start

    Quote Originally Posted by caf4926 View Post
    Lets just be sure
    Open a normal terminal and use your mouse to copy and pate this:

    Code:
    mv .mozilla .mozilla-broken
    Now try Firefox

    If it still fails. create a new user and try Firefox in there. Does it work
    Hi caf,
    I tried to rename the folder again but it still didn't work.

    So, I have created a new user account, and the exact same thing happens.
    • I try to open firefox in my account, but it won't start
    • I log out and log in to my newly created account
    • Try to open firefox there (sometimes it will start, other times it won't start)
    • Log out and then log back in to my user account and firefox works again!

    Exactly what happened, when I repeated the same steps with the root account. I can do this steps with any of the account the outcome is always the same - trying to start firefox in other accounts make it work for all the others.

    Well, sudo works since it's creation (in the 90ties?) and su since the creation of Unix (60ties), but we fail to see why you use it "becoming root" in starting FF.

    FF is an end-user application. To be used by a normal user and not by root
    Also you say somewhere that you login in the root account. That is also something you should never do.
    I meant to say that I can use su -c to start programs with graphical interface in Fedora. Usually use it with dolphin.
    Wasn't trying to accomplish anything specific with that, really. Is just something that gets thrown around if you search for solutions.

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,605

    Default Re: Firefox won't start

    Quote Originally Posted by drkdfndr View Post
    I meant to say that I can use su -c to start programs with graphical interface in Fedora. Usually use it with dolphin.
    Wasn't trying to accomplish anything specific with that, really. Is just something that gets thrown around if you search for solutions.
    Better read this: SDB:Login as root - openSUSE
    Henk van Velden

  10. #10
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Firefox won't start

    All this root login etc...
    Sounds compromising to me
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

Page 1 of 2 12 LastLast

Posting Permissions

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