There are two issues at work:

1. Vinagre doesn't seem to have a correct implementation of VeNCrypt, so
as is the case with the TigerVNC Server, it is necessary to disable any
VeNCrypt security types in the TurboVNC Server.  Passing '-securitytypes
vnc,otp,unixlogin' to /opt/TurboVNC/bin/vncserver or setting
$securityTypes = vnc,otp,unixlogin in ~/.vnc/turbovncserver.conf or
/etc/turbovncserver.conf accomplishes that.

2. When multi-threaded Tight encoding is enabled, the TurboVNC Server
uses the four zlib streams available for Tight encoding differently than
when multi-threaded Tight encoding is disabled.  A properly-implemented
TightVNC-compatible viewer should be able to handle both use cases, but
apparently Vinagre doesn't have a correct implementation of Tight
decoding, so it only handles the single-threaded use case.  Passing
-nomt to /opt/TurboVNC/bin/vncserver or setting $numThreads = 1 in
~/.vnc/turbovncserver.conf or /etc/turbovncserver.conf works around the
issue.

Also, I strongly recommend enabling "Use JPEG Compression."  The
performance will suck otherwise.

On 1/21/21 4:16 PM, Andrew wrote:
> I noticed that a TurboVNC server does not seem to be compatible with
> Gnome's Vinagre <https://en.wikipedia.org/wiki/Vinagre> software. I've
> tried this on both RHEL7 and RHEL8 systems. I start a session with
> "vncserver -SecurityTypes none", but when I try to connect using
> Vinagre, I immediately get a "Connection Closed" error on the Vinagre
> client. In the VNC log, the connection is recognized, but the message
> "Connection reset by peer" is logged. Note I also tried a TigerVNC
> server with the same command as above and could connect using Vinagre
> with no issue. 
> 
> It's not really a big deal I was just wondering if this issue had come
> up before for anyone and if I'm missing a way to get Vinagre to connect
> to a TurboVNC session. I tried a number of different parameters on the
> server but was unsuccessful. 

-- 
You received this message because you are subscribed to the Google Groups 
"TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/turbovnc-users/85888681-3ea6-9022-975f-adcc6eb6b055%40virtualgl.org.

Reply via email to