home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 18847 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  2.9 KB

  1. Path: sparky!uunet!spool.mu.edu!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
  2. From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: Re: Can I run clients on REMOTE machines?
  5. Message-ID: <1992Dec22.225020.16893@sm.sony.co.jp>
  6. Date: 22 Dec 92 22:50:20 GMT
  7. Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
  8. Distribution: fj
  9. Organization: McGill Research Centre for Intelligent Machines
  10. Lines: 58
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: 22 Dec 92 18:35:31 GMT
  14. Message-Id: <1992Dec22.183531.17422@thunder.mcrcim.mcgill.edu>
  15. Newsgroups: comp.windows.x
  16. References: <1992Dec18.122406.1786@netcom.com>, <1992Dec19.125651.26503@netcom.com>
  17. Sender: xpert-request@expo.lcs.mit.edu
  18.  
  19. In article <1992Dec19.125651.26503@netcom.com>, yonder@netcom.com (Christopher Russell) writes:
  20.  
  21. > My problem is I want to run clients on machine B and have the display
  22. > be machine A.  Unfortunately I cannot directly TELNET or RLOGIN
  23. > directly between A&B (change from original post), I have to go thru
  24. > machine C.
  25.  
  26. > A prompt: telnet B    <doesn`t work -- "cannot find">
  27.  
  28. Does it work if you give B's address instead of its name?  Try using
  29. numeric addresses for telnet and X display names; that may work.  If
  30. so, it's just a problem with name->address resolution, so go yell at
  31. your local administrators about it.
  32.  
  33. If not...
  34.  
  35. > Somehow I need to get machine C to "pass-thru" tranparently the X
  36. > traffic between the client and the server.  Is this possible[?]
  37.  
  38. Of course.
  39.  
  40. > I cannot just "setenv DISPLAY <A's IP address`>:0.0" while logged
  41. > into machine B, cuz I`ll just get "Error: Can't open display: <A's IP
  42. > address goes here>".
  43.  
  44. Have you actually tried this, or are you guessing based on inability to
  45. telnet by name?  If you have tried it, or if you try it and it does
  46. indeed fail to work....
  47.  
  48. What you need is a small program to run on C, that accepts connections
  49. and in turn connects to A, forwarding stuff back and forth.  If this
  50. program were on C, listening for connections on the port used by
  51. display 25, say (which means port 6025), then you would tell B that
  52. you're using C:25 as your display.  B then connects to the little
  53. daemon on C, which in turn connects to the real display on A, and
  54. everything works.
  55.  
  56. I actually have tried this, and it does work.  You may have to play
  57. with xhost and/or xauth, but it is certainly not out of the question.
  58.  
  59. The program to run on C is a simple little thing.  I have two programs
  60. that can do it; one is specifically designed for X, the other is more
  61. general but requires more knowledge of what goes on under the hood.
  62. The X one is up for anonymous ftp from larry.mcrcim.mcgill.edu
  63. (132.206.1.1) in X/xfwd.c; the other one is games/muck/aux/fwd.c on
  64. that same machine.  Neither one is very well documented, but they're
  65. small - 209 and 134 lines, respectively - so UTSLing is perhaps not out
  66. of the question.
  67.  
  68.                     der Mouse
  69.  
  70.                 mouse@larry.mcrcim.mcgill.edu
  71.