> Marc Wilson wrote: >> Bob Proulx wrote: >> > Xsession does not spawn a login shell. >> >> Why should it? > > * Because it provides the most user convenient way for the user to log > in and have their login environment. > > * Because not doing so has been a long term problem for users. > > * Because not doing so causes there to be a difference between logging > in with xdm versus logging in with ssh.
Note that *dm have their own Xsession files (e.g. /etc/kde3/kdm/Xsession fro kdm), that just source /etc/X11/Xsession. I believe that dm-specific Xsessions should launch login shell.