TigerVNC viewer: no matching security types

10

2

I'm trying to remote control the desktop of a Raspberry Pi (Raspbian Jessie) from a Samsung Chromebook (ARM Arch Linux).

The VNC server running on the Pi is RealVNC.

The VNC viewer on the Chromebook is TigerVNC

I'm getting the following error when I try to connect to the server:

$ vncviewer

TigerVNC Viewer 32-bit v1.7.1
Built on: 2017-01-23 06:48
Copyright (C) 1999-2016 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.

Sat Apr  1 17:25:49 2017
 DecodeManager: Detected 4 CPU core(s)
 DecodeManager: Creating 4 decoder thread(s)
 CConn:       conectado a puerto 192.168.1.200 de origen 5900
 CConnection: Server supports RFB protocol version 5.0
 CConnection: Using RFB protocol version 3.8
 CConnection: No matching security types
 CConn:       No matching security types

As far as I understood by reading the man pages, vncviewer attempts by default every supported scheme:

   -SecurityTypes sec-types
          Specify  which security schemes to attempt to use when authenti‐
          cating with the server.  Valid values are a comma separated list
          of  None,  VncAuth,  Plain, TLSNone, TLSVnc, TLSPlain, X509None,
          X509Vnc and X509Plain. Default is  to  attempt  every  supported
          scheme.

Does RealVNC use some encryption scheme that is not supported by TigerVNC?

rodrunner

Posted 2017-04-01T15:36:57.713

Reputation: 369

2(Almost?) everything about VNC encryption and authentication is proprietary. Interoperability is very limited. I suggest you just use TigerVNC everywhere. – Daniel B – 2017-04-01T15:51:57.940

2The latest Rasbpian distro (with pixel) has RealVNC by default and I would like to keep it. I've installed RealVNC viewer from AUR in my chromebook – rodrunner – 2017-04-02T12:52:03.777

1@rodrunner did you find any solution yet? I'm facing the same issue. – Loïc Faure-Lacroix – 2018-11-06T04:10:01.767

1@LoïcFaure-Lacroix I installed RealVNC viewer from AUR in ARM arch linux – rodrunner – 2018-11-07T05:21:26.170

You can also use SSH with X forwarding to use GUI applications remotely. This way, you have no client/server incompatibilities.

– Matthias Braun – 2019-08-14T14:30:36.753

Answers

0

Using RealVNC

As user rodrunner suggested in the comments, one way to get the VNC connection going is by using RealVNC's vncviewer.

Make sure to uninstall TigerVNC or any other VNC implementations before proceeding.

The package of RealVNC viewer is currently in AUR, you can install it via aura:

sudo aura -A realvnc-vnc-viewer

Assuming your Raspberry Pi's host name is the default, connect to it with

vncviewer raspberrypi

You'll be prompted for your Raspberry Pi's login credentials:

RealVNC login prompt

Press OK and you should be connected:

Raspberry Pi desktop

Matthias Braun

Posted 2017-04-01T15:36:57.713

Reputation: 572