MATLAB Installer won't start after previous install interaption in Ubuntu 20.04
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I run the following command through the terminal in Ubuntu 20.04 LTS but the installation process was interapted.
sudo ./install -mode silent -agreeToLicense yes
After trying to restart the installation process using
sudo ./install -mode silent -agreeToLicense yes
the installation gui won't launch. No relevant processes appear in System Monitor also. The installation gui was able to launch before the interaption.
Any clues why this is happening and how to fix it?
Thank you
0 个评论
回答(1 个)
Neha
2024-5-8
Hi Alexandros,
I understand you are encountering issues while attempting to install MATLAB on Ubuntu 20.04 LTS.
The problem seems to stem from MATLAB R2021b running under root, which does not have the necessary permissions to access the X Server. To resolve this, you can grant access to the X server for the root user by executing the following command in your terminal:
xhost +SI:localuser:root
After executing the above command, please try launching the MATLAB installer again.
This solution has also been discussed in another MATLAB answer, which you can find here:
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!