mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2897] Firejail can't handle Xauthority correctly if it isn't in $HOME/.Xauthority #1812
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#1812
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 @Edu4rdSHL on GitHub (Aug 10, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2897
Firejail can't launch applications if the Xauthority file isn't in
$HOME/.Xauthority, it happens for example when usingsx(https://github.com/Earnestly/sx) instead ofxinitthat put Xauthority file under$HOME/.local/share/sx/xauthority(see https://github.com/Earnestly/sx/blob/master/sx#L30) but it works changing that line forexport XAUTHORITY=${XAUTHORITY:-$HOME/.Xauthority}.It ends in the following error:
@rusty-snake commented on GitHub (Aug 18, 2019):
possible workarounds (not testet)
whitelist ${HOME}/.config/sx/xauthority@Edu4rdSHL commented on GitHub (Aug 18, 2019):
@rusty-snake the symlink method doesn't work because firejail apps still can't access to $HOME/.local/share/sx/xauthority. I have been using the following lines in
/etc/firejail/globals.localIt seems to be a clean workaround.