Question: can you do something like this.
I have 2 networks off my main network. Look like this.
cable modem > main linux firewall/nat-router > main network. off that > plastic box router making a testing network. off that > new linux firewall/dns/nat-router I am building (headless) > desktop.
I ssh connected to my laptop form the desktop, first ssh stop the headless router, second ssh stop main router third ssh stop laptop. but I the headless server does not have an x-server installed and I was unable to run a kwrite because of that.
Then I did skip the headless and ssh connect directly to my main router from the desktop and was able to run kwrite on the main router. Then from the main router I ssh to the laptop and am able to run kwrite.
True I am doing this with all linux systems but I see no reason it will not work with a win box in the loop but it must be running an X-server. Part of the secret is to make the connection with the proper switches in ssh. What I use is with root privilege
Quote:
ssh -XCl user-name xxx.xxx.xxx.xxx
|
I have to use ip's because part of my setup does not have name resolution set up, but if you do then it would be something like
The -C switch turn on compression. The -X switch enables x fowarding. This DOES NOT set up any encryption. I would think you would want that because you would be coming in over the net. I am not familiar with hot to do that, but someone else hear should be able to help you with that, better yet try $ man ssh and the -c switch
I can't help with getting the win box setup to work correctly. I do have putty installed on an XP box and can ssh into the other hosts on my network but I have never played with getting an x-server setup in windows.
There is another option you might explore. That is using a vnc server. If you already have an x-session started on the linux box you can ssh into it and start the vnc-server and then use something like Ultra-vnc on windows to access it. Not sure about going through another box though never tried it. I am pretty sure that an x-session can be tunneled over ssh though.
Hope that helps.
I reserve the right to be wrong.