Re: Remote MATLAB 7.4, X-Forwarding with X11, and Java
Re: Remote MATLAB 7.4, X-Forwarding with X11, and Java
- Subject: Re: Remote MATLAB 7.4, X-Forwarding with X11, and Java
- From: Bernard Giroux <email@hidden>
- Date: Thu, 19 Jul 2007 11:41:54 -0400
robert karl a écrit :
Hello,
I've got a problem where I ssh into my Macbook using X11, OS X 10.4
(ssh -Y user@server) and find myself unable to open the MATLAB GUI
unless I run 'matlab -nojvm.' I am able to open OpenOffice, xclock, and
I can make plots with matlab in command line mode, but the external
editor and interface don't work. I've tried SSH in Cygwin from my work
computer and xterm on another mac.
Hi Robert,
The Matlab GUI is Java driven. In OS X, frames & windows in Java are
handled by Aqua, not X11. The -nojvm option means "no Java virtual
machine". In this mode, some basic plotting capabilities are available
(and handled by X11), but the full featured Java based GUI is disabled.
To get the full thing, you need something else than X11, like VNC or
Apple remote desktop.
So,
1) SSH into server, enabling X forwarding
2) run matlab: splash screen shows on client, MATLAB opens on server
(bounces in the dock)
3) splash disappears, MATLAB launches on server computer
4) xterm hangs on the client... no error message. hitting CTRL-C doesn't
quit.
5) I quit the client-side terminal, and MATLAB stays open on the server
I tried clicking on some text on the server box, and the client box
(Powermac G4) shows this error: "2007-07-29 04:17:44.422 MATLAB[5436]
CoreDragCreate error: -4960".
Forcing MATLAB to quit on the server frees up the unresponsive Xterm
that gave the CoreDragCreate error. But, plotting works fine with
'matlab -nojvm'. While in matlab, typing 'edit asdf' or some other GUI
tools gives errors like '??? Error using ==>openFileOnMac at 309 Could
not find external editor'.
Weird.
An extra instance of MATLAB opens each time I try to open the GUI (with
java).
Any ideas? I searched the Apple lists for a solution to this problem,
but I didn't find anything.
/robert
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Bernard Giroux, ing., Ph.D.
Chercheur
http://geo.polymtl.ca/~giroux
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden