[10758] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 7.6E: /etc/athena/login/Xsession nocalls bug + fix

daemon@ATHENA.MIT.EDU (Calvin Clark)
Fri Aug 13 16:45:02 1993

From: Calvin Clark <ckclark@MIT.EDU>
To: testers@Athena.MIT.EDU
Cc: bugs@Athena.MIT.EDU
Date: Fri, 13 Aug 93 16:44:39 EDT

System name:		binkley
Type and version:	CVAXSTAR 7.6E
Display type:		SM

What were you trying to do?
	Log in without customizations.

What's wrong:

	I still didn't get the Athena tcsh as a shell,
	even though this release is running the patch
	I submitted to fix this (see [3089] in rel-eng.)

What should have happened:

	I should have gotten the Athena tcsh.  The reason I did not
	is that the nocalls section of /usr/athena/lib/init/xsession
	is never executed!  That section of the code, which should
	cause a message like:

16:16 xsession: Running standard xsession with NO user configuration files...

	to be printed to the console, and where NOCALLS and SHELL
	should be set, is *never* run because
	/usr/athena/lib/init/xsession is not called with the
	"-nocalls" argument, like it should be.  Instead, NOCALLS is
	set in /etc/athena/login/Xsession.  This is wrong.  Someone
	must have added it there as quick fix or something.  The
	correct behavior is for it to call $initdir/xsession
	with -nocalls.  The following change should be made.  Note that
	there are other Xsession files for the sun and rios in
	that directory which also need fixing if they are installed.

*** /source/athena/athena.etc/xdm/conf/Xsession	Mon May 18 16:23:06 1992
--- Xsession	Fri Aug 13 16:13:16 1993
***************
*** 19,26 ****
  	fi
  	;;
  2)
! 	NOCALLS=1; export NOCALLS
! 	session="$initlib/xsession"
  	;;
  3)
  	session="xterm -ls -geometry 80x24+280+220 -display :0.0"
--- 19,25 ----
  	fi
  	;;
  2)
! 	session="$initlib/xsession -nocalls"
  	;;
  3)
  	session="xterm -ls -geometry 80x24+280+220 -display :0.0"



Please describe any relevant documentation references:	
	
	None.

home help back first fref pref prev next nref lref last post