After I ssh to the mac desktop from linux Suse, I could not open matlab even without GUI. The mac desktop has mac OS 10.6. At the beginning, I thought the reason is that I did not use -X flag. However, after I tried "ssh -X remote", it still could not work. Also, Whatever I tried any option to open matlab like "matlab -nonjvm", "matlab -nodesktop" and so on, it always reported the same error message:
Mon Sep 3 16:00:41 java : kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. Could not open display. Exiting.
I really appreciated if anyone can answer my question. Many thanks.