How would I go about forwarding an X11 program to an arbitrary host while using ssh?
Here's an example:
Bob sshs into host#1(172.17.1.97). I'm on host#2 and I want to send a display to him. So I type xterm -display 172.17.1.97:0.0
It works fine if he simply telnets to host#1 but not if he uses ssh. We must use ssh because some people will be connecting though a proxy into our internal LAN.
The error message I get is:
X11 connection rejected because of wrong authentication.
I'm assuming this error comes from the fact that I don't have the authority to use his X11 forwarding that ssh has automatically set up. Is there any way to get around this? With his approval of course.