summaryrefslogtreecommitdiffstats
path: root/x11vnc/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/user.c')
-rw-r--r--x11vnc/user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11vnc/user.c b/x11vnc/user.c
index 297e2f7..444fd17 100644
--- a/x11vnc/user.c
+++ b/x11vnc/user.c
@@ -1412,6 +1412,7 @@ int wait_for_client(int *argc, char** argv, int http) {
if (fd >= 0) {
write(fd, find_display, strlen(find_display));
close(fd);
+ set_env("FINDDISPLAY_run", "1");
sprintf(com, "/bin/sh %s -n; rm -f %s", tmp, tmp);
system(com);
}