[GH-ISSUE #1070] firejail not launching Firefox #728

Closed
opened 2026-05-05 06:32:14 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @mustaqimM on GitHub (Jan 24, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1070

If I run most other apps like Kate or Okular , it runs with no problem. But attempting the same with Firefox fails:

$ firejail ~/.firefox/firefox 
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-devel.inc
Warning: user namespaces not available in the current kernel.
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 14569, child pid 14570
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Blacklist violations are logged to syslog
Child process initialized
/bin/bash: /home/mustaqim/.firefox/firefox: No such file or directory

Parent is shutting down, bye...

On another note firejail-git shows this error on all apps tested:

Reading profile /etc/firejail/okular.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Warning: noroot option is not available
Parent pid 18499, child pid 18500
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Blacklist violations are logged to syslog
Child process initialized
No protocol specified
QXcbConnection: Could not connect to display :0

Parent is shutting down, bye...
Originally created by @mustaqimM on GitHub (Jan 24, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1070 If I run most other apps like Kate or Okular , it runs with no problem. But attempting the same with Firefox fails: ``` $ firejail ~/.firefox/firefox ``` ``` Reading profile /etc/firejail/firefox.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-devel.inc Warning: user namespaces not available in the current kernel. Reading profile /etc/firejail/whitelist-common.inc Parent pid 14569, child pid 14570 Warning: /sbin directory link was not blacklisted Warning: /usr/sbin directory link was not blacklisted Blacklist violations are logged to syslog Child process initialized /bin/bash: /home/mustaqim/.firefox/firefox: No such file or directory Parent is shutting down, bye... ``` On another note ```firejail-git``` shows this error on all apps tested: ``` Reading profile /etc/firejail/okular.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-passwdmgr.inc Warning: noroot option is not available Parent pid 18499, child pid 18500 Warning: /sbin directory link was not blacklisted Warning: /usr/sbin directory link was not blacklisted Blacklist violations are logged to syslog Child process initialized No protocol specified QXcbConnection: Could not connect to display :0 Parent is shutting down, bye... ```
gitea-mirror 2026-05-05 06:32:14 -06:00
Author
Owner

@netblue30 commented on GitHub (Jan 24, 2017):

$ firejail ~/.firefox/firefox

Try to install firefox outside home directory, for example under /opt. Firefox profile will hide all the directories in your /home/mustaqim, with the exception of Downloads and .mozilla directories. As a result, the files in .firefox will not be available.

If you leave firefox installed in .firefox, you'll need to add a "whitelist ~/.firefox" line at the end of /etc/firejail/firefox.profile,

<!-- gh-comment-id:274800900 --> @netblue30 commented on GitHub (Jan 24, 2017): > $ firejail ~/.firefox/firefox Try to install firefox outside home directory, for example under /opt. Firefox profile will hide all the directories in your /home/mustaqim, with the exception of Downloads and .mozilla directories. As a result, the files in .firefox will not be available. If you leave firefox installed in .firefox, you'll need to add a "whitelist ~/.firefox" line at the end of /etc/firejail/firefox.profile,
Author
Owner

@mustaqimM commented on GitHub (Jan 24, 2017):

@netblue30 I had to remove firejail-git and now it works fine in /opt, thanks for your help

<!-- gh-comment-id:274842869 --> @mustaqimM commented on GitHub (Jan 24, 2017): @netblue30 I had to remove firejail-git and now it works fine in /opt, thanks for your help
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#728
No description provided.