Spaces:
Paused
Paused
disable dbus-daemon; trace before/after XFCE &
Browse files22 unmodified lines232425262728293031323334353622 unmodified linesecho "[start-desktop] After Xvfb sleep 2" >&2# Start dbus for session (optional; avoid exit on failure so noVNC can still serve)dbus-daemon --session 2>/dev/null || trueecho "[start-desktop] After dbus" >&2# Start XFCE (lightweight); use full path in case PATH is minimal# Skip XFCE if DISPLAY not ready to avoid blocking; x11vnc will still show Xvfb(sleep 1; /usr/bin/startxfce4) &DESKTOP_PID=$!echo "[start-desktop] Before sleep 3" >&2sleep 3echo "[start-desktop] XFCE started, starting x11vnc ..." >&222 unmodified lines232425262728293031323334353622 unmodified linesecho "[start-desktop] After Xvfb sleep 2" >&2# Start dbus for session (optional; avoid exit on failure so noVNC can still serve)# Disabled: can trigger set -e in some envs# dbus-daemon --session 2>/dev/null || trueecho "[start-desktop] Before XFCE background" >&2# Start XFCE (lightweight); use full path in case PATH is minimal(sleep 1; /usr/bin/startxfce4) &DESKTOP_PID=$!echo "[start-desktop] After XFCE & before sleep 3" >&2sleep 3echo "[start-desktop] XFCE started, starting x11vnc ..." >&2
ubuntu-desktop/start-desktop.sh+4-4