Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!ICASE.EDU!tom From: tom@ICASE.EDU (Tom Crockett) Newsgroups: comp.windows.x Subject: Re: Automatic logoff from X Message-ID: Date: 15 Jun 89 13:13:18 GMT References: Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 32 > *Excerpts from xpert: 14-Jun-89 Re: Automatic logoff from X Bob* > *Sutterfield@ohio-sta (851)* > It wouldn't quite provide an automatic (that is, timeout-driven) > logout from X, but how about a line like > exec xinit /usr/local/bin/X11/awm -e $HOME/.X11init > in .login (or .profile), then a menu entry like > "Log out": f.exit > in .awmrc? awm is among those that have implemented an exit option, > and if awm is xinit's "blessed client" and it exits, your whole server > will be shut down. If xinit replaced the login shell, then the user > will be logged out. I'm using exactly this strategy with awm and it works pretty well. The only problem I had was that several of the clients that I start up write to /dev/console before my console client gets fired up (even though I start it first), so I had to route output from a few things to /dev/null to avoid garbaging up the screen. Tom Crockett ICASE Institute for Computer Applications in Science and Engineering M.S. 132C e-mail: tom@icase.edu NASA Langley Research Center phone: (804) 864-2182 Hampton, VA 23665-5225