From owner-freebsd-questions Wed Sep 29 11:37:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dt014n8c.san.rr.com (dt011n66.san.rr.com [204.210.13.102]) by hub.freebsd.org (Postfix) with ESMTP id 1F6CA15161 for ; Wed, 29 Sep 1999 11:37:18 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from localhost (doug@localhost) by dt014n8c.san.rr.com (8.9.3/8.8.8) with ESMTP id LAA31569; Wed, 29 Sep 1999 11:37:09 -0700 (PDT) (envelope-from Doug@gorean.org) Date: Wed, 29 Sep 1999 11:37:09 -0700 (PDT) From: Doug X-Sender: doug@dt014n8c.san.rr.com To: Stephen Krauth Cc: questions@freebsd.org Subject: Re: .xsession path In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 28 Sep 1999, Stephen Krauth wrote: > Ok, probably an annoying FAQ, but this is something I've always wondered > about - what is the right way to deal with the lack of a proper path when > .xsession is executed? > It seems pretty kludgy to modify $path in .xsession Why? The fact that xdm currently does not deal appropriately with login.conf stuff has been discussed (http://www.freebsd.org/cgi/query-pr.cgi?pr=13614), but essentially xdm takes over as the "login environment" so anything you want set in your environment belongs there. I have been thinking of modifying my .bash_profile to be more sh-like then just doing '. $HOME/.bash_profile' in .xsession, but I haven't gotten around to it yet. Either way setting your environment in .xsession is the appropriate solution, at least until the issues surrounding incorporating login.conf stuff into xdm are resolved, and perhaps after that too depending on your view of login.conf. Good luck, Doug -- "Stop it, I'm gettin' misty." - Mel Gibson as Porter, "Payback" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message