Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 1999 10:41:58 +1300 (NZDT)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Fred Condo <fcondo@csuchico.edu>
Cc:        "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>
Subject:   Re: Setting environment variables for an X session
Message-ID:  <Pine.SC5.4.10.9902231037430.23143-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <36D1CBB4.B8C4FF50@csuchico.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Feb 1999, Fred Condo wrote:

> One thing I do not understand is where to set environment variables such
> as NNTP_SERVER or LD_LIBRARY_PATH (for real video) or MANPATH (I can't
> get xman to see local man pages, for example). When I used only text or
> telnet modes, I set these in .profile.
> 
> Here is how I have X set up:
> 
> /etc/ttys says:
> ttyv3	"/usr/X11R6/bin/xdm -nodaemon"	xterm	on secure

For xdm, check out ~/.xsession. Bascially, you set up all the required
environment variables there before you invoke your window-manager.

eg:

	#!/bin/sh
	PATH=${PATH}:/usr/local/bin:${HOME}/bin
	export PATH

	xclock -geometry 100x100+1100+0 &
	wmaker

Jonathan Chen
---------------------------------------------------------------------
                             Who dares nothing, need hope for nothing



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SC5.4.10.9902231037430.23143-100000>