From bb2face70d27f3fc0d0b1db4daf4ac48db99b451 Mon Sep 17 00:00:00 2001 From: adadrag Date: Sun, 15 Mar 2026 12:55:21 +0000 Subject: [PATCH] Disable LXQt power management and screensaver in LXC These components crash in an LXC container since there's no real hardware power management. Disable them via autostart Hidden=true entries. Co-Authored-By: Claude Opus 4.6 (1M context) --- setup-openclaw-lxc.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/setup-openclaw-lxc.sh b/setup-openclaw-lxc.sh index dedf58d..0cf98e7 100644 --- a/setup-openclaw-lxc.sh +++ b/setup-openclaw-lxc.sh @@ -258,6 +258,27 @@ chmod +x /root/.config/tigervnc/xstartup" ct_exec "sed -i \"s/UI.initSetting('resize', 'off')/UI.initSetting('resize', 'scale')/\" /usr/share/novnc/app/ui.js" ok "VNC configured (auto-scaling enabled)." +# ─── Disable LXC-incompatible LXQt components ─────────────────────────────── +info "Disabling LXC-incompatible LXQt components..." +ct_exec " + mkdir -p /root/.config/autostart + # Disable power management (no hardware in LXC) + cat > /root/.config/autostart/lxqt-powermanagement.desktop << 'NOAUTO' +[Desktop Entry] +Type=Application +Name=LXQt Power Management +Hidden=true +NOAUTO + # Disable screen saver (not needed in VNC) + cat > /root/.config/autostart/lxqt-xscreensaver-autostart.desktop << 'NOAUTO' +[Desktop Entry] +Type=Application +Name=LXQt Screen Saver +Hidden=true +NOAUTO +" +ok "LXC-incompatible components disabled." + # ─── Configure Google Chrome as default browser ───────────────────────────── info "Configuring Google Chrome as default browser..." ct_exec "