Problems
Login to remote PC is not working anymore after rebooting Ubuntu 20.04 remote machine
Solutions
1. SSH to the remote machine
2. Edit file "/etc/gdm3/custom.conf"
3. Add the line "WaylandEnable=false"
4. Restart the gdm with "sudo systemctl restart gdm3"
5. Re-login teamviewer
References