From 8826a434df51594d58474b6b0f1b3f286888cfc9 Mon Sep 17 00:00:00 2001 From: adadrag Date: Sun, 15 Mar 2026 12:52:59 +0000 Subject: [PATCH] Fix DBus activation warning on LXQt startup Add dbus-launch --exit-with-session to VNC xstartup and restore dbus-x11 package so DBus is properly initialized before LXQt starts. Co-Authored-By: Claude Opus 4.6 (1M context) --- setup-openclaw-lxc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup-openclaw-lxc.sh b/setup-openclaw-lxc.sh index 5ecedc4..dedf58d 100644 --- a/setup-openclaw-lxc.sh +++ b/setup-openclaw-lxc.sh @@ -208,7 +208,7 @@ info "Installing LXQt, TigerVNC, noVNC (this takes a few minutes)..." ct_exec " export DEBIAN_FRONTEND=noninteractive export LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 - apt-get install -y lxqt openbox qterminal tigervnc-standalone-server novnc websockify fonts-noto-color-emoji 2>&1 \ + apt-get install -y lxqt openbox qterminal tigervnc-standalone-server novnc websockify dbus-x11 fonts-noto-color-emoji 2>&1 \ | grep -v -E 'Failed to write|Failed to send reload|Permission denied|Cannot set LC_' " ok "Desktop environment installed." @@ -250,7 +250,7 @@ ct_exec "cat > /root/.config/tigervnc/xstartup << 'XSTARTUP' #!/bin/bash unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS -exec startlxqt +exec dbus-launch --exit-with-session startlxqt XSTARTUP chmod +x /root/.config/tigervnc/xstartup"