We have Rocky Linux 8 compute nodes that all have MATE installed on them and when I try and launch an interactive desktop using MATE it dumps the following into the output.log file for the session and almost immediately closes the noVNC connection:
Setting VNC password...
Starting VNC server...
Desktop 'TurboVNC: c4-n38:1 (lpowers)' started on display c4-n38:1
Log file is vnc.log
Successfully started VNC server on c4-n38:5901...
Script starting...
Starting websocket server...
The system default contains no modules
(env var: LMOD_SYSTEM_DEFAULT_MODULES is empty)
No changes in loaded modules
Launching desktop 'mate'...
[websockify]: pid: 72243 (proxying 62198 ==> localhost:5901)
[websockify]: log file: ./websockify.log
[websockify]: waiting ...
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib control.c:1570:(snd_ctl_open_noupdate) Invalid CTL default
[websockify]: started successfully (proxying 62198 ==> localhost:5901)
Scanning VNC log file for user authentications...
Generating connection YAML file...
GNOME_KEYRING_CONTROL=/c4/home/lpowers/.cache/keyring-QGI7U2
(polkit-mate-authentication-agent-1:72355): polkit-mate-1-WARNING **: 03:03:04.692: Unable to determine the session we are in: No session for pid 72355
GNOME_KEYRING_CONTROL=/c4/home/lpowers/.cache/keyring-QGI7U2
SSH_AUTH_SOCK=/c4/home/lpowers/.cache/keyring-QGI7U2/ssh
GNOME_KEYRING_CONTROL=/c4/home/lpowers/.cache/keyring-QGI7U2
SSH_AUTH_SOCK=/c4/home/lpowers/.cache/keyring-QGI7U2/ssh
(mate-power-manager:72320): PowerManager-ERROR **: 03:03:04.755: Error in dbus - GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied
Initializing caja-image-converter extension
Initializing caja-open-terminal extension
Initializing caja-sendto extension
SELinux Troubleshooter: Applet requires SELinux be enabled to run
mate-session[72257]: WARNING: Detected that screensaver has left the bus
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.UDisks2VolumeMonitor: The connection is closed (g-io-error-quark, 18)
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.UDisks2VolumeMonitor: The connection is closed (g-io-error-quark, 18)
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.UDisks2VolumeMonitor: The connection is closed (g-io-error-quark, 18)
(mate-panel:72307): GLib-GIO-CRITICAL **: 03:03:11.144: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.MTPVolumeMonitor: The connection is closed (g-io-error-quark, 18)
(mate-panel:72307): GLib-GIO-CRITICAL **: 03:03:11.146: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.GPhoto2VolumeMonitor: The connection is closed (g-io-error-quark, 18)
(mate-panel:72307): GLib-GIO-CRITICAL **: 03:03:11.146: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.AfcVolumeMonitor: The connection is closed (g-io-error-quark, 18)
(mate-panel:72307): GLib-GIO-CRITICAL **: 03:03:11.147: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.Daemon: The connection is closed (g-io-error-quark, 18)
(caja:72311): GLib-GIO-CRITICAL **: 03:03:11.147: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.MTPVolumeMonitor: The connection is closed (g-io-error-quark, 18)
(caja:72311): GLib-GIO-CRITICAL **: 03:03:11.148: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.GPhoto2VolumeMonitor: The connection is closed (g-io-error-quark, 18)
(caja:72311): GLib-GIO-CRITICAL **: 03:03:11.148: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.AfcVolumeMonitor: The connection is closed (g-io-error-quark, 18)
(caja:72311): GLib-GIO-CRITICAL **: 03:03:11.148: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.Daemon: The connection is closed (g-io-error-quark, 18)
abrt-applet: Problem connecting to dbus
(mate-settings-daemon:72295): GLib-GIO-CRITICAL **: 03:03:11.150: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.MTPVolumeMonitor: The connection is closed (g-io-error-quark, 18)
(mate-settings-daemon:72295): GLib-GIO-CRITICAL **: 03:03:11.150: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.GPhoto2VolumeMonitor: The connection is closed (g-io-error-quark, 18)
(mate-settings-daemon:72295): GLib-GIO-CRITICAL **: 03:03:11.151: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.AfcVolumeMonitor: The connection is closed (g-io-error-quark, 18)
(mate-settings-daemon:72295): GLib-GIO-CRITICAL **: 03:03:11.151: Error while sending AddMatch() message: The connection is closed
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.Daemon: The connection is closed (g-io-error-quark, 18)
(caja:72311): GVFS-WARNING **: 03:03:11.157: Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.Daemon: The connection is closed (g-io-error-quark, 18)
(mate-settings-daemon:72295): GLib-GIO-CRITICAL **: 03:03:11.166: Error while sending AddMatch() message: The connection is closed
(mate-settings-daemon:72295): GLib-GObject-CRITICAL **: 03:03:11.182: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(mate-settings-daemon:72295): GLib-GObject-CRITICAL **: 03:03:11.182: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[1728727384,000,xklavier.c:xkl_engine_start_listen/] The backend does not require manual layout management - but it is provided by the application
(mate-panel:72307): dconf-WARNING **: 03:03:11.189: failed to commit changes to dconf: The connection is closed
Setting VNC password...
Generating connection YAML file...
mate-session[72257]: WARNING: Client '/org/gnome/SessionManager/Client4' failed to reply before timeout
I tried to set export XDG_RUNTIME_DIR="/tmp/${UID}"
in the /var/www/ood/apps/sys/bc_desktop/template/script.sh.erb, but it made no difference. I don’t understand the errors in the log and Googling it doesn’t help.