This is a memo detailing the findings from installing Raspberry Pi OS Bookworm (Debian 12) on a Raspberry Pi and using VNC.
Overview
The GUI environment has been changed from X11 to Wayland (this seems to have been changed around Buster).
The VNC server has been changed from RealVNC to WayVNC.
Issues Arising from the Switch to WayVNC
- Cannot connect from the standard "Screen Sharing" app on Mac
- You can connect by using a RealVNC client.
- Cursor behavior rotates when the screen on the Raspberry Pi is rotated
- Although a pull request has been made and merged regarding this issue, it has not been resolved.
- https://github.com/raspberrypi/documentation/issues/3353
- Tried installing NoVNC on the Raspberry Pi to use it from a browser, but the connection is not established by default.
- Possibly due to encryption on the WayVNC side.
- In WayVNC settings, setting
enable_auth=true
also enables encryption.
- Setting
enable_auth=false
allows connection from NoVNC.
- There's no option to enable simple password authentication without requiring encryption.
- Tried setting the
relax_encryption
option, but it didn't work.
WayVNC
Configuration File
/etc/wayvnc/config
Configuration File Documentation
https://github.com/any1/wayvnc/blob/master/wayvnc.scd
Restarting (to apply settings)
sudo systemctl restart wayvnc
NoVNC
Installation
sudo apt install novnc
How to Start
/usr/share/novnc/utils/novnc_proxy <options>
Comments