We have modified the /etc/ood/config/clusters/.yml to adopt the newer/alternate syntax for the script_wrapper:
script_wrapper: “module purge\nmodule load gcc/6.3.0\nmodule load ondemand-vnc\n%s”
Using ‘purge’ rather than restore so far seems preferable for our local lmod module hierarchy configuration.
The desktop does ultimately work, with one manual work-around, in that we need to enter “host:path” into a browser tab, and then select “launch noVnc in new tab” button.
So measured success. A few questions:
– Is it problematic to only have Mate installed? The output.log throws a number of complaints about missing files associated with gnome and xfce. I’m guessing most of that is to be expected, given they are not installed. Do we need any individual packages from gnome, or xfce?
– Even using the above script_wrapper, the path to the vncserver is not found, whereas the module (ondemand-vnc) when loaded in a shell appropriately updates the shell environment. This seems to be the condition that initially prevents the launch of the desktop, with which we workaround as described above.
Here’s the full output.log:
Setting VNC password…
Starting VNC server…
Desktop ‘TurboVNC: compt166:1 (mrd20)’ started on display compt166:1
Log file is vnc.log
Successfully started VNC server on compt166:5901…
Script starting…
Starting websocket server…
/usr/local/websockify/websockify/websocket.py:30: UserWarning: no ‘numpy’ module, HyBi protocol will be slower
warnings.warn(“no ‘numpy’ module, HyBi protocol will be slower”)
WebSocket server settings:
- Listen on :49804
- No SSL/TLS support (no cert file)
- Backgrounding (daemon)
Scanning VNC log file for user authentications…
Generating connection YAML file…
Resetting modules to system default
Launching desktop ‘mate’…
cat: /etc/xdg/autostart/gnome-keyring-gpg.desktop: No such file or directory
cat: /etc/xdg/autostart/xfce4-power-manager.desktop: No such file or directory
which: no vncserver in (/usr/local/intel-17/openmpi/2.0.1/bin:/usr/local/intel/17/compilers_and_libraries_2017/linux/bin/intel64:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/dell/srvadmin/bin:/home/mrd20/hpcadmin/scripts/bin)
generating cookie with syscall
generating cookie with syscall
generating cookie with syscall
generating cookie with syscall
mate-session[42364]: WARNING: Could not parse desktop file /home/mrd20/.config/autostart/gnome-keyring-gpg.desktop: Key file does not start with a group
mate-session[42364]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x137d250 finalized while still in-construction
mate-session[42364]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[42364]: WARNING: could not read /home/mrd20/.config/autostart/gnome-keyring-gpg.desktop
mate-session[42364]: WARNING: Could not parse desktop file /home/mrd20/.config/autostart/xfce4-power-manager.desktop: Key file does not start with a group
mate-session[42364]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x7fa8a4003770 finalized while still in-construction
mate-session[42364]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[42364]: WARNING: could not read /home/mrd20/.config/autostart/xfce4-power-manager.desktop
vmware-user: could not open /proc/fs/vmblock/dev
/usr/bin/vmtoolsd: symbol lookup error: /usr/lib64/libvmtools.so.0: undefined symbol: intf_close
SELinux Troubleshooter: Applet requires SELinux be enabled to run.
*** ERROR ***
TI:14:45:58 TH:0x1402a60 FI:gpm-manager.c FN:gpm_manager_systemd_inhibit,1784
- Error in dbus - GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied
Traceback:
mate-power-manager() [0x418b9f]
mate-power-manager() [0x411220]
/usr/lib64/libgobject-2.0.so.0(g_type_create_instance+0x1fb) [0x7f59eb33e4eb]
/usr/lib64/libgobject-2.0.so.0(+0x151fd) [0x7f59eb3221fd]
/usr/lib64/libgobject-2.0.so.0(g_object_new_with_properties+0x27d) [0x7f59eb323aad]
/usr/lib64/libgobject-2.0.so.0(g_object_new+0xc1) [0x7f59eb324491]
mate-power-manager() [0x411a22]
mate-power-manager() [0x4080b8]
/usr/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f59ea72e3d5]
mate-power-manager() [0x4083db]
Initializing caja-open-terminal extension
Initializing caja-image-converter extension
(nm-applet:42439): nm-applet-WARNING **: 14:45:58.635: NetworkManager is not running
/usr/share/system-config-printer/applet.py:44: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version(‘Notify’, ‘0.7’) before import to ensure that the right version gets loaded.
from gi.repository import Notify
system-config-printer-applet: failed to start NewPrinterNotification service
system-config-printer-applet: failed to start PrinterDriversInstaller service: org.freedesktop.DBus.Error.AccessDenied: Connection “:1.1365” is not allowed to own the service “com.redhat.PrinterDriversInstaller” due to security policies in the configuration file
Setting VNC password…
Generating connection YAML file…
mate-session[42364]: CRITICAL: gsm_systemd_set_session_idle: assertion ‘session_path != NULL’ failed
mate-session[42364]: CRITICAL: gsm_systemd_set_session_idle: assertion ‘session_path != NULL’ failed
mate-session[42364]: CRITICAL: gsm_systemd_set_session_idle: assertion ‘session_path != NULL’ failed
mate-session[42364]: CRITICAL: gsm_systemd_set_session_idle: assertion ‘session_path != NULL’ failed
Gtk-Message: 15:12:22.208: GtkDialog mapped without a transient parent. This is discouraged.
[1549655183,000,xklavier.c:xkl_engine_start_listen/] The backend does not require manual layout management - but it is provided by the application
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn’t happen!
(caja:42423): Gdk-WARNING **: 15:12:29.355: gdk_window_set_icon_list: icons too large
(mate-panel:42414): GLib-CRITICAL **: 15:12:29.390: g_hash_table_remove_internal: assertion ‘hash_table != NULL’ failed
(mate-panel:42414): GLib-GObject-WARNING **: 15:12:29.390: invalid unclassed pointer in cast to ‘MatePanelAppletFrameDBus’
(mate-panel:42414): GLib-CRITICAL **: 15:12:29.390: g_hash_table_remove_internal: assertion ‘hash_table != NULL’ failed
(mate-panel:42414): GLib-GObject-WARNING **: 15:12:29.390: invalid unclassed pointer in cast to ‘MatePanelAppletFrameDBus’
(mate-panel:42414): GLib-CRITICAL **: 15:12:29.390: g_hash_table_remove_internal: assertion ‘hash_table != NULL’ failed
(mate-panel:42414): GLib-GObject-WARNING **: 15:12:29.390: invalid unclassed pointer in cast to ‘MatePanelAppletFrameDBus’
(mate-panel:42414): GLib-CRITICAL **: 15:12:29.390: g_hash_table_remove_internal: assertion ‘hash_table != NULL’ failed
(mate-panel:42414): GLib-GObject-WARNING **: 15:12:29.390: invalid unclassed pointer in cast to ‘MatePanelAppletFrameDBus’
(mate-panel:42414): GLib-CRITICAL **: 15:12:29.390: g_hash_table_remove_internal: assertion ‘hash_table != NULL’ failed
(mate-panel:42414): GLib-GObject-WARNING **: 15:12:29.390: invalid unclassed pointer in cast to ‘MatePanelAppletFrameDBus’
(mate-panel:42414): GLib-GObject-WARNING **: 15:12:29.390: invalid unclassed pointer in cast to ‘MatePanelAppletFrameDBus’
mate-session[42364]: WARNING: Unable to stop system: Interactive authentication required.
Desktop ‘mate’ ended…
Cleaning up…
Killing Xvnc process ID 42264
Gdk-Message: 15:12:29.530: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
–