From 067a88160c994e364ebb23900228633b84f99e91 Mon Sep 17 00:00:00 2001 From: runge Date: Fri, 10 Sep 2010 14:26:58 -0400 Subject: update to x11vnc 0.9.12 --- x11vnc/user.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'x11vnc/user.c') 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")) { -- cgit v1.2.1