Failed to run matlab gui in Fedora 42
266 views (last 30 days)
Show older comments
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 Comments
Conor Burgess
on 7 May 2025
Edited: Conor Burgess
on 7 May 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.
Answers (2)
Conor Burgess
on 2 May 2025
Edited: Conor Burgess
on 2 May 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.
6 Comments
Conor Burgess
on 9 May 2025
Apologies, it looks like the package may be named gtk2 on Fedora, so it would be:
sudo dnf install gtk2
See Also
Categories
Find more on Startup and Shutdown 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!