diff options
author | 2021-05-16 20:43:12 +0200 | |
---|---|---|
committer | 2021-05-16 20:43:12 +0200 | |
commit | bc2f52d079032c31ba79e169d9e010c964b0bd14 (patch) | |
tree | 0696faef4171ac7145d2b972c0aefe2864af410c /etc | |
parent | Merge pull request #4278 from kmk3/rename-noautopulse (diff) | |
download | firejail-bc2f52d079032c31ba79e169d9e010c964b0bd14.tar.gz firejail-bc2f52d079032c31ba79e169d9e010c964b0bd14.tar.zst firejail-bc2f52d079032c31ba79e169d9e010c964b0bd14.zip |
Fix #4282 -- Unable to open X display when running firejail chromium command
Summary: SDDM uses $XDG_RUNTIME_DIR/<UUID> as Xauthority.
In my tests (Fedora 32 KDE spin IIRC) it used /tmp/... so it was
irrelevant for wruc. So the Xauthority file created by SDDM sems to
depend on distro, version, config, ….
Future alternatives to this long, ugly line would be a ${XAUTHORITY}
macro or a private-run-user option.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/whitelist-runuser-common.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/whitelist-runuser-common.inc b/etc/inc/whitelist-runuser-common.inc index 0a1030b34..48309ffe3 100644 --- a/etc/inc/whitelist-runuser-common.inc +++ b/etc/inc/whitelist-runuser-common.inc | |||
@@ -13,3 +13,4 @@ whitelist ${RUNUSER}/pulse/native | |||
13 | whitelist ${RUNUSER}/wayland-0 | 13 | whitelist ${RUNUSER}/wayland-0 |
14 | whitelist ${RUNUSER}/wayland-1 | 14 | whitelist ${RUNUSER}/wayland-1 |
15 | whitelist ${RUNUSER}/xauth_* | 15 | whitelist ${RUNUSER}/xauth_* |
16 | whitelist ${RUNUSER}/[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]] | ||