VNC Connect does not currently support Wayland on Linux, so if you are using a version of Linux that uses Wayland by default (Ubuntu 18.04 and later, CentOS / RHEL 8 and later), you will need to disable it.
If you don't disable Wayland, when you connect to VNC Server on these OSes you will see a blank/blank screen or a message stating "Cannot currently show the desktop", or find you cannot connect until there is a user logged in on the remote computer.
To disable Wayland, you need to:
- Locate the correct configuration file for your OS. This is one of /etc/gdm3/custom.conf (Ubuntu) or /etc/gdm/custom.conf (CentOS/RHEL)
- Open the file with sudo/root privileges
- Uncomment WaylandEnable=false by deleting the # at the beginning of the line
- Reboot the VNC Server computer