Why do I get the warning "Unable to launch MVM server: License Error: Licensing shutdown" when I try to launch MATLAB R2025a or newer on Linux?

120 views (last 30 days)
I installed MATLAB R2025a on Linux via the command-line installer MATLAB Package Manager (mpm) and then I tried to launch MATLAB, but I see this text output to Terminal:
Unable to launch MVM server: License Error: Licensing shutdown

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Oct 2025 at 0:00
Edited: MathWorks Support Team on 21 Oct 2025 at 20:17
The text "Unable to launch MVM server: License Error: Licensing shutdown" is a warning which may indicate that MATLAB is not activated, or that there is some other licensing error. If you also see a specific "MathWorks Licensing Error" like "Error 10", please refer to the corresponding MATLAB Answer article for the specific Licensing Error number.
If you don't see any more specific Error number output, then you should see a new window pop up called "MathWorks Product Activation" which you can use to activate your license, assuming there is a display available.
If the Product Activation window does not pop up, you can run it manually from here. You may need to run it as a user who has write permissions to the MATLAB installation directory, or at least the matlabroot/licenses folder:
matlabroot/bin/glnxa64/MathWorksProductAuthorizer.sh
If you are trying to run MATLAB from terminal-only and cannot run graphical applications, you will have to activate your license manually by copying a license file into the "licenses" folder within the MATLAB installation directory. If the "licenses" folder does not exist in matlabroot, you can create the licenses directory manually before copying in the license file. 
Campus-wide "MATLAB (Individual)" licenses can be activated from Terminal-only (including on shared computers) by following the instructions in the "Update MATLAB without Reinstalling" section of this guide to create a "license_info.xml" file and copy it into MATLAB's "licenses" directory:
Similar errors like "Unable to launch MVM server: MVM Unexpected server shutdown" may occur due to missing package dependencies when trying to run MATLAB on a "minimal" or "core" Linux distro. To rule out an issue related to missing package dependencies, follow the steps here to install all required packages for the MATLAB release / Linux distro, then retry launching MATLAB:
What dependencies are needed to install MATLAB on "minimal" or "core" Linux installations?https://www.mathworks.com/matlabcentral/answers/2018166

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!