---
slug: "raspberry-pi-os-bookworm-vnc-for-mac"
title: "VNC on Raspberry Pi OS Bookworm (Debian 12) Cannot Connect from Mac, and Cursor Behavior Rotates when Screen is Rotated"
description: "This is a memo detailing the findings from installing Raspberry Pi OS Bookworm (Debian 12) on a Raspberry Pi and using VNC."
url: "https://www.ytyng.com/en/blog/raspberry-pi-os-bookworm-vnc-for-mac"
publish_date: "2024-09-19T03:24:50Z"
created: "2024-09-19T03:24:50Z"
updated: "2026-02-27T12:14:08.197Z"
categories: ["Raspberry-Pi"]
keywords: ""
featured_image_url: "https://media.ytyng.com/resize/20250609/ed58b5ea679c4d3aab3b70222fca138b.png.webp?width=768"
has_video: true
has_music: true
video_urls: ["https://media.ytyng.net/ytyng-blog/314/featured-video-1.mp4", "https://media.ytyng.net/ytyng-blog/314/featured-video-2.mp4", "https://media.ytyng.net/ytyng-blog/314/featured-video-3.mp4"]
music_urls: ["https://media.ytyng.net/ytyng-blog/314/featured-music-314-3.mp3", "https://media.ytyng.net/ytyng-blog/314/featured-music-314-4.mp3"]
lang: "en"
---

# VNC on Raspberry Pi OS Bookworm (Debian 12) Cannot Connect from Mac, and Cursor Behavior Rotates when Screen is Rotated

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)

```shell
sudo systemctl restart wayvnc
```

# NoVNC

## Installation

```shell
sudo apt install novnc
```

## How to Start

```shell
/usr/share/novnc/utils/novnc_proxy <options>
```
