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

4 views (last 30 days)
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 Comments
Mahmod Karndash
Mahmod Karndash on 16 May 2022
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
Mahmod Karndash
Mahmod Karndash on 16 May 2022
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#

Sign in to comment.

Accepted Answer

Michael Ma
Michael Ma on 4 Oct 2021
Thanks to @Wilco Verbeeten, I was able to solve the problem by first running
xhost +SI:localuser:root
then running the install script.
  6 Comments
tree317
tree317 on 24 Sep 2022
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 ]
Antonio Javier Barragán Piña
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

Sign in to comment.

More Answers (0)

Categories

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

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!