MATLAB: Do I receive an error message when I start MATLAB 7.5 (R2007b) on Linux Fedora 8 operating system

MATLABstartup

When I start MATLAB 7.5 (R2007b) on my Fedora 8 Linux machine I receive this error message:
MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Aborted

Best Answer

To work around this issue, update Java using any of the following commands:
sed -i 's/XINERAMA/FAKEEXTN/g' $MATLABROOT/sys/java/jre/glnx86/jre1.6.0/lib/i386/xawt/libmawt.so
sed -i 's/XINERAMA/FAKEEXTN/g' $MATLABROOT/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/xawt/libmawt.so
where $MATLABROOT is the MATLAB root directory on your machine, as returned by typing
matlabroot
at the MATLAB Command Prompt.
Restarting MATLAB now may resolve this issue.