Hello,
I’ve successfully deployed open ondemand and I’m currently in the process of configuring interactive desktop session on it. The issue I’ve been facing is a weird one. I think I have the configuration properly setup because I was able to make interactive session work on one of the attempts but never made it work after that. In other words, the same ood configuration initially wasn’t working for interactive desktop, worked once just fine and stopped working on trying to have an interactive session after that. Since it worked once, I’m working with the assumption that I have the right configuration. Sharing as much details as I can as I don’t know at this point what’s gonna help.
output.log for failed session:
Setting VNC password...
Starting VNC server...
Desktop 'TurboVNC: example.com:2 (manas-suleman)' started on display example.com:2
Log file is vnc.log
Successfully started VNC server on example.com:5902...
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 'xfce'...
WebSocket server settings:
- Listen on :22906
- No SSL/TLS support (no cert file)
- Backgrounding (daemon)
Scanning VNC log file for user authentications...
Generating connection YAML file...
(xfwm4:190490): xfwm4-WARNING **: 15:12:49.000: Unsupported GL renderer (llvmpipe (LLVM 15.0.0, 256 bits)).
vmware-user: could not open /proc/fs/vmblock/dev
** (xfce4-screensaver:190533): WARNING **: 15:12:49.912: screensaver already running in this session
(uint32 1,)
** (wrapper-2.0:190519): WARNING **: 15:12:50.332: Binding 'XF86AudioMicMute' failed!
(wrapper-2.0:190519): pulseaudio-plugin-WARNING **: 15:12:50.333: Could not have grabbed volume control keys. Is another volume control application (xfce4-volumed) running?
(wrapper-2.0:190519): libnotify-WARNING **: 15:12:50.345: Failed to connect to proxy
(wrapper-2.0:190531): libactions-WARNING **: 15:12:50.360: Calling CanShutdown failed GDBus.Error:org.xfce.SessionManager.Error.Failed: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit systemd-logind.service is masked.
(wrapper-2.0:190531): libactions-WARNING **: 15:12:50.384: Calling CanRestart failed GDBus.Error:org.xfce.SessionManager.Error.Failed: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit systemd-logind.service is masked.
(wrapper-2.0:190519): Gtk-WARNING **: 15:12:50.391: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PulseaudioButton)
(xfce4-session:190456): xfce4-session-WARNING **: 15:12:50.416: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:190456): xfce4-session-WARNING **: 15:12:50.454: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:190456): xfce4-session-WARNING **: 15:12:50.495: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(wrapper-2.0:190531): Gtk-WARNING **: 15:12:50.551: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)
** (xfdesktop:190510): WARNING **: 15:12:51.149: 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'
output.log for successful session:
Setting VNC password...
Starting VNC server...
WARNING: example.com:1 is taken because of /tmp/.X1-lock
Remove this file if there is no X server example.com:1
Killing Xvnc process ID 187763
Xvnc process ID 187763 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: example.com:1 (manas-suleman)' started on display example.com:1
Log file is vnc.log
Successfully started VNC server on example.com: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 'xfce'...
WebSocket server settings:
- Listen on :35841
- No SSL/TLS support (no cert file)
- Backgrounding (daemon)
Scanning VNC log file for user authentications...
Generating connection YAML file...
(xfwm4:188259): xfwm4-WARNING **: 13:45:39.891: Unsupported GL renderer (llvmpipe (LLVM 15.0.0, 256 bits)).
vmware-user: could not open /proc/fs/vmblock/dev
(uint32 1,)
** (xfce4-screensaver:188308): WARNING **: 13:45:40.912: screensaver already running in this session
** (wrapper-2.0:188283): WARNING **: 13:45:41.234: Binding 'XF86AudioMicMute' failed!
(wrapper-2.0:188283): pulseaudio-plugin-WARNING **: 13:45:41.234: Could not have grabbed volume control keys. Is another volume control application (xfce4-volumed) running?
(wrapper-2.0:188283): libnotify-WARNING **: 13:45:41.266: Failed to connect to proxy
(wrapper-2.0:188291): libactions-WARNING **: 13:45:41.299: Calling CanShutdown failed GDBus.Error:org.xfce.SessionManager.Error.Failed: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit systemd-logind.service is masked.
(wrapper-2.0:188283): Gtk-WARNING **: 13:45:41.317: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PulseaudioButton)
(wrapper-2.0:188291): libactions-WARNING **: 13:45:41.332: Calling CanRestart failed GDBus.Error:org.xfce.SessionManager.Error.Failed: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit systemd-logind.service is masked.
(xfce4-session:188226): xfce4-session-WARNING **: 13:45:41.357: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:188226): xfce4-session-WARNING **: 13:45:41.387: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:188226): xfce4-session-WARNING **: 13:45:41.426: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(wrapper-2.0:188291): Gtk-WARNING **: 13:45:41.463: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)
** (xfdesktop:188279): WARNING **: 13:45:41.607: 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'
Setting VNC password...
Generating connection YAML file...
(xfce4-screensaver-preferences:189345): Gtk-WARNING **: 14:09:56.668: Content added to the action area of a dialog using header bars
(xfce4-screensaver-preferences:189345): Gtk-WARNING **: 14:09:56.669: Content added to the action area of a dialog using header bars
(xfce4-screensaver-preferences:189345): Gtk-WARNING **: 14:09:56.670: Content added to the action area of a dialog using header bars
(xfce4-screensaver-preferences:189345): Gtk-WARNING **: 14:09:56.670: Content added to the action area of a dialog using header bars
(xfce4-screensaver-preferences:189345): GLib-GObject-CRITICAL **: 14:10:06.276: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Setting VNC password...
Generating connection YAML file...
Setting VNC password...
Generating connection YAML file...
(wrapper-2.0:188291): libactions-WARNING **: 14:38:25.586: Calling CanShutdown failed GDBus.Error:org.xfce.SessionManager.Error.Failed: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit systemd-logind.service is masked.
(wrapper-2.0:188291): libactions-WARNING **: 14:38:25.614: Calling CanRestart failed GDBus.Error:org.xfce.SessionManager.Error.Failed: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit systemd-logind.service is masked.
(xfce4-session:188226): xfce4-session-WARNING **: 14:38:25.632: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:188226): xfce4-session-WARNING **: 14:38:25.680: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:188226): xfce4-session-WARNING **: 14:38:25.730: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(wrapper-2.0:188282): LIBDBUSMENU-GLIB-WARNING **: 14:39:45.814: Getting layout failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/NO_DBUSMENU'
(wrapper-2.0:188282): LIBDBUSMENU-GLIB-WARNING **: 14:39:57.531: Getting layout failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/NO_DBUSMENU'
(wrapper-2.0:188282): LIBDBUSMENU-GLIB-WARNING **: 14:40:21.050: Getting layout failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/NO_DBUSMENU'
Setting VNC password...
Generating connection YAML file...
vnc.log for failed session:
TurboVNC Server (Xvnc) 64-bit v3.0.3 (build 20230227)
Copyright (C) 1999-2022 The VirtualGL Project and many others (see README.txt)
Visit http://www.TurboVNC.org for more information on TurboVNC
12/07/2023 16:13:37 Using security configuration file /etc/turbovncserver-security.conf
12/07/2023 16:13:37 Enabled security type 'tlsvnc'
12/07/2023 16:13:37 Enabled security type 'tlsotp'
12/07/2023 16:13:37 Enabled security type 'tlsplain'
12/07/2023 16:13:37 Enabled security type 'x509vnc'
12/07/2023 16:13:37 Enabled security type 'x509otp'
12/07/2023 16:13:37 Enabled security type 'x509plain'
12/07/2023 16:13:37 Enabled security type 'vnc'
12/07/2023 16:13:37 Enabled security type 'otp'
12/07/2023 16:13:37 Enabled security type 'unixlogin'
12/07/2023 16:13:37 Enabled security type 'plain'
12/07/2023 16:13:37 Desktop name 'TurboVNC: example.com:1 (manas-suleman)' (example.com:1)
12/07/2023 16:13:37 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
12/07/2023 16:13:37 Listening for VNC connections on TCP port 5901
12/07/2023 16:13:37 Interface 0.0.0.0
12/07/2023 16:13:37 Framebuffer: BGRX 8/8/8/8
12/07/2023 16:13:37 New desktop size: 800 x 600
12/07/2023 16:13:37 New screen layout:
12/07/2023 16:13:37 0x00000040 (output 0x00000040): 800x600+0+0
12/07/2023 16:13:37 Maximum clipboard transfer size: 1048576 bytes
12/07/2023 16:13:38 VNC extension running!
$ cat /var/log/ondemand-nginx/manas-suleman/error.log | grep -i error
App 276225 output: [2023-07-12 11:34:15 +0100 ] WARN "Error opening MOTD at \nException: bad URI(is not URI?): nil"
App 276225 output: [2023-07-12 11:49:03 +0100 ] INFO "method=GET path=/pun/sys/dashboard/batch_connect/sessions/6b419afe-59d1-4c85-aca4-67cbac71e0e9 format=html controller=BatchConnect::SessionContextsController action=new status=500 error='ActionView::Template::Error: No such file or directory - /var/www/ood/apps/sys/6b419afe-59d1-4c85-aca4-67cbac71e0e9' duration=22.93 view=0.00"
App 276225 output: [2023-07-12 11:49:03 +0100 ] FATAL "ActionView::Template::Error (No such file or directory - /var/www/ood/apps/sys/6b419afe-59d1-4c85-aca4-67cbac71e0e9):\n 75: <div class=\"col-md-6\">\n 76: <h3>\n 77: <%= @app.title %>\n 78: <% unless @app.version.nil? %>\n 79: <small>version: <%= @app.version %></small>\n 80: <% end %>\n 81: </h3>\n \nconfig/initializers/open3_extensions.rb:4:in `capture3'\napp/apps/ood_app.rb:350:in `version_from_git'\napp/apps/ood_app.rb:317:in `version'\napp/models/batch_connect/app.rb:302:in `version'\napp/views/batch_connect/session_contexts/new.html.erb:78"
App 276225 output: [2023-07-12 11:49:03 +0100 ] INFO "method=GET path=/pun/sys/dashboard/500 format=html controller=ErrorsController action=internal_server_error status=500 duration=29.87 view=24.12"
App 276225 output: [2023-07-12 11:49:13 +0100 ] INFO "method=GET path=/pun/sys/dashboard/batch_connect/sessions/6b419afe-59d1-4c85-aca4-67cbac71e0e9 format=html controller=BatchConnect::SessionContextsController action=new status=500 error='ActionView::Template::Error: No such file or directory - /var/www/ood/apps/sys/6b419afe-59d1-4c85-aca4-67cbac71e0e9' duration=18.85 view=0.00"
App 276225 output: [2023-07-12 11:49:13 +0100 ] FATAL "ActionView::Template::Error (No such file or directory - /var/www/ood/apps/sys/6b419afe-59d1-4c85-aca4-67cbac71e0e9):\n 75: <div class=\"col-md-6\">\n 76: <h3>\n 77: <%= @app.title %>\n 78: <% unless @app.version.nil? %>\n 79: <small>version: <%= @app.version %></small>\n 80: <% end %>\n 81: </h3>\n \nconfig/initializers/open3_extensions.rb:4:in `capture3'\napp/apps/ood_app.rb:350:in `version_from_git'\napp/apps/ood_app.rb:317:in `version'\napp/models/batch_connect/app.rb:302:in `version'\napp/views/batch_connect/session_contexts/new.html.erb:78"
App 276225 output: [2023-07-12 11:49:13 +0100 ] INFO "method=GET path=/pun/sys/dashboard/500 format=html controller=ErrorsController action=internal_server_error status=500 duration=19.14 view=13.74"
logs produced when attempting to connect to a failed session:
$ tail -f /var/log/ood/oodserver_error.log | grep -i error
[Wed Jul 12 15:30:24.481351 2023] [proxy:error] [pid 304943:tid 140577836365568] (113)No route to host: AH00957: WS: attempt to connect to 123.45.67.127:11064 (*) failed
[Wed Jul 12 15:30:24.481410 2023] [proxy_wstunnel:error] [pid 304943:tid 140577836365568] [client 172.16.104.137:63069] AH02452: failed to make connection to backend: example.com
ood_portal.yml:
servername: ood_server.com
logroot: '/var/log/ood'
user_map_match: '^([^@])@COM$'
host_regex: 'example.com'
node_uri: '/node'
rnode_uri: '/rnode'
I’d really appreciate any pointers in the right direction. Cheers,