summaryrefslogtreecommitdiffstats
path: root/x11vnc/user.c
diff options
context:
space:
mode:
authorrunge <runge@karlrunge.com>2009-11-18 18:25:36 -0500
committerrunge <runge@karlrunge.com>2009-11-18 18:25:36 -0500
commit09f63f0395fe103fd1442b2b012b98f2cda2dcd3 (patch)
treed38a54ba7dc61a229cdf2b83acf21d86eb672cde /x11vnc/user.c
parent49cdfb4c1f25b371474f3a355e205471daa08640 (diff)
downloadlibtdevnc-09f63f03.tar.gz
libtdevnc-09f63f03.zip
x11vnc: -findauth, -auth guess, & etc.
Diffstat (limited to 'x11vnc/user.c')
-rw-r--r--x11vnc/user.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11vnc/user.c b/x11vnc/user.c
index 363d02e..d70ce0d 100644
--- a/x11vnc/user.c
+++ b/x11vnc/user.c
@@ -1590,7 +1590,7 @@ static void loop_for_connect(int did_client_connect) {
if (screen && screen->clientHead) {
int i;
if (unixpw) {
- if (! unixpw_in_progress) {
+ if (! unixpw_in_progress && !vencrypt_enable_plain_login) {
rfbLog("unixpw but no unixpw_in_progress\n");
clean_up_exit(1);
}
@@ -1648,7 +1648,7 @@ static void loop_for_connect(int did_client_connect) {
static void do_unixpw_loop(void) {
if (unixpw) {
- if (! unixpw_in_progress) {
+ if (! unixpw_in_progress && !vencrypt_enable_plain_login) {
rfbLog("unixpw but no unixpw_in_progress\n");
clean_up_exit(1);
}
@@ -2785,7 +2785,9 @@ int wait_for_client(int *argc, char** argv, int http) {
if (db) fprintf(stderr, "args %d %s\n", i, argv[i]);
}
if (!quiet && !strstr(use_dpy, "FINDDISPLAY-run")) {
+ rfbLog("\n");
rfbLog("wait_for_client: %s\n", use_dpy);
+ rfbLog("\n");
}
str = strdup(use_dpy);