Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cobra01977

macrumors newbie
Original poster
I'm trying to connect to my university's linux server via ssh, all is well except when I want to use an application that isn't command line based and requires an X window, when I use it on the university internal network it's fine and I suspect it now doesnt work because I'm behind a NAT firewall, how can I get around this (preferably while still using NAT)
 
Do you not have to still set the server display environmental variable if you use ssh -X, as you used to have to with telnet? I'm not sure -- I'm just asking.
 
Then they probably have X11 forwarding disabled on the server.

The -X option on ssh forwards the X traffic back through the ssh connection itself -- you shouldn't have to open a port on your firewall.
 
mkrishnan said:
Do you not have to still set the server display environmental variable if you use ssh -X, as you used to have to with telnet? I'm not sure -- I'm just asking.

No. ssh does it
 
cbiffle said:
Then they probably have X11 forwarding disabled on the server.

The -X option on ssh forwards the X traffic back through the ssh connection itself -- you shouldn't have to open a port on your firewall.
well I opened the ssh port and x windows actually and it worked after that
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.