I have Server A (Solaris)which needs to run a grpahics program.
Server A resides behind a Firewall.
Server B (Solaris) has access to Server A through ssh. There is a Firewall
Rule that was implemented to allow ssh traffic from Server B to Server A.
Both Server A and Server B do not have Graphics monitor attached to it.
I have PC C in which I'm running cygwin (X server). I would like to display
the grpahics program that is invoked on Server A on my PC C. My PC can ssh
(using putty) to Server B as they are in the same network.

Obviously, when I export the display on Server A to my PCs IP address, I'm
getting "Can't open Display" because Server A cannot talk to my PC directly.

I am not familiar with Solaris, but if it works the same as RHEL, this should work.

1.  Start X server on PC C.
2.  Configure Putty to use X11 on "localhost:0".
3.  Ssh to Server B.
4.  Ssh with Xll forwarding (usually ssh -X) to Server A.
5.  Run X Application.

The key is that by using the above method, your X traffic will be wrapped in your SSH connection which can traverse your firewall. When you export your display, you are not wrapping your X traffic in an SSH session, and most likely, it will not be able to traverse the firewall.

Barry

Reply via email to