Re: xdm and user's profiles
Goswin Brederlow wrote:
>
> Michael Beattie <mickyb@es.co.nz> writes:
>
> > [1 <text/plain; us-ascii (quoted-printable)>]
> > On Mon, Nov 29, 1999 at 05:54:15PM +0100, Goswin Brederlow wrote:
> > >
> > > If you need system wide enviroment stuff, put it in
> > > /etc/enviroment. Its the only place used by all shells, since its
> > > passed as the initial enviroment to all shells.
> >
> > Not true. I cannot get /etc/environment values to be set when I use xdm to
> > log into X. I have not tried via startx, but I presume that will work.
Just use this (before anything else) in the /etc/X11/Xsession:
if [ -f /etc/environment ]; then
. /etc/environment
fi
-Brian
--
Brian Rectanus
Computer Systems Engineer/DBA
Virginia Tech University
brectanu@vt.edu
Reply to: