The session will attempt to start the desktop, it will eventually timeout and change to completed.
Clicking the arrows again on that same job to relaunch results in a successful desktop launch.
I’m seeing the following in the log.
Launching desktop ‘mate’…
No such schema “org.mate.screensaver”
[websockify]: pid: 9270 (proxying 40636 ==> localhost:5901)
[websockify]: log file: ./websockify.log
[websockify]: waiting …
[websockify]: timed-out :(!
Cleaning up…
Killing Xvnc process ID 9218
Xvnc seems to be deadlocked. Kill the process manually and then re-run
/opt/TurboVNC/bin/vncserver -kill :1
to clean up the socket files.
Is this indicating that websockify isn’t starting in time ?
Since websockify never starts the websockify.log is empty.
I’m sure there is a better way to fix this, but this seemed to work.
Changed to 10seconds -/opt/ood/ondemand/root/usr/share/gems/3.1/ondemand/3.1.1-1/gems/ood_core-0.24.2/lib/ood_core/batch_connect/templates/vnc.rb
elif [ $counter -ge **10** ]; then
# timeout after ~5 seconds
echo "[websockify]: timed-out :(!" >&2
The use case is a bit different here vs. physical servers.
This is in AWS using EC2s so boot up time will be extended if the EC2 isn’t already up. EC2s are terminated after each job so generally speaking a new server is booting up each time.