this is really for the archive for future ref.. matlab has a bug in its startup... solution is start matlab as matlab -mwvisual 0x22 thanks to Eric Ludlam from the mathworks for his solution and ofcourse thanks to the vnc team for the suggestions