The Net, the Web and other Geeky stuff
Author: MikeW Date: 2017-03-16 16:05 Tweet
Problem: Whenever I connect from a Windows VNC client to an Ubuntu 16.04 machine running Vino server, I get: “No matching security types”. The connection then fails. This happens on all Windows clients.
Explanation: The Vino server is setup to require encryption. However, encrytion is not setup on the server. Therefore, every attempt to connect fails.
Workaround: Disable encryption on the Vino server.
For more information see: TigerVNC No matching security types error
Solution: Create a script to disable encryption on the Vino server on startup.
disable-encrypt.sh
To run the script automatically, do the following:
crontab -e
Note: Running VNC unencrypted is not recommended in most situations. Only do this if you know what your are doing. The best thing to do would be to setup encryption on the Vino server.