Subject: xsrc/26035: Crossbuild xdm-config disables xauth
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <abs@mono.org>
List: netbsd-bugs
Date: 06/24/2004 12:46:56
>Number: 26035
>Category: xsrc
>Synopsis: Crossbuild xdm-config disables xauth
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 24 11:47:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: David Brownlee
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD tll.i.purplei.com 2.0_BETA NetBSD 2.0_BETA (_X86_NOACPI_) #0: Tue
Jun 15 11:13:04 BST 2004 abs@tll.i.purplei.com:/var/obj/i386/files/netbsd/2.0/s
ys/arch/i386/compile/_X86_NOACPI_ i386
Architecture: i386
Machine: i386
>Description:
A cross-built x11 does not define XDMAUTHDIR in the build of xdm.
This results in /usr/X11R6/lib/X11/xdm/xdm-config with
DisplayManager.authDir: XDMAUTHDIR
thus disabling xauth and leaving the session completely wide open
>How-To-Repeat:
Build x11 from build.sh
>Fix:
Adding the following to CPPFLAGS in x11/bin/xdm/Makefile.xdm should
work:
-DXDMAUTHDIR=\"${X11LIBDIR}/xdm\" \
-current has this fixed in a different way - it sets the dir to
/var/db/xdm...
>Release-Note:
>Audit-Trail:
>Unformatted: