Replies: 2 comments 5 replies
-
Originally there was only firejail/etc/templates/profile.template Line 177 in b0eb973 For all other profiles (cli/tui but inet) we used only This should make - fprintf(stderr, "ERROR: --x11=none specified, but abstract X11 socket still accessible.\n"
+ fprintf(stderr, "WARN: --x11=none specified, but abstract X11 socket still accessible.\n"
"Additional setup required. To block abstract X11 socket you can either:\n"
" * use network namespace in firejail (--net=none, --net=...)\n"
" * add \"-nolisten local\" to xserver options\n"
" (eg. to your display manager config, or /etc/X11/xinit/xserverrc)\n");
- exit(1); |
Beta Was this translation helpful? Give feedback.
-
I noticed that many profiles contain Thoughts on replacing the former with the latter in all profiles? Also for consistency, how about adding |
Beta Was this translation helpful? Give feedback.
-
Why is there both
x11 none
and disable-X11.inc (#4462)?Should currently both always be used together?
From
src/firejail/x11.c
(the function is called withx11 none
):disable-X11.inc:
Other than the common paths, it looks like disable-X11.inc blocks some extra
files in
${RUNUSER}
and in /tmp, whilex11 none
(i.e.:arg_x11_block
)blocks the path stored in the
$XAUTHORITY
env var and also prevents~/.Xauthority from being bind-mounted. From
src/firejail/fs_home.c
:Shouldn't at least the blacklisting be centralized in one place?
Misc: I noticed this on #4841.
Cc: @rusty-snake
Beta Was this translation helpful? Give feedback.
All reactions