Remote desktop and screen casting in Wayland
Remote desktop and screen sharing in libmutter is split into two separate, but optionally combined parts: screen casting, and remote control. Both are exposed via their own D-Bus APIs. The data transfer and format negotiation of the screen casting is done by PipeWire.
Applications that want to implement features related to screen casting and/or desktop sharing should use corresponding APIs provided by xdg-desktop-portal. Two related APIs are provided; org.freedesktop.portal.ScreenCast for managing screen casting sessions, and org.freedesktop.portal.RemoteDesktop for managing remote desktop (i.e. remote control) sessions. They can also be combined to create a remote desktop session with screen casting functionality.
Remote desktop functionality is not implemented in mutter but in GNOME Remote Desktop. GNOME Remote Desktop currently supports "screen share", also known as "remote assistance" mode through VNC or RDP. VNC support is provided via LibVNCServer and RDP support is provided via FreeRDP.
VNC mode supports either authentication using a VNC password, or via a prompt allowing the user sharing the desktop to interactively grant permission.
RDP mode supports authentication using a username and password pair.
GNOME Remote Desktop will likely be installed together with GNOME via your distribution.
Open Settings, select Sharing, and enable Screen sharing. This should automatically enable the service and you should immediately be able to connect via VNC. Currently there is no user interface for enabling RDP support, but in the future there will be.
If you encounter unexpected crashes, screen casting or remote desktop access not functioning as expected, please report bug.