blank screen when invoking trial matlab 2020a version on CentOS 7 Linux

조회 수: 6 (최근 30일)
Hong Ning Choo
Hong Ning Choo 2020년 5월 31일
댓글: Danny S 2021년 10월 19일
blank screen when invoking trial matlab 2020a version on CentOS 7 Linux
Saw in some posts that the following canberra/pk-gtk module missing issue wouldnt be affecting. Pasting the flagging messages anyhow.
$ /usr/local/bin/matlab
MATLAB is selecting SOFTWARE OPENGL rendering.
Gtk-Message: 14:01:40.560: Failed to load module "pk-gtk-module"
Gtk-Message: 14:01:40.561: Failed to load module "canberra-gtk-module"
OS information:
cat /etc/os-release
$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
Installed matlab2020a:
------------------------------------------------------------------------
-> (.matlab7rc.sh) sourced from directory (DIR = $MATLAB/bin)
-> DIR = /usr/local/MATLAB/R2020a/bin
------------------------------------------------------------------------
a = argument e = environment r = rcfile s = script
------------------------------------------------------------------------
-> r MATLAB = /usr/local/MATLAB/R2020a
-> LM_LICENSE_FILE = (variable not defined)
-> MLM_LICENSE_FILE = (variable not defined)
-> s AUTOMOUNT_MAP =
-> e DISPLAY = :17.0
-> r ARCH = glnxa64
-> s TOOLBOX = /usr/local/MATLAB/R2020a/toolbox
-> e MAX_OPEN_FILES = 1024
-> s _JVM_THREADS_TYPE =
-> e MATLAB_JAVA =
-> s MATLAB_MEM_MGR =
-> s MATLAB_DEBUG =
-> s LD_LIBRARY_PATH = /usr/local/MATLAB/R2020a/sys/opengl/lib/glnxa64:/u
sr/local/MATLAB/R2020a/sys/os/glnxa64:/usr/local/MATLAB/R2020a/bin/glnxa64:/usr/
local/MATLAB/R2020a/extern/lib/glnxa64:/usr/local/MATLAB/R2020a/sys/java/jre/gln
xa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/
jre/lib/amd64/server
blank screen:

답변 (2개)

Oren Zaharia
Oren Zaharia 2021년 4월 11일
We had a similar problem when we have used with xrdp and Xvnc.
We solved that by decrease the color depth in '/etc/xrdp/session.ini' to 16 by adding params to [Xvnc]
[Xvnc]
param=Xvnc
param=-bs
param=-nolisten
param=tcp
param=-localhost
param=-dpi
param=96
param=-depth
param=16
and when you connect using mstsc (Remote Desktop) or Remima decrease the depth in display to 16 too.
Good Luck
  댓글 수: 1
Danny S
Danny S 2021년 10월 19일
Thanks! This was very helpful and with these changes, I was able to launch MATLAB R2020a on Centos 7 installed on a Hyper-V virtual machine, connected to via Xvnc/RDP.
For me, the file to modify was '/etc/xrdp/sesman.ini', but by setting the colour depth to 16 there and in Remote Desktop Connection, I was able to launch MATLAB activation and the MATLAB desktop.

댓글을 달려면 로그인하십시오.


思远 周
思远 周 2020년 8월 24일
I have same question

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by