Matlab R2020a can only run as root (Ubuntu 18.04)

30 views (last 30 days)
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?

Answers (1)

Chidvi Modala
Chidvi Modala on 12 Aug 2020

Categories

Find more on Install Products in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!