mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1499] Setting DISPLAY in --env setting does not work #1001
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#1001
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 @chiraag-nataraj on GitHub (Aug 28, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1499
I have an xpra client already running and would like to attach another sandbox to the existing client. As per https://firejail.wordpress.com/documentation-2/x11-guide/, I go ahead and specify
env DISPLAY=:480in my profile, but it doesn't work. The window opens on the regular display. I get the same behavior if I explicitly passDISPLAY=:480 firejail .... The difference is that in the first case, with--debug, I get a line likeDISPLAY=:0 parsed as 0, while in the second, I getDISPLAY=:480 parsed as 480. The behavior is the same however - I get the new window opening in the normal display.@netblue30 commented on GitHub (Aug 30, 2017):
I have to parse --env (or env in the profile) for DISPLAY. Bug!
DISPLAY=:480 firejail .... should work fine. How do you test to see in what display it was opened?
@chiraag-nataraj commented on GitHub (Aug 31, 2017):
Yeah, never mind - setting the environment variable outside seems to work fine.
@netblue30 commented on GitHub (Sep 2, 2017):
I still have to put in a fix for --env, let's mark it as an enhancement for now.