For Linux, only X11 is currently supported, Wayland is not yet.
🧑🏼💻 Implementation of the support is in progress. As long as it is not available, the following workaround can be used.
There are two ways to set up the workaround:
Command
Open a Terminal window and type the following command:
sudo raspi-config nonint do_wayland <W1>
Press Enter.
your
Press Enter.
⚠️ Note: you will not see the cursor move while typing. Regardless, type the password.
echo $XDG_SESSION_TYPE
Press Enter.
If the result is X11, the setting is correct.
Raspberry.
✅ With this setting, our Screen application will also work properly.
sudo raspi-config nonint do_wayland <W2>
Graphical interface
Open a Terminal window and type the following command:
sudo raspi-config
Press Enter.
your
⚠️ Note: you will not see the cursor move while typing. Regardless, type the password.
Press Enter.
The following window appears:
Select Advanced Options.
💡 Hint: use the arrow keys to navigate and press Enter to select.
The following menu appears:
Select Wayland.
Here you can change the system from Wayland to X11.
Use this option to switch between the X11 and Wayland backends. The Wayland backend was introduced in Bookworm, X11 was used in older versions of Raspberry Pi OS.
➡️ Switch to X11.
✅ With this setting, our Screen application will also work properly.