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
> 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.
=== email@example.com ================================================
=================================== Come up and be a kite! --K. Bush ===