Failed to run matlab gui in Fedora 42

139 vues (au cours des 30 derniers jours)
善友
善友 le 19 Avr 2025
Commenté : Mahboob le 25 Nov 2025 à 9:01
os: Fedora 42
DE: KDE Plasma 6.3.4
WM: KWin (Wayland)
Kernel: Linux 6.14.2-300.fc42.x86_64
Everything works well in Fedora 41, but I cannot run matlab After upgrading to Fedora 42. And get the output below.
MATLAB is selecting SOFTWARE rendering.
Unable to communicate with required MathWorks services (error 5201).
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/5201
I have read this Why do I receive Error 5201 - Unable to access services required to run MATLAB, reinstalled MathWorksServiceHost and reboot my computer. Those cannot solve. The autostart script of Mathworks Service Host always crash. See the output below:
  2 commentaires
Jakub
Jakub le 7 Mai 2025
Note, that Fedora is no supported OS.
You can try the XFCE desktop environment.
Conor Burgess
Conor Burgess le 7 Mai 2025
Modifié(e) : Conor Burgess le 7 Mai 2025
XFCE is a Desktop which you can use on various Linux distros; using XFCE doesn't guarantee that you are using a supported distribution. Our supported Linux distributions are shown here.

Connectez-vous pour commenter.

Réponses (2)

Conor Burgess
Conor Burgess le 2 Mai 2025
Modifié(e) : Conor Burgess le 2 Mai 2025
This is due to changes in glibc 2.41 which have impacted dynamic library loading. The latest MathWorks Service Host release (2025.5.0.3) should resolve this - it wasn't released when you tried the first time, but if you follow the instructions in this answer to run the MathWorks Service Host reinstaller again, it will ensure you have the latest version and should resolve this issue.
  14 commentaires
Nuno
Nuno le 10 Nov 2025
Modifié(e) : Nuno le 10 Nov 2025
this hasn't worked for me. Getting the following error (not a connection problem):
[root@localhost Downloads]# ./ReinstallMathWorksServiceHost -mode silent
The application could not connect to MathWorks.
For more information on resolving this issue, see this <a href="https://www.mathworks.com/pi_ce_mci_glnxa64">support article</a>
The distro is rocky8 and matlab 2024b works fine. Having issues with version 2025b.
Mahboob
Mahboob le 25 Nov 2025 à 9:01
ReinstallMathWorksServiceHost didn't work for me. Instead I had to delete .Mathwork directory from my $HOME. Check if you have it in /root/.Mathworks, then remove it too.

Connectez-vous pour commenter.


reaujahn
reaujahn le 22 Avr 2025
Modifié(e) : reaujahn le 22 Avr 2025
I can reproduce this behaviour after a distro upgrade from fedora 41 to 42.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by