View previous topic :: View next topic |
Author |
Message |
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Fri Jun 13, 2003 5:59 pm Post subject: X11 forward thru ssh via another computer? |
|
|
The setup we have is like this. my box can connect to a server which can further connect to another node, however i cannot connect to the node directly(becoz of some firewall issues on the server, which is actually a master node of a cluster).
So i can ssh into the server(master node) and then from there ssh into the node. However i want the X to be forwarded from the node to my box via the server.
Is this type of X forwarding possible?
My Box<<<<<Master<<<<<Node
Thanks |
|
Back to top |
|
|
Athrawn17 n00b
Joined: 07 Nov 2002 Posts: 42 Location: Des Moines IA
|
Posted: Fri Jun 13, 2003 7:01 pm Post subject: |
|
|
try
from inside the Xserver on the client side.
Also you will need to edit your sshd.conf file to allow Xforwarding. _________________ 1 0
Just my two bits. |
|
Back to top |
|
|
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Fri Jun 13, 2003 9:07 pm Post subject: |
|
|
This doesnt seem to work.
1. ssh server -X
#server>echo $DISPLAY
#server>localhost:16.0
2. #server>ssh node -X
#node> echo $DISPLAY
#node>
The $DISPLAY variable does not set for node2. I have enabled X11 Forwarding in sshd_config for node2 and server. Cant figure out what went wrong.
Can there be a firewall issue here? |
|
Back to top |
|
|
RagManX Apprentice
Joined: 13 Jul 2002 Posts: 220 Location: Tennessee
|
Posted: Sat Jun 14, 2003 8:44 pm Post subject: |
|
|
I've successfully forwarded through as many as 4 Code: | ssh -X someuser@someserver | links. Not sure why it isn't working for you. Just wanted to throw in here that it can be done, because I do it all the time at work. All I've ever had to do was enable X Forwarding on the SSH server and it worked through multiple links.
RagManX _________________ http://www.gamingideas.com/ - an open discussion site for game improvement and new game ideas |
|
Back to top |
|
|
|