Matlab R2020a can only run as root (Ubuntu 18.04)

19 次查看(过去 30 天)
I just installed Matlab 2020a on Ubuntu 18.04 with my student license. I activated it with my username which is the result of command whoami. But I still encountered a license error when running sudo matlab like:
MATLAB is selecting SOFTWARE OPENGL rendering.
License checkout failed.
License Manager Error -9
This error may occur when:
-The hostid of this computer does not match the hostid in the license file.
-A Designated Computer installation is in use by another user.
If no other user is currently running this program, you may need to activate.
And if I run matlab without sudo, the splash screen will show but soon get stuck. Then I try running matlab as root and it can run normally. Why this happens? And how can I run it as a normal user?

回答(1 个)

Chidvi Modala
Chidvi Modala 2020-8-12

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by