Disable Wayland on Ubuntu
Disable Wayland on Ubuntu for Anydesk, Rustdesk, etc.
Open /etc/gdm3/custom.conf
[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false
# Enabling automatic login
AutomaticLoginEnable = true
AutomaticLogin = $USERNAME
Replace $USERNAME
with your username.
Reference: Anydesk remote server display not supported e.g Wayland