mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1065] --x11=xorg "unable to open display" but runs anyway #721
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#721
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 @xahare on GitHub (Jan 23, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1065
xlogo does run. this also happens with firefox.
host is ubuntu 16.04 amd_64 running in virtualbox with guest extensions
@chiraag-nataraj commented on GitHub (Jan 23, 2017):
Huh. I get a "No protocol specified" and "Error: Can't open display: :0" and
xlogodoesn't launch. I'm running on Debian sid/experimental x86_64.@netblue30 commented on GitHub (Jan 24, 2017):
Working fine for me on Debian stable:
@netblue30 commented on GitHub (Jan 24, 2017):
When I run --x11=xorg firefox I get a warning: Xlib: extension "RANDR" missing on display ":0.0". Other than that, firefox (version 45.6.0) seems to be working fine. It is possible newer firefox versions behave differently, or don't work at all.
@valoq commented on GitHub (Jan 24, 2017):
Is there another window server running?
If X11 access is blocked but e.g. access to a wayland server is available, which is the case on modern gnome desktops, the application will still run, but display this warning.
@xahare commented on GitHub (Jan 25, 2017):
seems a difference between newer and older xorg then. there must be a way to automate testing across a few distros. this approach looks promising, https://github.com/Oefenweb/ansible-fail2ban/blob/master/Vagrantfile
@valoq when using xwayland, couldn't query security extension on display ":0"
@xahare commented on GitHub (Jan 26, 2017):
[edit] not firejail related. gimp and printsrc just show blank backgrounds with or without firejail. maybe its virtualbox.
just confirmed this in ubuntu desktop. only the terminal windows showed in xwd. not the background, any of the desktop/window manager widgets, or file manager that was open. tried again in xterm, and again, only the gnome-terminal windows showed against a black background.
any idea where to go from here? where could the bug be?