weening@Gang-of-Four.Stanford.EDU (Joe Weening) (02/13/90)
mit/clients/xdm contains the programs "xdmshell" and "sessreg", which look interesting and useful, but there isn't much documentation. - Should these programs be installed in /usr/bin/X11? - Is there a man page for xdmshell? - Does anyone have examples of their use? I'm particularly interested in their use with X terminals, with xdm running on a separate host. -- Joe Weening Computer Science Dept. weening@Gang-of-Four.Stanford.EDU Stanford University
weening@Gang-of-Four.Stanford.EDU (Joe Weening) (02/21/90)
I received the following reply to a message that I posted last week, and also a request to post it to the net, so here it is: Date: Mon, 19 Feb 90 14:59:49 -0500 From: rws@expo.lcs.mit.edu (Bob Scheifler) In case no one else has answered: - Should these programs be installed in /usr/bin/X11? Not necessarily, since they normally don't normally get run by users. xdmshell can be installed there, but it normally gets referenced only in an /etc/passwd entry, so it can be anywhere. sessreg could just be installed in your /usr/lib/X11/xdm/ directory, since it's normally only referenced from Xstartup/Xreset scripts. - Is there a man page for xdmshell? Oops, apparently not. - Does anyone have examples of their use? xdm:<PASSWORD>:11094:40:X Display Manager:/tmp:/etc/xdmshell #!/bin/sh # # Xstartup # # This program is run as root after the user is verified # /usr/lib/X11/xdm/sessreg -l $DISPLAY -x /usr/lib/X11/xdm/Xservers -a $USER exit 0 #!/bin/sh # # Xreset # # This program is run as root after the session terminates but # before the display is closed # /usr/lib/X11/xdm/sessreg -l $DISPLAY -x /usr/lib/X11/xdm/Xservers -d $USER -- Joe Weening Computer Science Dept. weening@Gang-of-Four.Stanford.EDU Stanford University