On Wed, 17 Jan 2001, Vineeta wrote:

> Hi,
>     I have a question.regarding running X-applications of a linux box
> from a windows terminal.
> I have a windows 95 m/c on which i have configured Xserver from
> MicroImages.
> Now,i am behind a firewall which means i cannot directly connect to any
> outside machine through telnet.And,i want to run an application which is
> residing on another machine which is on the internet and not in the
> local network.
> But,i do have access to a linux machine,say,linux-1,through LAN.But,my
> application resides on say, "linux-2" on the internet.Now,this linux-1
> has 2 cards-one assigned internal ip and the other having exteral
> ip.So,i connect to this linux-1 through telnet from "run" prompt on my
> windows m/c.After connecting to linux-1,i telnet to "linux-2" where my
> X-application is residing.Now,to run "xterm" or any X-application from
> linux-2 i.e. have its display on my windows m/c,what do i do?
> In my opinion,the display has to be redirected to windows m/c?
> Or is it the linux-1 m/c?I am a little confused.
> 
> Please advice!
> 
> Vineeta
> 
Vineeta,
        You will not be able to use telnet to do this.  In the first
place, the firewall probably blocks X connections.  So the information
will not traver between the two Linux machines.  Telnet does not forward
X connections.  The second problem is that the Linux machine will not
forward an X connection comming from the outside to your Windows
machine, unless it has something like IP Masquarding set up.  If it did,
you could telnet directly to the outside machine, going through the
Linux machine.

        You may be able to do something using SSH instead.  SSH can be
set up to forward X connections, and it will also compress the
information, saving bandwith.  Now, I have never tried a double ssh
connection forwarding X, so I ma not sure how it will work out.  It
should work, but you may have to play with the DISPLAY varable to make
it work...

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to