Missing port on the connect URL to vnc sessions

Hi all,
First all, thanks for this amazing tool (Open Ondemand) that really helps a lot of institutions ww.

Now, I need some help to complete the set up of the vnc/desktop app in our institution.

We have now the app install and close to be working complete.
The jobs are sent to slurm, the Xvnc sessions are open on the compute nodes, and the protal detects properly that the session is available.

But when we click the button “Launch Desktop” , we get the page with the vnc webclient but it does not reach the session in the node.

Looking to the url use, looks like the port is missing and just adding the port between the remote hostname and the websockify , it works

The connection.yml file looks good (I think), for example

host: (correct hostname)
port: 5901
password: cKHzlH47
display: 1
websocket: 61344
spassword: O88gCFdg

any help here is more than welcome about what is missing in terms of config and suggested changes

Cheers
Roberto

OK - that’s odd that it’s not populating the port here. Can you share the output.log?

To be clear - you indicate you edited the connection.yml directly and it started to work? Or you edited the url and it started to work?

Hi Jeff,
Apologies for the long delay on the reply

I edited the URL not the connection.yml file. The connection.yml looks good from the beginning.

Here you have the output.log

Setting VNC password…
Starting VNC server…

Desktop ‘TurboVNC:(correct URL):1 (rriveiro)’ started on display irbccn08.hpc.irbbarcelona.pcb.ub.es:1

Log file is vnc.log
Successfully started VNC server on (correct URL):5901…
Script starting…
Starting websocket server…
Launching desktop ‘xfce’…
container.sh: line 189: /usr/bin/websockify: No such file or directory
Scanning VNC log file for user authentications…
Generating connection YAML file…
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.

(xfwm4:1559718): xfwm4-WARNING **: 11:06:52.149: Unsupported GL renderer (llvmpipe (LLVM 14.0.6, 256 bits)).

** (xfce4-screensaver:1559754): WARNING **: 11:06:52.735: screensaver already running in this session

** (xfdesktop:1559742): WARNING **: 11:06:52.749: 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’

** (wrapper-2.0:1559748): WARNING **: 11:06:53.015: No outputs have backlight property

** (wrapper-2.0:1559746): WARNING **: 11:06:53.054: Binding ‘XF86AudioMicMute’ failed!

(wrapper-2.0:1559746): pulseaudio-plugin-WARNING **: 11:06:53.054: Could not have grabbed volume control keys. Is another volume control application (xfce4-volumed) running?

(wrapper-2.0:1559746): libnotify-WARNING **: 11:06:53.057: Failed to connect to proxy

(wrapper-2.0:1559748): Gtk-WARNING **: 11:06:53.087: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PowerManagerButton)

(wrapper-2.0:1559746): Gtk-WARNING **: 11:06:53.087: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PulseaudioButton)

(wrapper-2.0:1559746): pulseaudio-plugin-WARNING **: 11:06:58.872: Disconected from the PulseAudio server. Attempting to reconnect in 5 seconds.
Failed to create secure directory (/run/user/17638/pulse): No such file or directory
Failed to create secure directory (/run/user/17638/pulse): No such file or directory
Setting VNC password…
Generating connection YAML file…

Cheers
Roberto

Here’s a relevant line. Do you have websockify installed and OOD configured to look at the correct binary?

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