aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Aleksey Manevich <manevich.aleksey@gmail.com>2016-09-12 16:00:58 +0300
committerLibravatar Aleksey Manevich <manevich.aleksey@gmail.com>2016-09-12 18:27:33 +0300
commit025aae5bd230a5a1809f52e714801ec77f370652 (patch)
tree6780fbc7bb1b130f48a0640453bf3ac6b1f3f6ef /src
parentgrsecurity fix (diff)
downloadfirejail-025aae5bd230a5a1809f52e714801ec77f370652.tar.gz
firejail-025aae5bd230a5a1809f52e714801ec77f370652.tar.zst
firejail-025aae5bd230a5a1809f52e714801ec77f370652.zip
change error message
Diffstat (limited to 'src')
-rw-r--r--src/firejail/x11.c7
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