Completely Removing VNC Connect

Follow

Removing VNC Connect applications

First run the uninstaller(s) in the standard way for your platform.

Windows

You can uninstall VNC Server for Windows by using:

  • Settings -> Apps (Windows 10)
  • Control Panel -> Add/Remove Programs (Windows 7 - 8.1)

Linux

You can uninstall VNC Server for Linux by running:

  • sudo apt remove realvnc-vnc-server (Debian and Ubuntu)
  • sudo yum remove realvnc-vnc-server (RedHat and CentOS)

Mac

You can uninstall VNC Server for Mac by:

  • Running the Uninstall VNC Server app, by opening Finder -> Applications -> RealVNC

Removing VNC Connect configuration and other files

The uninstaller(s) remove all program files, and security-related files and settings. The below tables list the (benign) files and settings that remain, which you can manually remove. It assumes an original installation to the default location.

Windows

Registry key or other setting Notes
HKEY_LOCAL_MACHINE\Software\RealVNC  
HKEY_LOCAL_MACHINE\Software\Policies\RealVNC  
HKEY_CURRENT_USER\Software\RealVNC  For each user account running VNC Connect
HKEY_CURRENT_USER\Software\Policies\RealVNC  For each user account running VNC Connect
C:\ProgramData\RealVNC-Service  
C:\Users\~\AppData\Local\RealVNC  For each user account running VNC Connect
C:\Users\~\AppData\Roaming\RealVNC  For each user account running VNC Connect
C:\Users\~\.vnc\  For each user account running VNC Connect
 A firewall entry for Listening VNC Viewer  If one was created

*VNC Mirror Driver has been uninstalled if it is no longer listed as a display adaptor in Windows Device Manager. Note any remaining files are managed by Windows as part of the Driver Store and should not be manually removed.

Linux

Directory or file Notes
/etc/vnc/  
/root/.vnc/  
~/.vnc/  For each user account running VNC Connect
/etc/pam.d/vncserver*  
/etc/init.d/vncserver*  Linux distributions using initd
/etc/rc*.d/*vncserver*  Linux distributions using initd
/usr/lib/systemd/system/vncserver*  Linux distributions using systemd
/var/log/vncserver*  
/tmp/.vnc*  

*VNC Server in Virtual Mode creates a /tmp/.X11-unix directory and /tmp/.X<num> files that may persist after the program stops. Run the command vncserver-virtual -clean before uninstalling VNC Connect to delete stale files.

Mac

Directory or file Notes
/etc/vnc/  
/var/root/.vnc/  
~/.vnc/  For each user account running VNC Connect
/etc/pam.d/vncserver*  
/Library/Logs/vnc*.log  
~/Library/Logs/vnc  For each user account running VNC Connect
/Library/LaunchAgents/*realvnc*.plist  
/Library/LaunchDaemons/*realvnc*.plist  
~/Library/Preferences/*realvnc*.plist  For each user account running VNC Connect
/tmp/.vnc*  
Was this article helpful?
51 out of 109 found this helpful

Comments

3 comments
  • it worked!!! 👍

    1
    Comment actions Permalink
  • Just to remove activation by login.
    sudo vncserver -clean
    Worked for me.

    0
    Comment actions Permalink
  • Johnny, in which directory did you give this command?

    I get: "sudo: vncserver: command not found"

    0
    Comment actions Permalink

Please sign in to leave a comment.