Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!wastebasket From: wastebasket@LARRY.MCRCIM.MCGILL.EDU Newsgroups: comp.windows.x Subject: Re: Automatic logoff from X Message-ID: <8905272151.AA26561@Larry.McRCIM.McGill.EDU> Date: 27 May 89 21:51:55 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 25 >>> I would like to put an "exit" option on the window mgr menu which >>> would not only exit the user from X, but also log them out of UNIX. Not possible, in general - if the user runs xinit explicitly, you don't really have any way to log them off. And suppose the wm isn't running on the same machine as the X server? How do you tell? >> [someone suggests] >> alias X 'xstart;logout' > Uh...I wouldn't make an alias of "X". That's your server. That doesn't hurt anything. Users don't run the server from their shells directly (at least one would hope not), and programs like xinit that try to exec() the server don't see shell aliases. The only potential problem is confusing someone, and presumably someone who's trying to run the server directly already knows enough not to get confused. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu (Use the signature address for mail, not the header address.)