home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp / 15280 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.8 KB

  1. 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
  2. From: xm9@sdcc12.ucsd.edu (richard g. adair)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: inverse to x11start
  5. Summary: logging out at X finish
  6. Keywords: X
  7. Message-ID: <43969@sdcc12.ucsd.edu>
  8. Date: 24 Jan 93 16:57:43 GMT
  9. References: <1jn9hfINNl1h@shelley.u.washington.edu> <1jnibuINNp5@hpfcbig.sde.hp.com>
  10. Sender: news@sdcc12.ucsd.edu
  11. Distribution: na
  12. Organization: Arete Associates, San Diego
  13. Lines: 27
  14. Nntp-Posting-Host: sdcc12.ucsd.edu
  15.  
  16. In article <1jnibuINNp5@hpfcbig.sde.hp.com> pld@fc.hp.com (Paul_Dineen) writes:
  17. >Kevin Caskey (kevin@carson.u.washington.edu) wrote:
  18. >: I am at a loss to find a way to log out on my hp9000-340.
  19. >: when I log in x windows does not start by default. To start it I
  20. >: issue the x11start command. X windows then starts up. However, I can not
  21. >: log out from x windows nor shut it down. Last night I shut off the machine
  22. >: just to log off. There must be a cleaner way.
  23. >
  24. >  Are you using Motif?  If so, use a root window definition like the
  25. >  following in your .mwmrc file:
  26.  
  27. This works form mwm, but not for other managers.  If you look at
  28. your x11start script, you will see that the last program started
  29. automatically has an & after it, then a BIG sleep command which will
  30. wait for the &'ed command to exit.  If the window manager is the one
  31. &'ed then you will exit X when the window manager exits.  If not,
  32. killing all the &'ed programs (usually an xterm is the chosen one)
  33. will exit X for you.
  34.  
  35. Of course, this will not log you out of your original session.  To
  36. do this, you should "exec x11start" which will replace the current
  37. shell with the script x11start.  When the x11start script
  38. terminates, the login program is restarted by init...
  39.  
  40. Tony Burzio
  41. Arete Associates
  42. San Diego, CA
  43.