[comp.windows.x] The client of a client?

rshankar@ius2.cs.cmu.edu (Ravi Shankar) (08/08/90)

Here is an xproblem for you xgurus out there:

I am logged on to a machine A (a Sun running X windows). I need to connect
to a machine B from A. On B I have a process running and this process
will display images on the server A.

My problem is that I am unable to log into B directly from A. However,
I can log into B indirectly through another machine C (that is, from A
log on to C, and from C log on to B). But this causes problems since
machine B now cannot connect directly to A for displaying the images.

My question: Is there anyway of informing machine B that A can be
reached through C? Machine C happens to be a VAX in my case - would this
make a difference?

I would appreciate any help. Please email responses to the address given
above.

Ravi

mouse@LARRY.MCRCIM.MCGILL.EDU (08/10/90)

> I am logged on to a machine A (a Sun running X windows).  I need to
> connect to a machine B from A.  On B I have a process running and
> this process will display images on the server A.

> My problem is that I am unable to log into B directly from A.
> However, I can log into B indirectly through another machine C (that
> is, from A log on to C, and from C log on to B).  But this causes
> problems since machine B now cannot connect directly to A for
> displaying the images.

> My question: Is there anyway of informing machine B that A can be
> reached through C?  Machine C happens to be a VAX in my case - would
> this make a difference?

If all the machines in question speak TCP/IP, it's perfectly feasible
to have a small dummy program on C which accepts the connection from B
and in turn connects to A, then just passes bytes back and forth.
There is a program called xscope[%] available which was designed to
debug protocol problems, but can be turned to this use, or someone used
to writing network applications can toss a specialized program together
in short order.

If you have to deal with differing or other protocols, the problem may
be harder, though a similar approach should be workable.

[%] There is another program called xscope available that does
    something else unrelated - something oscilliscope-like, I think.  I
    don't know where either sort of xscope can be obtained, except
    presumably for the usual archive sites.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu

Ravi.Shankar@IUS2.CS.CMU.EDU (08/10/90)

Thanks for the info. I will try it soon -- Ravi