Initializing MATLAB Graphics failed in Linux.
11 views (last 30 days)
I just installed R2020b on Linux and when I start Matlab I get this error;
Warning: Initializing MATLAB Graphics failed.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
Unrecognized property screenpixelsperinch for class Root.
> In hgrc (line 165)
In matlab.graphics.internal.initialize (line 15)
I tried things like
but did not work for my problem and there is one more thing but I think it's not caused this graphic problem. When I start Matlab
Failed to load module "pk-gtk-module"
I get this error too in the terminal.