Subject: xsrc/23174: xdm exits at startup
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 10/16/2003 23:24:25
>Number:         23174
>Category:       xsrc
>Synopsis:       xdm exits at startup
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 17 06:25:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang S. Rupprecht
>Release:        NetBSD 1.6ZD
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Environment:
	
	
System: NetBSD capsicum.wsrcc.com 1.6ZD NetBSD 1.6ZD (WSRCC_ATHLON) #0: Wed Oct 15 12:36:22 PDT 2003 wolfgang@capsicum.wsrcc.com:/var/obj/netbsd/sys/arch/i386/compile/WSRCC_ATHLON i386
Architecture: i386
Machine: i386
>Description:
	
	a natively compiled xdm refuses to run on 1.6ZD (xdm compiled
	and linked with stock gcc3.3.1 compiler on 1.6ZD.)

	/var/log/xdm-errors has a complaint that xdm can't find the
	library file /usr/X11R6/lib/X11/xdm/libXdmGreet.so .  Putting
	a symlink in there pointing towards
	/usr/X11R6/lib/libXdmGreet.so will allow xdm to hobble along
	and run, but the central xdm window is still messed up with no
	highlighting around the username and password text entry
	boxes.

	NB: there was never a libXdmGreet.so library in this
	directory.  Something changed and xdm is no longer looking in
	/usr/X11R6/lib/ .

>How-To-Repeat:

	compile and install a stock x11 from /usr/xsrc.  reboot to get
	a fresh start.  Realize that fresh starts aren't all they are
	cracked up to be. Congratulate oneself on having a few getty's
	on alternate screens.

>Fix:
	work around:

	cd /usr/X11R6/lib/X11/xdm/ && ln -s /usr/X11R6/lib/libXdmGreet.so .

	I suspect the loadpath logic for gcc3 is different.
>Release-Note:
>Audit-Trail:
>Unformatted: