Install Matlab on server with no GUI - No graphics display found. Unable to start application in GUI mode.
조회 수: 401 (최근 30일)
이전 댓글 표시
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
Rik
2023년 7월 1일
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).
답변 (1개)
Sai Teja G
2023년 8월 16일
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!
댓글 수: 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!