Matlab R2020a can only run as root (Ubuntu 18.04)

30 Ansichten (letzte 30 Tage)
Jianfeng Cui
Jianfeng Cui am 9 Aug. 2020
Beantwortet: Chidvi Modala am 12 Aug. 2020
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?

Antworten (1)

Chidvi Modala
Chidvi Modala am 12 Aug. 2020

Kategorien

Mehr zu Install Products finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by