I've got a macintosh which runs the X11 application Apple ships with it.
I want to use it to run Matlab (remotely) on a linux server, but I can't
make it work with java (and X).
I log in to the linux box with
ssh -X my.ip.address
and start matlab with
matlab -nosplash
It fails to load with the following error message:
Xlib: unexpected async reply (sequence 0x14a)!
However, if I can live without java, that is, if I don't need to debug
my applications, Matlab runs just fine with
matlab -nojvm
I can make figure windows and so forth on my local screen, so X seems to
work just fine now.
Any ideas on how to resolve this? Otherwise I'll file a bug report to
MathWorks.
Regards,
Torbjørn Hergum
PhD student at NTNU, Norway
This is known behavior and it has to do with limitations of Java (at
least as implemented in OS X). MathWorks has no control over it.
You can still debug your m-files, you just don't have a graphical
debugger. You can set brekpoints and more from MATLAB commands. Type
"help debug" for more information.
--
Doug Schwarz
dmschwarz&urgrad,rochester,edu
Make obvious changes to get real email address.
>
>>I've got a macintosh which runs the X11 application Apple ships with it.
>>I want to use it to run Matlab (remotely) on a linux server, but I can't
>>make it work with java (and X).
>>
>>I log in to the linux box with
>>
>>ssh -X my.ip.address
>>
>>and start matlab with
>>
>>matlab -nosplash
>>
>>It fails to load with the following error message:
>>
>>Xlib: unexpected async reply (sequence 0x14a)!
>>
>>
>>
>
>This is known behavior and it has to do with limitations of Java (at
>least as implemented in OS X). MathWorks has no control over it.
>
>
But if I log in from another linux box instead of from the mac, it all
works like a charm. So I guess it should be possible to fix this.
Torbjørn
Sorry, I totally missed the fact that you are running MATLAB on the
linux server. I thought you were running it on the Mac while sitting at
the linux box which is the situation I was talking about. In your case
I have no idea what's wrong and you're right, you should be able to fix
it somehow.
Sorry for the confusion and good luck!