> It is indeed executing /etc/X11/Xsession for all chosen options, but from > looking at the script my understanding is that $startup (later > $real-startup) has the following value: > > kdm option kde2: kde2 > kdm option default: $HOME/.xsession > kdm option failsafe: x-terminal-emulator > > only $startup is executed: if it's kde2, $HOME/.xsession is not executed.
according to the X scripts (first Xsession then the files in Xsession.d/) startup=$HOME/.xsession then it checks to see if what it was passed (kde2/default/failsafe) exists... if it is it changes $startup to it. then it checks to see if $startup exists..then to see if allow-user-xsession is set in /etc/X11/Xsession.options and if it is then realstartup = startup (or sh startup depending on if it's executable or not) now..if either $startup doesn't exist or allow-user-xsession isn't set then realstartup = x-window-manager. hmmm...so it's a Debian X feature. :) Ivan -- ---------------- Ivan E. Moore II [EMAIL PROTECTED] http://snowcrash.tdyc.com GPG KeyID=90BCE0DD GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD

