in the (lengthy) help output, display the path where our xdm is

configured to write authfiles to help the user find them

ok sthen@
This commit is contained in:
jcs 2010-03-30 19:57:28 +00:00
parent 2a307a8e93
commit c9ecc460b9
2 changed files with 14 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.13 2009/12/21 20:46:03 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.14 2010/03/30 19:57:28 jcs Exp $
COMMENT = VNC server for real X displays
DISTNAME = x11vnc-0.9.7
PKGNAME = ${DISTNAME}p0
PKGNAME = ${DISTNAME}p1
CATEGORIES = x11
HOMEPAGE = http://www.karlrunge.com/x11vnc/

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-x11vnc_help_c,v 1.1 2010/03/30 19:57:28 jcs Exp $
--- x11vnc/help.c.orig Mon Mar 29 20:35:00 2010
+++ x11vnc/help.c Mon Mar 29 20:35:14 2010
@@ -4978,7 +4978,7 @@ void xopen_display_fail_message(char *disp) {
fprintf(stderr, " -auth /var/lib/gdm/:0.Xauth\n");
fprintf(stderr, " kdm: -auth /var/lib/kdm/A:0-crWk72\n");
fprintf(stderr, " -auth /var/run/xauth/A:0-crWk72\n");
- fprintf(stderr, " xdm: -auth /var/lib/xdm/authdir/authfiles/A:0-XQvaJk\n");
+ fprintf(stderr, " xdm: -auth /etc/X11/xdm/authdir/authfiles/A:0-XQvaJk\n");
fprintf(stderr, " dtlogin: -auth /var/dt/A:0-UgaaXa\n");
fprintf(stderr, "\n");
fprintf(stderr, " Sometimes the command \"ps wwwwaux | grep auth\""