Problems opening matlab from a remote shell from Ubuntu 14.04.

4 views (last 30 days)
I've upgraded from Ubuntu 12.04 to 14.04, and this has created a problem which I didn't have with Ubuntu 12.04
when I open a remote shell with the command
ssh -YC <myIp> "xterm bash"
and then start matlab with the command
matlab -nosplash -nodisplay
two bad things happen. First, on startup I get the warnings:
libGL error: failed to authenticate magic 393
libGL error: failed to load driver: i965
Second, matlab takes forever to start.
running the profiler, the delays seem to be caused by the processes run and various forms of connector, which take much longer than when I open matlab locally. Profiler output is attached.
I have exactly the same problem if I run ssh -XC rather than -YC, but neither problem occurs if I simply open a remote connection with ssh myIp
Any advice would be most appreciated!

Accepted Answer

Leo Simon
Leo Simon on 11 Jan 2016
Opening matlab with the -nojvm flag fixed this problem.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!