Path: utzoo!attcan!uunet!jarthur!elroy.jpl.nasa.gov!decwrl!shelby!neon!Gang-of-Four!weening From: weening@Gang-of-Four.Stanford.EDU (Joe Weening) Newsgroups: comp.windows.x Subject: Re: xdmshell and sessreg Message-ID: <1990Feb20.182218.26823@Neon.Stanford.EDU> Date: 20 Feb 90 18:22:18 GMT References: <1990Feb12.213313.422@Neon.Stanford.EDU> Sender: root@Neon.Stanford.EDU (System PRIVILEGED Account) Organization: Computer Science Department, Stanford University Lines: 47 In-Reply-To: weening@Gang-of-Four.Stanford.EDU's message of Mon, 12 Feb 90 21:33:13 GMT 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::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