Yes, that is right. here goes my solution when matlab opens but doesnt show its GUI.
open the terminal, log in as root using
su
followed by password
then using ur favourite editor, open a file in this path
for ex:
gedit /usr/local/bin/matlab-c (matlab-c is the file name u ll be using to open matlab. u can use any name of ur choice... but dont use matlab as it already exists)
copy these two lines, hit enter, then save it.
Code:
#!/bin/sh
AWT_TOOLKIT=MToolkit matlab
now u can type matlab-c from anywhere to execute matlab. remember to set the permissions for the matlab-c for non-root user using chmod command before executing.
good luck,
legolas