Skip to main content

Command Palette

Search for a command to run...

Archlinux: MATLAB Reactivation

Updated
1 min read
Archlinux: MATLAB Reactivation

I prefer to use MATLAB headless, and when running matlab --nodesktop I was greeted with:

MATLAB is selecting SOFTWARE OPENGL rendering.
License checkout failed.
License Manager Error -9
The hostid of your computer ("000000000") does not match the hostid of the license
file (0000000000). 
To run on this computer, you must run the Activation client to reactivate your license.

Troubleshoot this issue by visiting: 
https://www.mathworks.com/support/lme/R2022a/9

Diagnostic Information:
Feature: MATLAB 
License path: /home/nathan/.matlab/R2022a_licenses/license_Price-Desktop-Arch-Image_00000_R2022a.lic:/home/nathan
/.local/share/MATLAB/R2022a/licenses/license.dat:/home/nathan/.local/share/MATLAB/R2022a/licenses 
Licensing error: -9,57.

So, the first thing we need to do is delete the old license file.

rm -rf /home/nathan/.matlab/R2022a_licenses/license_Price-Desktop-Arch-Image_00000_R2022a.lic

Now run the GUI version.

matlab

you should be greeted with:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1670801030787/Ox7MmxHsG.png align="middle")

Just click next, log in with your MathWorks account, and success.

More from this blog

My memory is Volatile

28 posts

This is a place where I'll be making tutorials for future-me on archlinux-related installs and fixes so I don't have to figure stuff out againe every few months. Use at your own risk.