We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5dfb07 commit 23ec254Copy full SHA for 23ec254
1 file changed
universal-telemetry-software/setup.sh
@@ -141,7 +141,16 @@ else
141
ok "uv installed at $UV"
142
fi
143
144
-# ── 6. Python venv + dependencies ────────────────────────────────────────────
+# ── 6. Enable Wayland compositor (required for NoMachine on headless Pi) ─────
145
+hdr "Wayland compositor"
146
+if raspi-config nonint get_wayland 2>/dev/null | grep -q "W2"; then
147
+ ok "Wayland already enabled"
148
+else
149
+ raspi-config nonint do_wayland W2
150
+ ok "Wayland enabled (Wayfire) — takes effect after reboot"
151
+fi
152
+
153
+# ── 8. Python venv + dependencies ────────────────────────────────────────────
154
hdr "Python venv (system-site-packages for gi/GStreamer)"
155
cd "$SCRIPT_DIR"
156
sudo -u "$SERVICE_USER" env HOME="$SERVICE_HOME" \
0 commit comments