$ export LIBXCB_ALLOW_SLOPPY_LOCK=1
Didn't have any effect in my laptop, however,
sudo sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so
solved the problem.
$ export LIBXCB_ ALLOW_SLOPPY_ LOCK=1
Didn't have any effect in my laptop, however,
sudo sed -i 's/XINERAMA/ FAKEEXTN/ g' /usr/lib/ jvm/java- 6-sun-1. 6.0.04/ jre/lib/ i386/xawt/ libmawt. so
solved the problem.