Windows 10 bereikte EO (einde ondersteuning) op 14 oktober 2025. Als je Windows 10 gebruikt, lees dan dit artikel.

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info
Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.
Opgelost Gearchiveerd

in Linux, how kill firefox from a shell in such a way that firefox restarts without 'Restore Session' page?

guy.leonis beantwoord
guy.leonis

Killing firefox from a script with 'kill pid' works, but there is a good chance that the next time you start firefox you get the 'Restore Session' page instead of the home page. This is not nice for my 'professional' application to be delivered to European Space Agency.

Could you tell me the signal to send to force a clean termination of the firefox process, or the directories to clean to avoid getting the 'Restore session' page?

Thanks in advance

Guy

Killing firefox from a script with 'kill pid' works, but there is a good chance that the next time you start firefox you get the 'Restore Session' page instead of the home page. This is not nice for my 'professional' application to be delivered to European Space Agency. Could you tell me the signal to send to force a clean termination of the firefox process, or the directories to clean to avoid getting the 'Restore session' page? Thanks in advance Guy

Alle antwoorden (2)

Gekozen oplossing

You can delete the file sessionstore.js in the Firefox Profile Folder or edit the file and change the running flag at the end in stopped

"session":{"state":"running"}
"session":{"state":"stopped"}

Thank you very much cor-el for this first class support. Indeed, deleting the 'sessionstore.js' file was the kind of solution I was looking for (I don't need to keep sessions).

Guy