diff options
author | runge <runge@karlrunge.com> | 2010-09-10 14:26:58 -0400 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2010-09-10 14:26:58 -0400 |
commit | 067a88160c994e364ebb23900228633b84f99e91 (patch) | |
tree | af2b04b5a044482e35fce85bc48b5504f5e8a2ea /x11vnc/user.c | |
parent | ad254469783b4720db64d8ebeeb12aeb0533e542 (diff) | |
download | libtdevnc-067a88160c994e364ebb23900228633b84f99e91.tar.gz libtdevnc-067a88160c994e364ebb23900228633b84f99e91.zip |
update to x11vnc 0.9.12
Diffstat (limited to 'x11vnc/user.c')
-rw-r--r-- | x11vnc/user.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/x11vnc/user.c b/x11vnc/user.c index 150ad37..e9028ba 100644 --- a/x11vnc/user.c +++ b/x11vnc/user.c @@ -1985,8 +1985,9 @@ static char *build_create_cmd(char *cmd, int *saw_xdmcp, char *usslpeer, char *t fdxdmcpif[0] = '\0'; cdout[0] = '\0'; - if (unixpw && keep_unixpw_opts && keep_unixpw_opts[0] != '\0') { + if (unixpw && keep_unixpw_opts && !getenv("X11VNC_NO_UNIXPW_OPTS")) { char *q, *p, *t = strdup(keep_unixpw_opts); + if (strstr(t, "gnome")) { sprintf(fdsess, "gnome"); } else if (strstr(t, "kde")) { |