Why is the Linux MATLAB install script not opening the installer window?

I'm trying to install on KDE Neon 5.22.5. When I run the installer script, there is no installer window that shows up. There is also no output in the terminal at all when the installer script is run, and when I try to terminate the command with Ctrl+C, it just shows the input and does not end the process. I have managed to install MATLAB on another Linux distro, but it doesn't seem to work here on Neon.

7 commentaires

I have the same issue when running the installer script for Matlab R2021b, but on Linux Mint 19.3 distro. And I also have this issue on Linux Mint 20.
I did not have this issue when running installer script Matlab R2021a on both machines. So I assume it has something to do with the script.
Michael Ma
Michael Ma le 1 Oct 2021
Modifié(e) : Michael Ma le 1 Oct 2021
@Wilco Verbeeten I guess it is something to do with version R2021b. I was able to get 2021a up and running here. Thanks for this workaround.
I came across a workaround that gets R2021b installed.
According to Steph Bredenhann, at the following link:
"This appears to be an issue with MATLAB R2021b under root not being able to access the X Server" (advised by Matlab Support). Workaround is to run the following command:
xhost +SI:localuser:root
Next, you can run:
sudo ./install
It takes a while, but then the GUI window pops up and you can install Matlab R2021b without a problem.
By the way, I need to run the installer script as root (using sudo), to install it in the /opt/MATLAB folder on my Linux Mint distro.
i have ubuntu16.04 on windows and i want to install matlab r2018a in ubuntu but i can not please help .
root@DESKTOP-SMROJT0:/mnt/d/R2018a# ls
activate.ini install licenses ui
archives installer_input.txt patents.txt version.txt
bin install_guide.pdf readme.txt
etc java sys
help license_agreement.txt trademarks.txt
root@DESKTOP-SMROJT0:/mnt/d/R2018a# sudo ./install
Preparing installation files ...
Installing ...
Finished
root@DESKTOP-SMROJT0:/mnt/d/R2018a#
the installer does not launch and MATLAB is not installed,installer window does not open
please help
I have tried but,
root@DESKTOP-SMROJT0:/root/softwares/R2018a# xhost +SI:localuser:root
localuser:root being added to access control list
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0xe
Serial number of failed request: 7
Current serial number in output stream: 9
root@DESKTOP-SMROJT0:/root/softwares/R2018a# sudo ./install
Preparing installation files ...
Installing ...
Finished
root@DESKTOP-SMROJT0:/root/softwares/R2018a#

Connectez-vous pour commenter.

 Réponse acceptée

Thanks to @Wilco Verbeeten, I was able to solve the problem by first running
xhost +SI:localuser:root
then running the install script.

6 commentaires

This works for me in Ubuntu20.04!
Same here worked just fine. Thanks!
Thank you! This worked for me aswell.
Hello,
I've encountered this problem (install window not launching for multiple versions of Matlab on both Ubuntu 20.04lts and also on Ubuntu 22.04lts over several attempts).
I've tried the given solution mentioned here - without luck.
Has anyone encountered a problem installing matlab on Ubuntu recently in or around September 2022?
Also see question posted [ here ]
I can't install version 2022b either, the graphics window doesn't open. With 'sudo' it does open, but I want to install it as user

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Produits

Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by