Weird,
The daemon option is in bc_osc_matlab/template/script.sh.erb at master · OSC/bc_osc_matlab · GitHub
MatLab/template/script.sh.erb: xfwm4 --compositor=off --daemon --sm-client-disable
I removed the --daemon
option, now I have a black background:
But in the output.log I have not error anymore:
Setting VNC password...
Starting VNC server...
Desktop 'TurboVNC: cpu007.baobab:2 (alberta)' started on display cpu007.baobab:2
Log file is vnc.log
Successfully started VNC server on cpu007.baobab:5902...
Script starting...
Starting websocket server...
/home/users/a/alberta/ondemand/data/sys/dashboard/batch_connect/sys/ug_MatLab/output/d709f959-bedf-425d-a769-70f221c7ddcf/script.sh: line 8: unsetenv: command not found
The system default contains no modules
(env var: LMOD_SYSTEM_DEFAULT_MODULES is empty)
No changes in loaded modules
[websockify]: pid: 365050 (proxying 7681 ==> localhost:5902)
[websockify]: log file: ./websockify.log
[websockify]: waiting ...
Currently Loaded Modules:
1) MATLAB/2022a
+ matlab -desktop
(xfwm4:365041): GLib-CRITICAL **: 17:55:10.318: g_str_has_prefix: assertion 'prefix != NULL' failed
MATLAB is selecting SOFTWARE OPENGL rendering.
[websockify]: started successfully (proxying 7681 ==> localhost:5902)
Scanning VNC log file for user authentications...
Generating connection YAML file...
Opening log file: /home/users/a/alberta/java.log.37398
Setting VNC password...
Generating connection YAML file...
Setting VNC password...
Generating connection YAML file...
I am not sure but Window Manager (xfwm4) for xfce4 failing seems to be close to my issue. I am checking