mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1157] Closing a window using xpra sandboxing crashes the entire X server #793
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#793
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 @nullchinchilla on GitHub (Mar 24, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1157
I am using Debian testing, and currently if I use firejail to attempt jailing anything with xpra-based X11 sandboxing (say
firejail --x11=xpra xterm), then the entire X server of the host crashes once I close down the jail. This happens with any program I use; before the jail finishes the jailed program works fine, but once the jailed program exits, the X server crashes.I understand that this is a duplicate of #748, but that issue seems to not be getting any attention for such a serious problem.
@netblue30 commented on GitHub (Mar 25, 2017):
Thanks, I moved to old discussion here.
@dewanee commented on GitHub (Jun 22, 2017):
I have the same issue running Debian unstable + lightdm + i3wm. Any news on the bug?
@xiota commented on GitHub (Jul 12, 2017):
Using Ubuntu 17.04, I also get a black screen when using
xprawithfirejail. Since the mouse cursor is still visible, it is clear thatXorgis still running, but that it has somehow lost the ability to render or interact with the display properly.Even though the screen is blank (except for the mouse cursor), it is possible to blindly interact with the desktop. For instance, I am able to open a terminal and
reboot. I can also get back to a login screen without rebooting by killing theXorgprocess from a virtual console.Similar behavior occurs when running
Xorg :1, which indicates this is a problem that occurs after running multipleXorgsessions simultaneously. A workaround is to edit/etc/xpra/xpra.confto refer toXvfbinstead ofXorg:@netblue30 commented on GitHub (Jul 13, 2017):
I've been able to reproduce it on Debian stretch! It has something to do with the way xorg is configured. Probably we'll see this coming in other distributions as well. You need to make you user part of tty group.
You need to run
and logout/login for the command to take effect.
@xiota commented on GitHub (Jul 17, 2017):
Have confirmed that adding user to
ttygroups fixes the problem... Since adding users to thettygroup may be undesirable, another option is to add-novtswitchto/etc/xpra/xpra.conf...@hahjortland commented on GitHub (Aug 30, 2017):
It did not help to add
-novtswitchin Ubuntu 16.04. Addingvt8fixes the problem for me, though:In
/etc/xpra/xpra.conf:@chiraag-nataraj commented on GitHub (Aug 24, 2018):
This seems to be an Xorg problem and there are workarounds documented here.