Talk:SSH and Tunneling

From OS X Scientific Computing

Jump to: navigation, search

what is the trick to get programs like Preview.app to run remotely?

e.g. i can ssh to remotehost, execute xclock and see it locally, but when i try e.g. Calculator.app, i get

kCGErrorRangeCheck : Window Server communications from outside of session allowed for root and console user only INIT_Processeses(), could not establish the default connection to the WindowServer.Abort

in particular, i have a java program, and it gives the same error, which disappears when i do an 'sudo my_program', however the program gui fires up on the remote host with no display on localhost and actually can put the menubar above the Mac OS X _login_ screen.

the same basic thing happens if i try executing quartz-wm remotely also.

-bryan