Fix “No matching security types” with TightVNC for Windows 7 on Ubuntu 14.04 using the Vino Remote Desktop Server

Fix “No matching security types” VNC error on Ubuntu in 60 seconds!

You’ve been googling now for a while out of frustration that you can’t connect using TightVNC Viewer on Windows to connect to your freshly installed Ubuntu 14.04 desktop. Vino VNC server used to work out of the box but the new version of Ubuntu 14.04 comes pre-installed with settings that break authentication. The problem isn’t Ubuntu but your VNC client, but that’s another topic and we just want it to work again.

Click the Search button from the taskbar and start typing “Desktop Sharing Preferences” in the search field. Click on the “Desktop Sharing Preferences” icon and set up your preferences like the image below.

Desktop Sharing Preferences

Don’t select automatically configure UPnP router to open and forward ports unless you know you need it, and always set a password!

In previous versions of Ubuntu this was all you had to do, but now when you connect via TightVNC you receive the error “No matching security types !”.

So let’s fix that problem by disabling encryption for VNC.

Press CTRL+ALT+T to start a terminal and start the nano text editor.

nano ~/

Type the following script that will be used to disable encryption, then press CTRL+X to save the file.

export DISPLAY=0:0
gsettings set org.gnome.Vino require-encryption false 

Now make the file executable.

chmod +x

Test the script and make sure it executes successfully. If you get the error No such schema 'xxxx' then you spelled the path of the setting incorrectly.

That script will disable encryption for Vino, but you’ll need to run this every time you reboot. So let’s add it to the list of “Startup Applications”

Startup Applications Preferences

Click Add and configure as follows:

  • Name: vino-fix
  • Command: /home/YOUR_USER/
  • Comment: (optional)

Reboot your system, and you are done!

This tutorial is a modified copy of Getting remote access to work on Ubuntu from All credit belongs to them.

This tutorial is a copy of All credit belongs to them.

Published by