mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1462] Unable to --join to -x11 firefox #982
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#982
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Boruch-Baum on GitHub (Aug 11, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1462
For the following command sequence:
The second command recognizes that an instance of firefox exists, but won't join to it. What it does is say that the default firefox profile (not firejail profile) is being used, and prompts to choose another.
On the other hand, without --x11, the sequence works fine:
Now, checking other scenarios, the situation is worst than I thought. --join isn't even needed to join the sandboxed firefox, in the following:
It seems I don't even need to use firejail at all to enter the sandboxed instance:
And it is getting more confusing. The firefox instance does seem to be sandboxed, because it doesn't see my entire local filesystem, but the following commands don't list a firejailed firefox
@chiraag-nataraj commented on GitHub (Aug 12, 2017):
I'm not sure about the whole
joinstuff. But with regards tofirefox, that is expected behavior:(from https://firejail.wordpress.com/documentation-2/firefox-guide/#run)
As for why it's not listed in those commands...that also doesn't make much sense. Can you see a
firejail firefoxprocess in top or ps?@Boruch-Baum commented on GitHub (Aug 13, 2017):
Yes @chiraag-nataraj, "firejail firefox" appears in output for both "htop" and "pgrep -a". In both cases, two processes are shown.
@netblue30 commented on GitHub (Aug 13, 2017):
I'll try to reproduce it here, thanks.
@netblue30 commented on GitHub (Aug 13, 2017):
Quite easy to reproduce:
The x11 display number is not restored by --join command. It seems firefox uses x11 socket to detect other instances, and the instance we are interested in is running on a different x11 server. Thanks for the bug!
@startx2017 commented on GitHub (Aug 15, 2017):
I have a fix in git, thank you for the bug.