summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.c
diff options
context:
space:
mode:
authorrunge <runge>2007-09-26 19:20:56 +0000
committerrunge <runge>2007-09-26 19:20:56 +0000
commit54237e338b0406e553df55d91509248e8c13eee0 (patch)
tree320b51a872d7da7b403bbc4f01832d9feeeccaa7 /x11vnc/x11vnc.c
parent1df143d1a156e112e9d9ae174bb89a173fe105fe (diff)
downloadlibvncserver-54237e338b0406e553df55d91509248e8c13eee0.zip
libvncserver-54237e338b0406e553df55d91509248e8c13eee0.tar.gz
x11vnc: COLUMNS=256 and other fixes to find/create scripts. More ratecheck.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r--x11vnc/x11vnc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c
index 7da5122..b31284f 100644
--- a/x11vnc/x11vnc.c
+++ b/x11vnc/x11vnc.c
@@ -1026,6 +1026,8 @@ static void watch_loop(void) {
got_keyboard_calls = 0;
urgent_update = 0;
+ x11vnc_current = dnow();
+
if (! use_threads) {
dtime0(&tm);
if (! skip_pe) {
@@ -2518,6 +2520,10 @@ int main(int argc, char* argv[]) {
users_list = strdup("unixpw=");
use_openssl = 1;
openssl_pem = strdup("SAVE");
+ } else if (!strcmp(arg, "-sshxdmsvc")) {
+ use_dpy = strdup("WAIT:cmd=FINDCREATEDISPLAY-Xvfb.xdmcp");
+ allow_list = strdup("127.0.0.1");
+ got_localhost = 1;
#ifndef NO_SSL_OR_UNIXPW
} else if (!strcmp(arg, "-unixpw_cmd")
|| !strcmp(arg, "-unixpw_cmd_unsafe")) {
@@ -3880,7 +3886,7 @@ int main(int argc, char* argv[]) {
/* open the X display: */
if (auth_file) {
set_env("XAUTHORITY", auth_file);
-fprintf(stderr, "XA: %s\n", getenv("XAUTHORITY"));
+if (0) fprintf(stderr, "XA: %s\n", getenv("XAUTHORITY"));
}
#if LIBVNCSERVER_HAVE_XKEYBOARD
/*
OpenPOWER on IntegriCloud