Librem5 vnc remote access

I have successfully tested WayVNC on Librem 5.

I have build https://github.com/any1/wayvnc on my x86 Debian Laptop in PureOS ARM64 chroot. Development dependencies are available as regular PureOS packages except for

These can be cloned and provided as subprojects in wayvnc.

Way VNC can be started even from SSH session to Librem 5 when environment points to active Wayland session

export XDG_CURRENT_DESKTOP=Phosh:GNOME
export XDG_SESSION_TYPE=wayland
export WAYLAND_DISPLAY=wayland-0
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland

Then it is possible to start VNC by

wayvnc -v 0.0.0.0

Use this fully open invocation for test only on the local and safe network. Use password and certificate setting described on Way VNC page.

7 Likes