1 The RaspberryPi Raspbian 9 default VNC server is RealVNC. RealVNC only supports 5 propertary security types: 5, 6, 13, 130 and 192.
2 According to the official RealVNC documentation for the "Authentication" parameter, Authentication=VncAuth is the only scheme that allows direct connections from VNC-compatible Viewer projects from third parties.
4 In order to change to VncAuth scheme in your Raspbian and set a password to accept connections from Remmina VNC plugin, you have to:
5 1. Open a SSH session or a terminal window to the raspberry
6 2. As root, edit the file /root/.vnc/config.d/vncserver-x11
7 ```sudo leafpad /root/.vnc/config.d/vncserver-x11```
8 3. Add the following lines at the end of the file
10 Authentication=VncAuth
11 Password=aa8ba782c23aff7e
14 5. Restart the VNC server service with
15 ```sudo systemctl restart vncserver-x11-serviced```
17 The above encrypted password is **remmina**, if you want to change it, type
18 ```sudo vncpasswd -service``` and restart the VNC server service with ```sudo systemctl restart vncserver-x11-serviced```
24 [1] IANA: [Remote Framebuffer Security Types](https://www.iana.org/assignments/rfb/rfb.xhtml#rfb-1)
25 [2] RealVNC: [VNC Server parameter reference](https://www.realvnc.com/en/connect/docs/server-parameter-ref.html)