I am trying to set up my home desktop, running OS X Mountain Lion, to basically do a bunch of grunt work for me remotely. I have set up ssh, and am able to remotely control the
computer fine, but the issue comes in when I try to run X11 apps, like MATLAB, remotely and get windows to pop up.
Every time I try to bring up a new window it either opens that window on the remote
computer (not the one I am using to control it), or it tells me it can't find a display.
here is how I am setting up my ssh
assume my matlab alias is set up properly, which it is.
ssh -X
[email protected]
matlab -nodesktop
figure;
This will open the window on the
computer I am SSHing into, and not on the remote one. Basically I want that window to open on the
computer I am remoting from.
I changed my SSH X11Forwarding and stuff to be yes in ssh_config and sshd_config. Any other suggestions?