為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Cant open firefox after Ubuntu update

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 jonzn4SUSE

more options

When I open Firefox through the GUI nothing happens. It acts as if I never tried to open it.

When I attempt to open it via the CLI I get:

joshua@joshua-Z390-AORUS-PRO-WIFI:~$ firefox /snap/firefox/1443/snap/command-chain/desktop-launch: line 52: /home/joshua/.config/user-dirs.dirs: Permission denied sed: can't read /home/joshua/.config/user-dirs.dirs: Permission denied /snap/firefox/1443/snap/command-chain/desktop-launch: line 261: /home/joshua/.config/user-dirs.dirs: Permission denied cp: cannot open '/home/joshua/.config/user-dirs.locale' for reading: Permission denied /snap/firefox/1443/snap/command-chain/desktop-launch: line 266: /home/joshua/.config/user-dirs.locale: Permission denied Error: cannot open display: :0


For context: Ubuntu: 22.04 LTS


The update that I ran was simply generic system updates through the app store. Notably though it was the snap store not the ubuntu software store. Don't know if that matters.


Any ideas? Thanks a million!

When I open Firefox through the GUI nothing happens. It acts as if I never tried to open it. When I attempt to open it via the CLI I get: joshua@joshua-Z390-AORUS-PRO-WIFI:~$ firefox /snap/firefox/1443/snap/command-chain/desktop-launch: line 52: /home/joshua/.config/user-dirs.dirs: Permission denied sed: can't read /home/joshua/.config/user-dirs.dirs: Permission denied /snap/firefox/1443/snap/command-chain/desktop-launch: line 261: /home/joshua/.config/user-dirs.dirs: Permission denied cp: cannot open '/home/joshua/.config/user-dirs.locale' for reading: Permission denied /snap/firefox/1443/snap/command-chain/desktop-launch: line 266: /home/joshua/.config/user-dirs.locale: Permission denied Error: cannot open display: :0 For context: Ubuntu: 22.04 LTS The update that I ran was simply generic system updates through the app store. Notably though it was the snap store not the ubuntu software store. Don't know if that matters. Any ideas? Thanks a million!

所有回覆 (3)

more options

Try downloading Firefox from Mozilla, run it from the folder and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

more options

Looks like a OS (snap) / permission issue. see screenshot Can you download and run Firefox? If that works, then you may need to ask the question in ubuntu / snap forum. https://forum.snapcraft.io/

由 jonzn4SUSE 於 修改

more options

This is what I get from the cmd line. see screenshot