summaryrefslogtreecommitdiffstats
path: root/x11vnc/sslcmds.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/sslcmds.c
parentc997e901c4c268438d063a78bdb121b8f5e8d585 (diff)
downloadlibvncserver-5e72609631a1893acfe6a31d0129553ed3044a20.zip
libvncserver-5e72609631a1893acfe6a31d0129553ed3044a20.tar.gz
x11vnc: do CLIPBOARD, reverse conn require passwds, -usepw, -debug_sel, -storepasswd homedir.
Diffstat (limited to 'x11vnc/sslcmds.c')
-rw-r--r--x11vnc/sslcmds.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11vnc/sslcmds.c b/x11vnc/sslcmds.c
index 1fc0144..63ffacf 100644
--- a/x11vnc/sslcmds.c
+++ b/x11vnc/sslcmds.c
@@ -96,6 +96,14 @@ int start_stunnel(int stunnel_port, int x11vnc_port) {
return 0;
}
+ if (no_external_cmds) {
+ rfbLogEnable(1);
+ rfbLog("start_stunnel: cannot run external commands in -nocmds mode:\n");
+ rfbLog(" \"%s\"\n", stunnel_path);
+ rfbLog(" exiting.\n");
+ clean_up_exit(1);
+ }
+
if (! quiet) {
rfbLog("\n");
rfbLog("starting ssl tunnel: %s %d -> %d\n", stunnel_path,
OpenPOWER on IntegriCloud