From f7b8cbe3f3264f431e87506392dac823c6293fc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Sat, 25 Jul 2026 16:26:31 +0000 Subject: [PATCH] setup-desktop: install tigervnc-common for vncpasswd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The VNC sidecar builds its .vnc/passwd rfbauth file with `vncpasswd -f` (vnc-manager.ts) — x11vnc alone doesn't ship vncpasswd. The GNOME-on-Xorg rewrite dropped tigervnc, so the mirror couldn't create its password and /desktop failed with "VNC password not configured". Add tigervnc-common back. Co-Authored-By: Claude Opus 4.8 --- scripts/setup-desktop.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/setup-desktop.sh b/scripts/setup-desktop.sh index 32887aa1..8db18518 100755 --- a/scripts/setup-desktop.sh +++ b/scripts/setup-desktop.sh @@ -21,8 +21,11 @@ sudo DEBIAN_FRONTEND=noninteractive apt install -y -qq \ ubuntu-desktop \ gdm3 \ x11vnc \ + tigervnc-common \ dbus-x11 echo " Done." +# tigervnc-common provides `vncpasswd`, which the VNC sidecar uses to write the .vnc/passwd rfbauth +# file that x11vnc mirrors :0 with (see vnc-manager.ts). x11vnc alone does NOT ship vncpasswd. # --- Step 2: Force GDM onto Xorg + enable auto-login (x11vnc cannot mirror Wayland) --- echo "[2/5] Forcing Xorg session and auto-login in GDM..."