Opening Videowall on startup on Ubuntu
CompletedI'm running the NX Witness Client version 6.0.0.39503 on Ubuntu 22.04. I used to have it launch at startup via a script, but that's not working now, seems to be since the last update.
(These docs don't seem to match my install on Ubuntu, either: Launch Desktop Client with CLI – Network Optix - /opt/networkoptix/mediaserver/build_info.txt doesn't exist, it's at /opt/networkoptix/client/6.0.0.39503/build_info.json )
Below is the script, and the logs from it.
Script:
#! /bin/bash
# Function to check network status
check_network() {
# Ping DNS server
ping -c 1 192.168.1.5 > /dev/null 2>&1
return $?
}
# Loop to check network status every 2 seconds
while true; do
if check_network; then
echo "Network is active. Continuing..."
break
else
echo "Network is not active. Checking again in 2 seconds..."
sleep 2
fi
done
/opt/networkoptix/client/6.0.0.39503/bin/client-bin --auth=http://user:pass@192.168.1.5:7001 --videowall={d773eaae-c53f-468d-b33d-a074d89a61c3} --show-full-infoLogs:
Network is not active. Checking again in 2 seconds...
Network is active. Continuing...
Using bundled libstdc++.
Using system libOpenGL.
nx_utils.ini (absent) To fill in defaults, touch /home/oliver/.config/nx_ini/nx_utils.ini
nx_build_info.ini (absent) To fill in defaults, touch /home/oliver/.config/nx_ini/nx_build_info.ini
desktop_client.ini (absent) To fill in defaults, touch /home/oliver/.config/nx_ini/desktop_client.ini
2025-05-30 14:20:07.997 1672 WARNING QnLongRunnable(0x5ba09dc9b6c0): QnLongRunnablePool instance does not exist, lifetime of this runnable will not be tracked.
nx_network.ini (absent) To fill in defaults, touch /home/oliver/.config/nx_ini/nx_network.ini
qt.qml.typeregistration: Invalid QML element name "Uuid"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "Url"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "SoftwareVersion"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "DateRange"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "MediaDewarpingParams"; value type names should begin with a lowercase letter
2025-05-30 14:20:08.061 1672 INFO nx::vms::client::core::KeychainBackend(0x7ffe4ba05b20): Created. Service name: "Network Optix Nx Witness"
static bool LibSecretKeyring::writePassword(const QString &, const QString &, const QString &, const QKeychain::JobPrivate::Mode, const QByteArray &, QKeychain::JobPrivate *)
static bool LibSecretKeyring::findPassword(const QString &, const QString &, QKeychain::JobPrivate *)
nx_vms_client_core.ini (absent) To fill in defaults, touch /home/oliver/.config/nx_ini/nx_vms_client_core.ini
qt.qml.typeregistration: Invalid QML element name "AccessRightDescriptor"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "EventCategory"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "ResourceAccessInfo"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "ResourceAccessTreeItem"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "HelpTopic"; value type names should begin with a lowercase letter
2025-05-30 14:20:08.281 1672 ERROR nx::vms::client::core::ColorTheme(0x5ba09dc9bec0): Singleton is created more than once.
2025-05-30 14:20:08.294 1672 INFO nx::vms::client::core::FontConfig(0x5ba09e00bb90): Loading font config, base font family: Roboto, weight: normal, size 13px
QFSFileEngine::open: No file name specified
2025-05-30 14:20:08.294 1672 ERROR nx::vms::client::core: Can't open font config file, path , code: 5, error: No file name specified
2025-05-30 14:20:08.294 1672 INFO nx::vms::client::core::FontConfig(0x5ba09e00bb90): Loaded 14 fonts, default config font family: Roboto, weight: normal, size 13px
QVariant::load: unknown user type with name nx::vms::api::SoftwareVersion.
QVariant::load: unknown user type with name QnLicenseWarningStateHash.
QVariant::load: unknown user type with name QnUuid.
2025-05-30 14:20:08.327 1672 INFO nx::vms::client::desktop::ApplicationContext::Private: Log is initialized from the settings
2025-05-30 14:20:08.327 1672 INFO nx::vms::client::desktop::ApplicationContext::Private: Log level is initialized from the settings
ptz.ini (absent) To fill in defaults, touch /home/oliver/.config/nx_ini/ptz.ini
nx_vms_rules.ini (absent) To fill in defaults, touch /home/oliver/.config/nx_ini/nx_vms_rules.ini
resource_management.ini [/home/oliver/.config/nx_ini/resource_management.ini]
allowDefaultStorageFactory=false
cameraDiscoveryIntervalMs=15000
maxResourceDiscoveryThreadCount=32
upnpDiscoveryIntervalMs=15000
Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing.
nx_utils.ini (absent) To fill in defaults, touch /home/oliver/.config/nx_ini/nx_utils.ini
nx_system_updates.ini [/home/oliver/.config/nx_ini/nx_system_updates.ini]
releaseListUrl=""-
using top i was able to find the command line args for when the client restarts into video wall mode.
i then copeid the default destop icon into ~/.config/autostart
then i commented out the orginal Exec line and then put in what i found above so my dwspectrum.desktop file is now below.
this will break every time the client version changes…[Desktop Entry] Type=Application Name=DW Spectrum Comment=DW Spectrum Client Icon=vmsclient-digitalwatchdog.png #Exec="/home/localadmin/.local/share/Digital Watchdog/applauncher/digitalwatchdog/bin/applauncher-bin" %u Exec=/opt/digitalwatchdog/client/6.0.0.39503/bin/dwspectrum_client --videowall {14ba2c1a-******************} --videowall-instance {634b9ebf-***************} --auth REMOVED StartupNotify=true StartupWMClass=dwspectrum Terminal=false Version=6.0.0.39503 X-GNOME-Autostart-Delay=300
Post is closed for comments.
Comments
1 comment