I am connected to work via a VPN. I am logging into a Solaris box at work from OpenSuse 11, using ssh -X. I would like to start a GUI on the solaris box. The problem is that I don’t know what value to give the DISPLAY variable. Is it the local internal LAN ip address, for my machine? I did try that, and I tested it using, xterm on the solaris machine. It says it can’t open the display. I have enabled remote connections on my machine using xhost +.
I have to run a performance test on the Solaris box at 7am in the morning… so need to find out how to start the GUI.
It’s definitely ok on the Solaris box, as I forward X connections from that machine to my desktop at work all the time… can’t seem to get it right over the VPN though.
Unless there is something special about the VPN or the addresses used, it should just work like a normal LAN connection as the forwarding is done at application level by ssh/sshd. Try:
echo $DISPLAY
If not set, perhaps your sysadmin has banned X forwarding in sshd_config for any non-LAN IP addresses.