Monday, December 01, 2025

wayvnc: WAYLAND_DISPLAY is not set in the environment

Run it with set WAYLAND_DISPLAY:


env WAYLAND_DISPLAY=wayland-1 wayvnc


Check in `/run/user/$UID` the number of active walyand session, e.g. 1 in `niri.wayland-1.1846.sock= `