[2755] in Athena Bugs
6.3B "system default" xsession file doesn't work as advertised
daemon@ATHENA.MIT.EDU (John E Elsbree (Athena Doc Staff))
Thu Aug 10 10:33:08 1989
To: bugs@ATHENA.MIT.EDU
Cc: probe@ATHENA.MIT.EDU, epeisach@ATHENA.MIT.EDU, kcunning@ATHENA.MIT.EDU
Date: Thu, 10 Aug 89 10:32:36 EDT
From: John E Elsbree (Athena Doc Staff) <elsj@ATHENA.MIT.EDU>
This is a high-priority problem with the 6.3B release. Until it is fixed,
users cannot do a proper "system default" login!!!
The system default xsession file (/usr/athena/lib/init/xsession) IS NOT
IGNORING the user's personal customization files. This is due to a change
in the way the user's choice of "system default" is conveyed from the
/etc/athena/xdm/Xsession file to the /usr/athena/lib/init/xsession file.
/etc/athena/xdm/Xsession sets an environment variable, NOCALLS, to indicate
that "system default" was selected. /usr/athena/lib/init/xsession expects
to be invoked with an explicit argument, "nocalls", to indicate "system
default". If /usr/athena/lib/init/xsession sees no such argument (which is
the case when it is invoked by /etc/athena/xdm/Xsession), it unsets the
NOCALLS environment variable, and goes on with its business.
The net effect is that the user's personal xsession file is not used, but
all of the user's other customized files (.cshrc, .environment, .path,
.startup.X) are used.
Fix:
Change /usr/athena/lib/init/xsession to not bother checking its arguments...
the NOCALLS environment variable is correctly set by /etc/athena/xdm/Xsession.
- John