Re: xdm and login shells

[ Available lists | Index of freebsd-questions | Month of Jan 1995 | Week of 24 Jan 1995 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
John Fieber <jfieber@cs.smith.edu>
Date
24 Jan 1995 10:05:50
Subject
Re: xdm and login shells
Message-ID
199501241805.NAA10002@grendel.csc.smith.edu


[ Hide this part ]
Jeff Haynes writes:
> I run xdm, but can't figure out how to have xdm start a login shell
> aftera user logs in. I need this because I need the shell to source
> /etc/profile to pick up env stuff. I know that I can source /etc/profile
> from the user's .profile, but that it seems that xdm should have this
> capability.
>
> Is this a bug or a config problem. I sure can't find anything in the docs.
> (Maybe I overlooked something?)

Xdm as configured out-of-the-box in the XFree86 distribution runs
a couple scripts in /usr/(X386|X11R6)/lib/X11/xdm. You can
modify these to do whatever you wish.

I have xdm and shells look for $HOME/.environment and source it
if it exists. It works pretty well for me since I can then put
other garbage in ~/.profile that doesn't make sense for xdm. Of
course, you would have to document this feature for your users.

-john


=== jfieber@cs.smith.edu ================================================
=================================== Come up and be a kite! --K. Bush ===


Elapsed time: 0.104 seconds