X
Nhấn vào đây để đến phiên bản di động của trang web.

Diễn đàn trợ giúp

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

Được đăng

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

Giải pháp được chọn

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"}
Đọc câu trả lời này trong ngữ cảnh 1

Chi tiết hệ thống bổ sung

Điều này đã xảy ra

Bất cứ khi nào Firefox được mở lên

Điều này bắt đầu khi...

I started my tests on a clean installation

Phần bổ trợ đã cài đặt

  • Shockwave Flash 9.0 r124
  • Default Plug-in
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Photosynth 1.1.0.602
  • Office Plugin for Netscape Navigator
  • Adobe Acrobat Plug-In Version 7.00 for Netscape
  • GEPlugin
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • Google Update
  • MetaStream 3 Plugin r4
  • Classic Java Plug-in 1.6.0_16 for Netscape and Mozilla
  • DRM Netscape Network Object
  • Npdsplay dll
  • DRM Store Netscape Plugin

Ứng dụng

  • Chuỗi đại diện người dùng: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20 (.NET CLR 3.5.30729)

Thông tin chi tiết

Firefox 3.6.10 32bit
Fedora Core 14 64bit
Lenovo Thinkpad T61p & W500

cor-el
  • Top 10 Contributor
  • Moderator
17668 giải pháp 159825 câu trả lời
Được đăng

Giải pháp được chọn

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"}
You can delete the file [http://kb.mozillazine.org/sessionstore.js sessionstore.js] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] or edit the file and change the running flag at the end in stopped "session":{"state":"running"} "session":{"state":"stopped"}

Người tạo câu hỏi

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

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