New deploy Slurm Desktop NoVNC Failed to connect to server

This is my first OOD deployment. Alma Linux 8, OOD installed via RPMs (ondemand-2.0.28-1.el8.x86_64). I’ve got OOD allocating a slurm node and starting the desktop session (xfce4). I see the Xvnc server start, but noVNC fails to connect. I’m a bit out of my depth with this; not sure where to find the next step in getting this working. Here are the details…

Dev tools on the browser (Chrome) says:
WebSocket connection to ‘ws://linstattest.ssc.wisc.edu/rnode/linstattest.ssc.wisc.edu/44696/websockify’ failed:
open @ websock.js:185
rfb.js:255 WebSocket on-error event
(anonymous) @ rfb.js:255
rfb.js:721 Failed when connecting: Connection closed (code: 1006)
_fail @ rfb.js:721

The desktop config:
cat /etc/ood/config/apps/bc_desktop/slurm_desktop.yml

title: “Slurm Desktop”
cluster: “slurm”
attributes:
desktop: “xfce”
batch_connect:
template: vnc`

I’m not seeing anything particular in the user ouput.log…
cat ondemand/data/sys/dashboard/batch_connect/sys/bc_desktop/slurm_desktop/output/a996ae74-4732-47cd-9313-f1e7d1de04e5/output.log
Setting VNC password…
Starting VNC server…

WARNING: linstattest.DOMAIN.edu:1 is taken because of /tmp/.X1-lock
Remove this file if there is no X server linstattest.ssc.wisc.edu:1
Killing Xvnc process ID 298113
Xvnc process ID 298113 already killed
Xvnc did not appear to shut down cleanly. Removing /tmp/.X11-unix/X1
Xvnc did not appear to shut down cleanly. Removing /tmp/.X1-lock

Desktop ‘TurboVNC: linstattest.ssc.wisc.edu:1 (dttest)’ started on display linstattest.DOMAIN.edu:1

Log file is vnc.log
Successfully started VNC server on linstattest.DOMAIN.edu:5901…
Script starting…
Starting websocket server…
/home/d/dttest/ondemand/data/sys/dashboard/batch_connect/sys/bc_desktop/slurm_desktop/output/a996ae74-4732-47cd-9313-f1e7d1de04e5/script.sh: line 7: module: command not found
Launching desktop ‘xfce’…
WebSocket server settings:

  • Listen on :3776
  • No SSL/TLS support (no cert file)
  • Backgrounding (daemon)
    Scanning VNC log file for user authentications…
    Generating connection YAML file…

(xfwm4:303623): xfwm4-WARNING **: 10:05:14.177: Unsupported GL renderer (llvmpipe (LLVM 13.0.1, 256 bits)).
(uint32 1,)

(tracker-miner-fs:303670): Tracker-WARNING **: 10:05:15.232: Unable to get XDG user directory path for special directory &DOCUMENTS. Ignoring this location.

(tracker-miner-fs:303670): Tracker-WARNING **: 10:05:15.232: Unable to get XDG user directory path for special directory &DOWNLOAD. Ignoring this location.

(tracker-miner-fs:303670): Tracker-WARNING **: 10:05:15.232: Unable to get XDG user directory path for special directory &MUSIC. Ignoring this location.

(tracker-miner-fs:303670): Tracker-WARNING **: 10:05:15.232: Unable to get XDG user directory path for special directory &PICTURES. Ignoring this location.

(tracker-miner-fs:303670): Tracker-WARNING **: 10:05:15.232: Unable to get XDG user directory path for special directory &VIDEOS. Ignoring this location.

(tracker-miner-fs:303670): Tracker-WARNING **: 10:05:15.232: Unable to get XDG user directory path for special directory &DOCUMENTS. Ignoring this location.

(tracker-miner-fs:303670): Tracker-WARNING **: 10:05:15.232: Unable to get XDG user directory path for special directory &DOWNLOAD. Ignoring this location.

(tracker-miner-fs:303670): Tracker-WARNING **: 10:05:15.232: Unable to get XDG user directory path for special directory &MUSIC. Ignoring this location.

(tracker-miner-fs:303670): Tracker-WARNING **: 10:05:15.232: Unable to get XDG user directory path for special directory &PICTURES. Ignoring this location.

(tracker-miner-fs:303670): Tracker-WARNING **: 10:05:15.232: Unable to get XDG user directory path for special directory &VIDEOS. Ignoring this location.

** (xfce4-screensaver:303687): WARNING **: 10:05:15.456: screensaver already running in this session

** (wrapper-2.0:303666): WARNING **: 10:05:15.829: No outputs have backlight property

** (wrapper-2.0:303662): WARNING **: 10:05:15.929: Binding ‘XF86AudioMicMute’ failed!

(wrapper-2.0:303662): pulseaudio-plugin-WARNING **: 10:05:15.929: Could not have grabbed volume control keys. Is another volume control application (xfce4-volumed) running?

(wrapper-2.0:303662): libnotify-WARNING **: 10:05:15.937: Failed to connect to proxy

(wrapper-2.0:303662): Gtk-WARNING **: 10:05:16.043: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PulseaudioButton)

(wrapper-2.0:303695): Gtk-WARNING **: 10:05:16.139: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)

(wrapper-2.0:303666): Gtk-WARNING **: 10:05:16.201: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PowerManagerButton)

** (xfdesktop:303650): WARNING **: 10:05:16.261: Failed to set the background ‘/usr/share/backgrounds/images/default.png’: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface ‘org.freedesktop.DisplayManager.AccountsService’

(tracker-miner-fs:303670): Tracker-WARNING **: 10:05:16.574: Locale ‘LANG’ is not set, defaulting to C locale

Thanks much for any assistance!

Hi! Can you take a look at this topic and follow the same debugging steps? I see you have logs from the browser’s console - but I’m also looking specifically for the response code (it was 404 in this other topic).

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.