home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!dog.ee.lbl.gov!network.ucsd.edu!sdcc12!xm9
- From: xm9@sdcc12.ucsd.edu (richard g. adair)
- Newsgroups: comp.sys.hp
- Subject: Re: inverse to x11start
- Summary: logging out at X finish
- Keywords: X
- Message-ID: <43969@sdcc12.ucsd.edu>
- Date: 24 Jan 93 16:57:43 GMT
- References: <1jn9hfINNl1h@shelley.u.washington.edu> <1jnibuINNp5@hpfcbig.sde.hp.com>
- Sender: news@sdcc12.ucsd.edu
- Distribution: na
- Organization: Arete Associates, San Diego
- Lines: 27
- Nntp-Posting-Host: sdcc12.ucsd.edu
-
- In article <1jnibuINNp5@hpfcbig.sde.hp.com> pld@fc.hp.com (Paul_Dineen) writes:
- >Kevin Caskey (kevin@carson.u.washington.edu) wrote:
- >: I am at a loss to find a way to log out on my hp9000-340.
- >: when I log in x windows does not start by default. To start it I
- >: issue the x11start command. X windows then starts up. However, I can not
- >: log out from x windows nor shut it down. Last night I shut off the machine
- >: just to log off. There must be a cleaner way.
- >
- > Are you using Motif? If so, use a root window definition like the
- > following in your .mwmrc file:
-
- This works form mwm, but not for other managers. If you look at
- your x11start script, you will see that the last program started
- automatically has an & after it, then a BIG sleep command which will
- wait for the &'ed command to exit. If the window manager is the one
- &'ed then you will exit X when the window manager exits. If not,
- killing all the &'ed programs (usually an xterm is the chosen one)
- will exit X for you.
-
- Of course, this will not log you out of your original session. To
- do this, you should "exec x11start" which will replace the current
- shell with the script x11start. When the x11start script
- terminates, the login program is restarted by init...
-
- Tony Burzio
- Arete Associates
- San Diego, CA
-