summaryrefslogtreecommitdiffstats
path: root/x11vnc/unixpw.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/unixpw.c
parent49cdfb4c1f25b371474f3a355e205471daa08640 (diff)
downloadlibvncserver-09f63f0395fe103fd1442b2b012b98f2cda2dcd3.zip
libvncserver-09f63f0395fe103fd1442b2b012b98f2cda2dcd3.tar.gz
x11vnc: -findauth, -auth guess, & etc.
Diffstat (limited to 'x11vnc/unixpw.c')
-rw-r--r--x11vnc/unixpw.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c
index 3f26319..950f3b0 100644
--- a/x11vnc/unixpw.c
+++ b/x11vnc/unixpw.c
@@ -468,10 +468,17 @@ void unixpw_screen(int init) {
if (unixpw_system_greeter) {
unixpw_system_greeter_active = 0;
if (use_dpy && strstr(use_dpy, "xdmcp")) {
- char moo[] = "Press 'Escape' for System Greeter";
+ if (getenv("X11VNC_SYSTEM_GREETER1")) {
+ char moo[] = "Press 'Escape' for System Greeter";
+ rfbDrawString(pscreen, &default8x16Font, x-90, y-30, moo, white_pixel());
+ } else {
+ char moo1[] = "Press 'Escape' for New Session via System Greeter,";
+ char moo2[] = "or otherwise login here for Existing Session: ";
+ rfbDrawString(pscreen, &default6x13Font, x-110, y-38, moo1, white_pixel());
+ rfbDrawString(pscreen, &default6x13Font, x-110, y-25, moo2, white_pixel());
+ }
set_env("X11VNC_XDM_ONLY", "0");
unixpw_system_greeter_active = 1;
- rfbDrawString(pscreen, &default8x16Font, x-90, y-30, moo, white_pixel());
}
}
OpenPOWER on IntegriCloud