[GH-ISSUE #1656] Starting different firejailed Firefox versions #1118

Closed
opened 2026-05-05 07:29:25 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @macandchief on GitHub (Nov 24, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1656

I guess it's more like a question, not really an issue. I've been using the command firejail firefox -p --no-remote, which works fine with the old Firefox version installed on the system.

However there is a new Firefox version in ~/road/to/new/firefox/version. Being in this directory I can start this version via ./firefox -p --no-remote. My question is: How do I start this new Firefox version in Firejail?

If I simply use firejail firefox in that directory, it simply starts the old version.

Originally created by @macandchief on GitHub (Nov 24, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1656 I guess it's more like a question, not really an issue. I've been using the command `firejail firefox -p --no-remote`, which works fine with the old Firefox version installed on the system. However there is a new Firefox version in ~/road/to/new/firefox/version. Being in this directory I can start this version via `./firefox -p --no-remote`. My question is: How do I start this new Firefox version in Firejail? If I simply use firejail firefox in that directory, it simply starts the old version.
gitea-mirror 2026-05-05 07:29:25 -06:00
Author
Owner

@macandchief commented on GitHub (Nov 24, 2017):

Just for the record: When I try to start Firefox from the new versions folder via firejail firefox, I get: `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
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 26754, child pid 26755
Blacklist violations are logged to syslog
Child process initialized
/bin/bash: ./firefox: No such file or directory

Parent is shutting down, bye...`

<!-- gh-comment-id:346814357 --> @macandchief commented on GitHub (Nov 24, 2017): Just for the record: When I try to start Firefox from the new versions folder via `firejail firefox`, I get: `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 Reading profile /etc/firejail/whitelist-common.inc Parent pid 26754, child pid 26755 Blacklist violations are logged to syslog Child process initialized /bin/bash: ./firefox: No such file or directory Parent is shutting down, bye...`
Author
Owner

@smitsohu commented on GitHub (Nov 24, 2017):

/bin/bash: ./firefox: No such file or directory

It should work if you copy the folder with your new firefox to /opt... I think this would be the recommended way. But if you want to keep it in your home directory, try firejail --whitelist=~/road/to/new/firefox/version ./firefox.

<!-- gh-comment-id:346849460 --> @smitsohu commented on GitHub (Nov 24, 2017): > /bin/bash: ./firefox: No such file or directory It should work if you copy the folder with your new firefox to /opt... I think this would be the recommended way. But if you want to keep it in your home directory, try `firejail --whitelist=~/road/to/new/firefox/version ./firefox`.
Author
Owner

@macandchief commented on GitHub (Nov 24, 2017):

Thank you, really appreciate. I opted for

firejail /opt/firefox/firefox -p --no-remote

and it works like a charm.

<!-- gh-comment-id:346877240 --> @macandchief commented on GitHub (Nov 24, 2017): Thank you, really appreciate. I opted for firejail /opt/firefox/firefox -p --no-remote and it works like a charm.
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#1118
No description provided.