summaryrefslogtreecommitdiffstats
path: root/x11vnc/connections.c
diff options
context:
space:
mode:
authorrunge <runge>2006-03-08 17:52:23 +0000
committerrunge <runge>2006-03-08 17:52:23 +0000
commit5e72609631a1893acfe6a31d0129553ed3044a20 (patch)
treeb75197718dc94f26c56cdfbb39d069c79f1cd767 /x11vnc/connections.c
parentc997e901c4c268438d063a78bdb121b8f5e8d585 (diff)
downloadlibtdevnc-5e72609631a1893acfe6a31d0129553ed3044a20.tar.gz
libtdevnc-5e72609631a1893acfe6a31d0129553ed3044a20.zip
x11vnc: do CLIPBOARD, reverse conn require passwds, -usepw, -debug_sel, -storepasswd homedir.
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;
}
}