Я получил эту ошибку от просмотра TigerVNC:
$ vncviewer server.example.com:5991
TigerVNC Viewer 64-bit v1.5.0
Built on: ??-??-?? ??:??
Copyright (C) 1999-2015 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Tue Oct 4 12:54:00 2016
CConn: connected to host server.example.com port 5991
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
CConnection: Choosing security type None(1)
CConn: End of stream
$
Оказывается, это может означать, что другой клиент уже подключен, а флаг -shared
исправляет ситуацию:
$ vncviewer -shared server.example.com:5991
TigerVNC Viewer 64-bit v1.5.0
Built on: ??-??-?? ??:??
Copyright (C) 1999-2015 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Tue Oct 4 12:53:43 2016
CConn: connected to host server.example.com port 5991
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
CConnection: Choosing security type None(1)
X11PixelBuffer: Using default colormap and visual, TrueColor, depth 24.
CConn: Using pixel format depth 24 (32bpp) little-endian rgb888
CConn: Using Tight encoding