Why does MATLAB start with a blank grey window when using a Compiz or Beryl window manager?
Show older comments
Starting MATLAB on a Linux machine opens just an empty grey window. I cannot see any MATLAB windows, but MATLAB appears to work fine. If I type following command:
doc
the help window pops up, but it is still grey. But, if I use the -nojvm option, MATLAB works normal. Also, If I use SSH for remote access with X11 tunneling, MATLAB works normal and I can see all the windows.
I am using Xgl / Compiz as a window manager.
Accepted Answer
More Answers (2)
Benedict Schlüter
on 7 Oct 2019
18 votes
export _JAVA_AWT_WM_NONREPARENTING=1 worked for me. I am using Arch-Linux with sway
Christophe Pouillot
on 23 Jul 2024
0 votes
In my case where I run MATLAB on WSL, maximizing the x11 window solves the issue.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!