diff options
Diffstat (limited to 'src/firejail/x11.c')
-rw-r--r-- | src/firejail/x11.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/firejail/x11.c b/src/firejail/x11.c index 3903b4709..7040dea18 100644 --- a/src/firejail/x11.c +++ b/src/firejail/x11.c | |||
@@ -347,12 +347,6 @@ void x11_start_xvfb(int argc, char **argv) { | |||
347 | } | 347 | } |
348 | free(fname); | 348 | free(fname); |
349 | 349 | ||
350 | if (arg_debug) { | ||
351 | printf("X11 sockets: "); fflush(0); | ||
352 | int rv = system("ls /tmp/.X11-unix"); | ||
353 | (void) rv; | ||
354 | } | ||
355 | |||
356 | assert(display_str); | 350 | assert(display_str); |
357 | setenv("DISPLAY", display_str, 1); | 351 | setenv("DISPLAY", display_str, 1); |
358 | // run attach command | 352 | // run attach command |
@@ -582,12 +576,6 @@ void x11_start_xephyr(int argc, char **argv) { | |||
582 | } | 576 | } |
583 | free(fname); | 577 | free(fname); |
584 | 578 | ||
585 | if (arg_debug) { | ||
586 | printf("X11 sockets: "); fflush(0); | ||
587 | int rv = system("ls /tmp/.X11-unix"); | ||
588 | (void) rv; | ||
589 | } | ||
590 | |||
591 | assert(display_str); | 579 | assert(display_str); |
592 | setenv("DISPLAY", display_str, 1); | 580 | setenv("DISPLAY", display_str, 1); |
593 | // run attach command | 581 | // run attach command |
@@ -755,12 +743,6 @@ void x11_start_xpra_old(int argc, char **argv, int display, char *display_str) { | |||
755 | } | 743 | } |
756 | free(fname); | 744 | free(fname); |
757 | 745 | ||
758 | if (arg_debug) { | ||
759 | printf("X11 sockets: "); fflush(0); | ||
760 | int rv = system("ls /tmp/.X11-unix"); | ||
761 | (void) rv; | ||
762 | } | ||
763 | |||
764 | // build attach command | 746 | // build attach command |
765 | char *attach_argv[] = { "xpra", "--title=\"firejail x11 sandbox\"", "attach", display_str, NULL }; | 747 | char *attach_argv[] = { "xpra", "--title=\"firejail x11 sandbox\"", "attach", display_str, NULL }; |
766 | 748 | ||