From andrew@beebite.ugh.net.au  Thu May  7 06:46:32 1998
Received: from int-mail.fl.net.au (root@int-mail.syd.fl.net.au [202.181.0.28])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA15109
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 7 May 1998 06:46:26 -0700 (PDT)
          (envelope-from andrew@beebite.ugh.net.au)
Received: from beebite.ugh.net.au (root@a5-p02.syd.fl.net.au [202.181.2.2]) by int-mail.fl.net.au (2.0/fl) with ESMTP id XAA22136 for <FreeBSD-gnats-submit@freebsd.org>; Thu, 7 May 1998 23:46:23 +1000 (EST)
Received: (from andrew@localhost)
	by beebite.ugh.net.au (8.8.8/8.8.8) id SAA04009;
	Mon, 4 May 1998 18:24:29 +1000 (EST)
	(envelope-from andrew)
Message-Id: <199805040824.SAA04009@beebite.ugh.net.au>
Date: Mon, 4 May 1998 18:24:29 +1000 (EST)
From: andrew@ugh.net.au
Reply-To: andrew@ugh.net.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: xdm had a hard coded path in it
X-Send-Pr-Version: 3.2

>Number:         6543
>Category:       bin
>Synopsis:       xdm had a hard coded path in it
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  7 06:50:01 PDT 1998
>Closed-Date:    Fri May 8 13:18:53 PDT 1998
>Last-Modified:  Fri May  8 13:19:25 PDT 1998
>Originator:     Andrew
>Release:        FreeBSD 2.2.6-STABLE i386
>Organization:
UgH!
>Environment:

2.2.6 as of a few days ago. I made world but didnt recompile X.

>Description:

I run xdm from /usr/local/etc/rc.d. I log in but my path is set to something
strange with /usr/gnu/bin in it. This path is apprently coming from
/usr/X11R6/lib/X11/config/FreeBSD.cf.

I tried setting up my path (and other environmental variables that also dont
show up) by setting them in my .xsession script. I also tried .login_conf but
that didnt work either.

>How-To-Repeat:

Just login using xdm.

>Fix:
	
A workaround would be to install the X sources and modify FreeBSD.cf before
compiling I would guess but the environment really shouldn't be stamped all over
anyway. Dont have the X sources installed to do a fix.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Fri May 8 13:18:53 PDT 1998 
State-Changed-Why:  
Sorry, you need to take this to the XFree86 people. 
(www.xfree86.org) 
>Unformatted:
