« Back to docs

VNC Connect error messages

If the recommended resolution does not fix your problem, or if you cannot find your error message, please contact support.

Connectivity error messages

VNC Viewer may display the following error messages if a connection attempt to VNC Server running on a remote computer fails.

Error message This may occur because... Resolution

VNC Server is not currently listening for cloud connections

RealVNC services cannot establish a connection between your device and the remote computer. The resolution depends on the precise cause. Please work through this checklist.

Either the username was not recognised or the password was incorrect

You have not provided the authentication credentials that VNC Server is expecting.

If you have a Professional or Enterprise subscription, enter the user name and password you normally use to log in to your user account on the remote computer.

If you have a Home subscription, enter the password specified when VNC Server was installed.

The user name you have entered does not identify the domain. Prefix the user name with a domain name, for example DEV.ACMECORP.COM\johndoe
The remote computer is running Windows and the Event Log is full. On the remote computer, type eventvwr into the Start menu and then select Windows Logs > Application > Clear Log. Finally, select Properties > Overwrite events as needed.
TeamViewer remote access software is running on the remote computer, which causes a conflict. Either uninstall TeamViewer, close it, or ensure it is not running in ‘unattended access’ mode.

Too many security failures

You have entered incorrect authentication credentials too many times. Wait for the number of seconds specified by the VNC Server BlacklistTimeout parameter (10 by default), and then enter the correct authentication credentials.

Connection rejected by VNC Server computer user

VNC Server is configured to require the remote computer user to manually accept or reject connections, and you have either been rejected or that user is not there.

Ensure the remote computer user is present and accepts your connection.

On the remote computer, you can turn this feature off by configuring the VNC Server QueryConnect parameter, or the Permissions parameter to automatically accept your connections.

The connection closed unexpectedly

VNC Server is blocking your connection attempt. On the remote computer, ensure the VNC Server Hosts parameter is not blocking your computer’s IP address.
VNC Server’s private key is missing or corrupt.

You should investigate why this has occurred. On a remote Mac or Linux computer, note the location of the private key is determined by the VNC Server RsaPrivateKeyFile parameter.

You can restart VNC Server to regenerate the private key, or alternatively at the command line without restarting by running <server-binary> -service -generatekeys.

The remote computer is running Windows and the Event Log is full. On the remote computer, type eventvwr into the Start menu and then select Windows Logs > Application > Clear Log. Finally, select Properties > Overwrite events as needed.

Connection reset by peer (10054)

Your network hardware is misconfigured or faulty (this error is not specific to VNC). Run the command ping -t -l 1350 <remote-ip> to confirm the two computers can communicate with one another, without packet loss.
Your network’s MTU has changed from the default (1500 bytes). It may have been configured manually (usually within router settings), or because you are connecting over a VPN. Using fixed IP addresses rather than DHCP-assigned addresses in your router settings has been known to resolve this issue.

Connection aborted (10053)

The remote computer aborted the connection, possibly due to a data transmission timeout, or a protocol error. On the remote computer, type eventvwr into the Start menu, select Windows Logs > Application, and examine VNC Server events.

An error occurred while trying to rename a file in the destination directory: MoveFile failed; code 5. Access denied.

The remote computer’s antivirus software or firewall is blocking your connection attempt. On the remote computer, ensure antivirus software lists VNC Server as an exception, and the firewall is configured to allow access on VNC Server’s listening port (5900 by default).

Unable to connect to VNC Server using your chosen security setting.

Either upgrade VNC Server to a more recent version from RealVNC, or select a weaker level of encryption

(Previously: No Matching Security Types)

VNC Viewer and VNC Server have incompatible encryption settings for a direct connection.

Either:

  • On the remote computer, change the VNC Server Encryption parameter to something other than AlwaysOff, or
  • Change the VNC Viewer Encryption parameter to Server, PreferOn or PreferOff.
The remote computer is running a legacy VNC Server (4.x or 5.x) or third party VNC-compatible software that does not support encryption. Either install the latest version of VNC Connect on the remote computer, or change the VNC Viewer Encryption parameter to either Server, PreferOn or PreferOff.

The event log is full

The remote computer is running Windows and the Event Log is full. On the remote computer, type eventvwr into the Start menu and then select Windows Logs > Application > Clear Log. Finally, select Properties > Overwrite events as needed.

Error (11001)

The remote computer does not exist on the IP address or hostname you have entered. Ensure you are entering the correct IP address or hostname.
The remote computer’s antivirus software or firewall is blocking your connection attempt. On the remote computer, ensure antivirus software lists VNC Server as an exception, and the firewall is configured to allow access on VNC Server’s listening port (5900 by default).

Timed out waiting for a response from the computer.

(Previously: Timed out waiting for a response from the host computer)

No response was received from the specified IP address, even to reject the connection.

Check the remote computer is switched on. Ensure antivirus software lists VNC Server as an exception, and the firewall is configured to allow access on VNC Server’s listening port (5900 by default).

Follow these steps if you are attempting to establish a direct connection over the Internet.

No such host is known.

(Previously: No route to the host is known)

No response was received from the specified IP address, even to reject the connection.

Check the remote computer is switched on. Ensure antivirus software lists VNC Server as an exception, and the firewall is configured to allow access on VNC Server’s listening port (5900 by default).

Follow these steps if you are attempting to establish a direct connection over the Internet.

The requested name is valid, but no data of the requested type was found (11004)

There is a name resolution issue within your network environment (this is a Winsock error). Enter the remote computer’s IP address rather than its host or domain name.

connect: No connection could be made because the target machine actively refused it (10061)

A remote computer user is attempting to reverse-connect from VNC Server to you, but VNC Viewer is not in listening mode. To put VNC Viewer in listening mode, run the appropriate command for your platform. Then, ask the remote computer user to connect again.

An attempt was made to access a socket in a way forbidden by its access permissions (10013)

The remote computer’s antivirus software or firewall is blocking your connection attempt. On the remote computer, ensure antivirus software lists VNC Server as an exception, and the firewall is configured to allow access on VNC Server’s listening port (5900 by default).
Another application or service is listening on the same port as VNC Server. On the remote computer, ensure the TCP port on which VNC Server is listening for direct connections (identified by the RfbPort parameter) is not in use by any other application or service.

VNC Server error messages

VNC Server may display the following error messages.

Error message This may occur because... Resolution
Hosted Bootstrap error: Network failure: Error connecting: Proxy error via <customer proxy>: AuthenticationRequired (AuthenticationRequired) You are adding a computer to a team but there’s an intermediate proxy server. Supply location and credentials for the proxy server at the same time as you add the computer to the team.

Invalid date (0-0-0T0:0:0)

You are attempting to license VNC Server on a computer that has incorrect date/time settings. Ensure a valid time zone is set on the computer, for example using Microsoft’s tzutil.exe tool.

VNCServer has failed to launch - Mac OS X

Another process is listening on the same port as VNC Server (by default 5900). The VNC Server tray icon may also disappear. Disable other remote control/screen sharing applications, then restart VNC Server.

Secure encryption key is missing or corrupt

VNC Server does not have a private RSA key.

Run the following command to generate a RSA key under Windows:

vncserver.exe -service -generatekeys (Service Mode)

vncserver.exe -generatekeys (User Mode)

XML error 0:0 Error: First Tag not found

You are attempting to license VNC Server, and Windows Event Log is full. Type eventvwr into the Start menu and then select Windows Logs > Application > Clear Log. Finally, select Properties > Overwrite events as needed.

Error: could not run xauth

The Xauth program could not be located.

Run which xauth as a non-root user to locate the xauth binary, and add this location to the path.

If no location is returned, install xauth in the usual way for your distribution, and then add it to the path.

The xauth program is unable to resolve the computer’s hostname.

Run the commmand host <your-hostname> to test whether the hostname can be resolved.

If no IP address is returned, add the computer’s IP address followed by the hostname to the /etc/hosts file.

If you are on an office network with a DNS server, contact your system administrator.

Could not open default font ‘fixed’ - UNIX

The computer’s default font path is not valid for Xvnc.

Run xset q to list information about your X Server, including the font path you should use.

Specify the -fp X option in the appropriate vncserver configuration file, and append the font path, for example:

-fp "/usr/share/fonts/Xll/misc,built-ins"

The appropriate file is /etc/vnc/config for all users, and ~/.vnc/config for the currently logged-in user.

×