Search Support

Firefox restoring the previous session after the PC boots up

  • 5 risposte
  • 1 ha questo problema
  • 15 visualizzazioni
  • Ultima risposta di FredMcD

more options

Hello, In Ubuntu 20.04 (Firefox 76), there is this strange bug. Whenever I reboot/shutdown and start my computer, and after login when I open Firefox (after bootup), the previous session (i.e. the session which was present at the time of reboot) will be opened at the same ubuntu workspace location.

Eg. I had 3 tabs opened in workspace 2 and I shutdown my system. Then I again boot into Ubuntu and open firefox (in the default workspace aka workspace 1), the browser will resume its previous state i.e. it will open in the workspace 2 with the 3 tabs open. So this is like a state restore.

I have disabled Restore Previous Session in the "Startup" section of preferences.

All Replies (5)

more options

You may have corrupt sessionstore [v56] sessionstore.jsonlz4 file(s). Delete all sessionstore* files and the sessionstore-backups folder.

Type about:support<enter> in the address bar.

Under the page logo on the left side, you will see Application Basics. Under this find Profile Folder. To its right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox.

Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder

Linux: Under the page logo on the left side, you will see Application Basics. Under this find Profile Directory. To its right press the button Open Directory.

Locate the above file. Then rename or delete it. Restart Firefox.


Don't delete the files if you need to rescue any data from them, just move them out of the profile folder to some location where Firefox doesn't look for them. You can try to read out their contents using this tool: https://www.jeffersonscher.com/res/scrounger.html

Helpful?

more options

Thank You!

Deleting the sessionstore-backups folder did the trick for me.

Helpful?

more options

Glad to help. Safe Surfing.

Helpful?

more options

Hello, The above solution works only once. The next time the same thing repeats. I uninstalled firefox, deleted the .mozilla folder and again installed firefox, but no changes seen.

Does the problem happen if we have signed into the firefox account?

Ps. There is no User.js file to try out another workaround as suggested by another answer.

Helpful?

more options

Helpful?

Richiedi supporto

Bisogna accedere al proprio account per rispondere nelle discussioni. Se non si possiede ancora un account, inserire una nuova richiesta.