Results 1 to 10 of 10

Thread: Firefox stuck in saved session - KDE

  1. #1
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default Firefox stuck in saved session - KDE

    Hi, i have a small problem and i am not sure how i can solve it.

    This is the case. I installed openSUSE 12.1 KDE and started off with autologin (?). After i installed everything i made my user password protected. After a re-login the problem started that everytime i start firefox it tells me that there is already a firefox instance running and i should close it.
    But its not in the list if i am checking with the system monitor.
    I did uninstall firefox in hope that will solve the problem, but after reinstall its the same. Funny thing is, if i start firefox via the terminal i starts up.
    I am sure that firefox is in a saved session prior to the password change, but how can i get rid of that session?

    If i do this in the terminal i get this response.

    Code:
    linux-6owc:~ # ps aux |grep firefox
    root      5375  0.0  0.0   6788   860 pts/1    S+   17:02   0:00 grep --color=auto firefox
    I am confused now.
    +++ ATH0

    . . . . . . . .
    LOGOFF COMPLETE

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Firefox stuck in saved session - KDE

    On 2011-12-16 02:06, JoergJaeger wrote:

    > Code:
    > --------------------
    > linux-6owc:~ # ps aux |grep firefox
    > root 5375 0.0 0.0 6788 860 pts/1 S+ 17:02 0:00 grep --color=auto firefox
    >
    > --------------------


    Are you using firefox as root??? That's terribly dangerous.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  3. #3
    joergjaeger NNTP User

    Default Re: Firefox stuck in saved session - KDE

    Am Fri, 16 Dec 2011 02:03:07 +0000 schrieb Carlos E. R.:

    > On 2011-12-16 02:06, JoergJaeger wrote:
    >
    >> Code: --------------------
    >> linux-6owc:~ # ps aux |grep firefox
    >> root 5375 0.0 0.0 6788 860 pts/1 S+ 17:02 0:00 grep
    >> --color=auto firefox
    >>
    >> --------------------

    >
    > Are you using firefox as root??? That's terribly dangerous.


    No, i did not. Not sure why it shows up like that. I did however login
    once as root as i thought i can close firefox that way. Did not work
    either.

    I read that KDE saves all session in dbus folder. But honestly, i can not
    see any session with a user there.

    Is it possible to just delete a session that is saved?

    I forgot to mention that i changed the session to 'not save'. That did
    not help either.

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,180
    Blog Entries
    3

    Default Re: Firefox stuck in saved session - KDE

    Quote Originally Posted by robin_listas View Post
    Are you using firefox as root???
    He ran that "ps aux | grep firefox" command as root.
    openSUSE Leap 15.1; KDE Plasma 5;

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,180
    Blog Entries
    3

    Default Re: Firefox stuck in saved session - KDE

    Look in your firefox profile directory.
    Code:
    cd ~/.mozilla/firefox
    cd *.default
    There's probably a file "lock" there. In my case, it shows
    Code:
    lrwxrwxrwx 1 rickert csci 22 Dec 15 06:28 lock -> 192.168.254.101:+23136
    The ip address is the system on which firefox is running, and the number following the ":+" is the PID of the firefox process.

    If that process exists, but is not actually firefox, then try deleting the lock file.

    There will also be a file "sessionstore.js" which gives the state of the last session. I think it is safe to delete that if you don't want to resume where it left off.
    openSUSE Leap 15.1; KDE Plasma 5;

  6. #6
    joergjaeger NNTP User

    Default Re: Firefox stuck in saved session - KDE

    Am Fri, 16 Dec 2011 03:26:03 +0000 schrieb nrickert:

    > Look in your firefox profile directory.
    >
    > Code:
    > --------------------
    >
    > cd ~/.mozilla/firefox cd *.default
    >
    > --------------------
    >
    > There's probably a file "lock" there. In my case, it shows
    >
    > Code:
    > --------------------
    >
    > lrwxrwxrwx 1 rickert csci 22 Dec 15 06:28 lock ->
    > 192.168.254.101:+23136
    >
    > --------------------
    >
    > The ip address is the system on which firefox is running, and the number
    > following the ":+" is the PID of the firefox process.
    >
    > If that process exists, but is not actually firefox, then try deleting
    > the lock file.
    >
    > There will also be a file "sessionstore.js" which gives the state of the
    > last session. I think it is safe to delete that if you don't want to
    > resume where it left off.


    Acutally after your response, i went radical. I just wiped the whole
    mozilla folder.
    It did work. So after all it had nothing to do with KDE and just simply
    with firefox saving its own session. Interesting.
    I just need to import my bookmarks and i am set.

    Thanks for the tip (even if i did it more radical).

  7. #7
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Firefox stuck in saved session - KDE

    On 12/16/2011 02:06 AM, JoergJaeger wrote:
    > After i installed everything i made my user password
    > protected.


    please tell what you mean by that....in what way did you protect your
    user password?

    (yes, i see your problem is solved...still i wonder what you did because
    maybe i want to protect my user password also..)

    --
    DD
    openSUSE®, the "German Engineered Automobiles" of operating systems!

  8. #8
    joergjaeger NNTP User

    Default Re: Firefox stuck in saved session - KDE

    Am Fri, 16 Dec 2011 09:25:17 +0000 schrieb DenverD:

    > On 12/16/2011 02:06 AM, JoergJaeger wrote:
    >> After i installed everything i made my user password protected.

    >
    > please tell what you mean by that....in what way did you protect your
    > user password?
    >
    > (yes, i see your problem is solved...still i wonder what you did because
    > maybe i want to protect my user password also..)


    Lol. maybe i was chosing the wrong word. I started off with no password
    for my desktop at the installation of the system.
    I enabled the password option for my user. Thats all. So protecting may
    be a wrong wording.

    But see, i got confused too. The solution was so simple but i did not
    think about it. I was so sure it has something to do with KDE that it
    came not to my mind that Firefox saves sessions too.

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Firefox stuck in saved session - KDE

    On 2011-12-16 04:26, nrickert wrote:
    >
    > robin_listas;2418854 Wrote:
    >> Are you using firefox as root???

    > He ran that "ps aux | grep firefox" command as root.


    doh! m:-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Firefox stuck in saved session - KDE

    On 2011-12-17 00:22, joergjaeger wrote:
    > But see, i got confused too. The solution was so simple but i did not
    > think about it. I was so sure it has something to do with KDE that it
    > came not to my mind that Firefox saves sessions too.


    I did think about that, but I thought it was something else, more
    difficult. I got sidetracked perhaps with the root thing. :-(

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Posting Permissions

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