summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.c
diff options
context:
space:
mode:
authorrunge <runge@karlrunge.com>2009-12-18 23:38:28 -0500
committerrunge <runge@karlrunge.com>2009-12-18 23:38:28 -0500
commit95f709fa60acbf900bddc4284682e9dfcf314697 (patch)
tree2904f1c11e356957440e3eb0f7ba80d71c045afb /x11vnc/x11vnc.c
parent06987b1c0216429e6744bf5a2c306d0e6853f879 (diff)
downloadlibtdevnc-95f709fa60acbf900bddc4284682e9dfcf314697.tar.gz
libtdevnc-95f709fa60acbf900bddc4284682e9dfcf314697.zip
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.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r--x11vnc/x11vnc.c5
1 files changed, 3 insertions, 2 deletions
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;
}