From 95f709fa60acbf900bddc4284682e9dfcf314697 Mon Sep 17 00:00:00 2001 From: runge Date: Fri, 18 Dec 2009 23:38:28 -0500 Subject: Add tag=... to unixpw opts to set FD_TAG. Prefer Xvfb over Xdummy. Reduce wait time for https. Add 'Login succeeded' output to unixpw panel. --- x11vnc/x11vnc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'x11vnc/x11vnc.c') diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 9795dd3..d6429e3 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -793,7 +793,7 @@ static void check_redir_services(void) { } if (db) fprintf(stderr, "TS_REDIR_PID Atom: %d = '%s'\n", (int) a, prop); - if (getenv("FD_TAG")) { + if (getenv("FD_TAG") && strcmp(getenv("FD_TAG"), "")) { a = XInternAtom(dpy, "FD_TAG", False); if (a != None) { Window rwin = RootWindow(dpy, DefaultScreen(dpy)); @@ -4630,7 +4630,6 @@ int main(int argc, char* argv[]) { rfbLog("If you *actually* want SSL, restart" " with -ssl on the cmdline\n"); - fprintf(stderr, "\n"); if (! nopw) { usleep(2000*1000); } @@ -4647,10 +4646,12 @@ int main(int argc, char* argv[]) { use_stunnel = 1; } } + rfbLog("\n"); } if (use_threads && !getenv("UNIXPW_THREADS")) { if (! quiet) { rfbLog("disabling -threads under -unixpw\n"); + rfbLog("\n"); } use_threads = 0; } -- cgit v1.2.1