I’ve tried following instructions from Problems with interactive Matlab app window - #16 by djareval
Now my I get a quick connection, but the job failes within seconds. When I can connect, I am still getting Failed to connect to server error message. output.log has changed, though.
Setting VNC password...
Starting VNC server...
Desktop 'TurboVNC: node805.host:1 (aadvorki)' started on display node805.host.edu:1
Log file is vnc.log
Successfully started VNC server on node805.host.edu:5901...
Script starting...
Starting websocket server...
+ sleep 5
+ xfwm4 --sm-client-disable
(xfwm4:3721310): xfwm4-CRITICAL **: 10:36:57.213: Xfconf could not be initialized
(xfwm4:3721310): xfwm4-WARNING **: 10:36:57.213: Missing data from default files
[websockify]: pid: 3721340 (proxying 47792 ==> localhost:5901)
[websockify]: log file: ./websockify.log
[websockify]: waiting ...
[websockify]: started successfully (proxying 47792 ==> localhost:5901)
Scanning VNC log file for user authentications...
Generating connection YAML file...
Cleaning up...
Killing Xvnc process ID 3721295