Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!unmvax!ncar!tank!uxc!uxc.cso.uiuc.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!gsg0384 From: gsg0384@uxa.cso.uiuc.edu Newsgroups: comp.windows.x Subject: Re: Automatic logoff from X Message-ID: <127300001@uxa.cso.uiuc.edu> Date: 23 May 89 22:21:00 GMT References: <2429@uswat.UUCP> Lines: 26 Nf-ID: #R:uswat.UUCP:2429:uxa.cso.uiuc.edu:127300001:000:714 Nf-From: uxa.cso.uiuc.edu!gsg0384 May 23 17:21:00 1989 >From: rls@eatdust.uswest.COM () >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 all window managers have implemented an exit option. >On an HP machine, I was able to do an "exec x11start" in >my .profile, which Logged me off when I hit CTRL-SHIFT-RESET. >However, I would like this done under program control. Well, I am not sure I understand your request. The simplest thing to do is to put alias X 'xstart;logout' in '.cshrc' if you are running Csh. The next simplest thing is write a shell script that does the same thing as you did on your HP machines. Hugh gsg0384@uxa.cso.uiuc.edu