diff options
Diffstat (limited to 'src/firejail/x11.c')
-rw-r--r-- | src/firejail/x11.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/firejail/x11.c b/src/firejail/x11.c index 48af39caf..774294ff1 100644 --- a/src/firejail/x11.c +++ b/src/firejail/x11.c | |||
@@ -598,9 +598,10 @@ void x11_block(void) { | |||
598 | if ((!arg_nonetwork && !cfg.bridge0.configured && !cfg.interface0.configured) | 598 | if ((!arg_nonetwork && !cfg.bridge0.configured && !cfg.interface0.configured) |
599 | && x11_abstract_sockets_present()) { | 599 | && x11_abstract_sockets_present()) { |
600 | fprintf(stderr, "ERROR: --x11=block specified, but abstract X11 socket still accessible.\n" | 600 | fprintf(stderr, "ERROR: --x11=block specified, but abstract X11 socket still accessible.\n" |
601 | "Additional setup required. To block abstract X11 socket you need either:\n" | 601 | "Additional setup required. To block abstract X11 socket you can either:\n" |
602 | " * use network namespace (--net=none, --net=...)\n" | 602 | " * use network namespace in firejail (--net=none, --net=...)\n" |
603 | " * add \"-nolisten local\" to xserver options (eg. /etc/X11/xinit/xserverrc)\n"); | 603 | " * add \"-nolisten local\" to xserver options\n" |
604 | " (eg. to your display manager config, or /etc/X11/xinit/xserverrc)\n"); | ||
604 | exit(1); | 605 | exit(1); |
605 | } | 606 | } |
606 | 607 | ||