home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / alt / hackers / 1293 < prev    next >
Encoding:
Internet Message Format  |  1992-08-15  |  2.1 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!klaava!hurtta
  2. From: hurtta@cs.Helsinki.FI (Kari E. Hurtta)
  3. Newsgroups: alt.hackers
  4. Subject: Re: First Post
  5. Message-ID: <HURTTA.92Aug15141307@plootu.Helsinki.FI>
  6. Date: 15 Aug 92 12:13:07 GMT
  7. References: <15tsluINNca6@seven-up.East.Sun.COM>
  8.     <1992Aug15.031932.12426@beaver.cs.washington.edu>
  9.     <cSc-CN_@engin.umich.edu>
  10. Sender: news@klaava.Helsinki.FI (Uutis Ankka)
  11. Organization: Department of Computer Science, University of Helsinki, Finland
  12. Lines: 36
  13. Approved: Kari.Hurtta@Helsinki.FI
  14. In-Reply-To: positron@engin.umich.edu's message of 15 Aug 92 03: 35:11 GMT
  15.  
  16. In article <cSc-CN_@engin.umich.edu> positron@engin.umich.edu (Jonathan Scott Haas) wrote:
  17. > ObHackQuestion: I'm new to UNIX and X-Windows (been hacking micros for a long
  18. > time now). Fairly recently I was sitting at a Sparc running X, doing some work,
  19. > when a message window popped up on my screen. I sure didn't cause it.
  20. > Someone started talking to me through it... I looked all over the computer
  21. > lab, nothing but innocent faces. I hadn't done an xhost +, but just to be
  22. > safe I did xhost - about a zillion times... I also did several whos and
  23. > a few rmproc -i's, nothing unusual showed up. Then the guy made a naked
  24. > GIF pop up on my screen, in the middle of this crowded computer lab... I
  25. > switched off, fast. I was a little pissed, but mainly drooling with envy.
  26. > How did the guy do it, and how can *I* do it? :)
  27.  
  28. In X-programs have option -display <display name> just use it.
  29. If option -display don't have given X-programs use environ variable $DISPLAY.
  30.  
  31.  
  32. xhost +            anyone can connext to you screen from any machine
  33. xhost -            anyone can connect to you screen from these machine
  34.                 what you have listed in list of xhost
  35.                 (just type: xhost)
  36.  
  37. Best security is when
  38. 1) xhost -        
  39. 2) list of xhost is _empty_
  40.  
  41. Then of course yourself can't connect to you screen, _except_
  42. when you use Xauthority (this must turn on when X-server is started).
  43.  
  44. (I strongly recomment to configure system to use Xauthority.)
  45.  
  46. - K E H
  47. ( Kari.Hurtta@Helsinki.FI,
  48.   hurtta@cc.Helsinki.Fi,
  49.   hurtta@cs.Helsinki.FI,
  50.   HURTTA@FINUH.BITNET
  51. )
  52.