X11 not sending windows to remote computer matlab

Posted by MZimmerman6 on Super User See other posts from Super User or by MZimmerman6
Published on 2012-11-14T22:43:09Z Indexed on 2012/11/14 23:03 UTC
Read the original article Hit count: 159

Filed under:
|
|
|

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?

© Super User or respective owner

Related posts about ssh

Related posts about matlab