Install Matlab on server with no GUI - No graphics display found. Unable to start application in GUI mode.

379 visualizzazioni (ultimi 30 giorni)
I am currently trying to install MATLAB on a server with no GUI, in order to use only a console version of it (and call some matlab functions from python with matlabengine). I downloaded without installing the MATLAB 2023a version in a computer with GUI, got the license file & key, and was able to parameterize the installer_input.txt file and send everything to the server without GUI.
When I run the command ./install.sh -mode silent -fileInput /home/$USER/MATLAB/matlab_R2023a_glnxa64/installer_input.txt where my installation files are, I indeed find logs in my logs folder, so the installation starts. However, even if I added mode=silent and activationPropertiesFile=$PATH_TO_FILE/activate.ini to installer_input.txt, with in activate.ini isSilent=true, I still get get an error such as matlab installation cannot be done because there is no GUI ...
Is it even possible to install & use Matlab on a server without GUI?
Here are the simplified logs:
(Jun 30, 2023 19:06:20) System Info
(Jun 30, 2023 19:06:20) OS: Linux Ubuntu 22.04.1 LTS
(Jun 30, 2023 19:06:20) Arch: amd64
(Jun 30, 2023 19:06:20) Language: en_US
(Jun 30, 2023 19:06:20) Release Description: R2023a Update 3
(Jun 30, 2023 19:06:21) Activation Service Reachable? true
(Jun 30, 2023 19:06:21) Product Files Folder: /home/username/MATLAB/matlab_R2023a_glnxa64/archives
(Jun 30, 2023 19:06:21) Error launching CEF
(Jun 30, 2023 19:06:21) No graphics display found. Unable to start application in GUI mode. Consider relaunching the app in a graphical environment.
  1 Commento
Rik
Rik il 1 Lug 2023
If you don't get a response here; installation support is included in every license (although with organizations you need to go to your IT department first).

Accedi per commentare.

Risposte (1)

Sai Teja G
Sai Teja G il 16 Ago 2023
Hi,
I see that you are facing the issue while installing MATLAB with no GUI.
Please refer the following instructions for installing MATLAB noninteractively or silently:
Do note that the ‘mode=silent is no longer supported.
Please modify the input file that comes with your download and run the installer similar to:
./install.sh-inputfile path_to/my_installer_input.txt
Hope this helps!

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by