home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14140 < prev    next >
Encoding:
Text File  |  1992-07-21  |  853 b   |  25 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!centerline!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!cs.utexas.edu!tamsun.tamu.edu!inetg1!cgp
  3. From: cgp@Arco.COM (Chris Phillips  (214) 754-6419)
  4. Subject: faking xlock with kill -STOP <X server PID>
  5. Message-ID: <1992Jul21.143641.20596@Arco.COM>
  6. Organization: ARCO Oil and Gas Company
  7. Distribution: usa
  8. Date: Tue, 21 Jul 1992 14:36:41 GMT
  9. Lines: 14
  10.  
  11. Unfortunately xlock doesn't just sleep; it does hinder the
  12. execution of other processes.  But if the X server is
  13. SIGSTOPped, won't this have the same effect?  The only drawback
  14. I see is that you will need to login somewhere else and send it
  15. a SIGCONT.
  16.  
  17. Of course, keystrokes are not ignored and you should do something
  18. like
  19.     $ sleep 5; kill -STOP <X server PID>
  20.  
  21. Then move the pointer to the root window.
  22. Are there any security problems with this?
  23.  
  24. Chris
  25.