summaryrefslogtreecommitdiffstats
path: root/x11vnc/connections.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/connections.c')
-rw-r--r--x11vnc/connections.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11vnc/connections.c b/x11vnc/connections.c
index d8dbea5..53231ee 100644
--- a/x11vnc/connections.c
+++ b/x11vnc/connections.c
@@ -1491,6 +1491,12 @@ static int do_reverse_connect(char *str) {
return 0;
} else {
rfbLog("reverse_connect: %s/%s OK\n", str, cl->host);
+ /* let's see if anyone complains: */
+ if (! getenv("X11VNC_REVERSE_CONNECTION_NO_AUTH")) {
+ rfbLog("reverse_connect: turning on auth for %s\n",
+ cl->host);
+ cl->reverseConnection = FALSE;
+ }
return 1;
}
}
OpenPOWER on IntegriCloud