Hi,

I'm really out of my wits how to get SSVNC to connect to UVNC with the UltraDSM plugin enabled, I hope someone can either help me configure it properly or confirm that something is broken.

I did my tests, always as root, on a BSD 5.5 and a BSD 5.7 VM, as well as on dedicated BSD 5.7 hardware. The result always stays the same.

Situation:

- Private C Class network, all machines in the same subnet, no internal firewalls/packet filters
- UVNC Server installed on a Windows 7 Home machine
- UVNC UltraDSM plugin installed and activated, public key used on the server side, private key on the client side

The key files and server configuration must be right. I tested the connection with the original UVNC client on Windows, both with and without the plugin.

Also when using SSVNC from OpenBSD, I can connect just fine while there is no encryption. But as soon as I activate the plugin on both ends, no connection can be established. This is the output from the log window:

----------cut here------------
+ ssvnc_cmd vnc://192.168.0.12:5900 -noraiseonbeep
/usr/local/lib/ssvnc/util/ss_vncviewer[409]:
113387/usr/local/lib/ssvnc/util/ss_vncviewer[409]:: zero divisor

Using UltraVNC DSM Plugin key for encryption:

  ultravnc_dsm_helper securevnc /root/Downloads/First_ClientAuth.pkey
PORT HOST:PORT


vncviewer -noraiseonbeep -encodings copyrect tight zrle zlib hextile
exec=ultravnc_dsm_helper securevnc
/root/Downloads/First_ClientAuth.pkey 0 192.168.0.12:5900

exec-cmd: LD_PRELOAD='/usr/local/lib/ssvnc/unwrap.so'; export
LD_PRELOAD; exec ultravnc_dsm_helper securevnc
/root/Downloads/First_ClientAuth.pkey 0 192.168.0.12:5900

ultravnc_dsm_helper: got connection: 0   # <--- It stops here for about 2 
minutes

securevnc_setup: fail read rsabuf: n=0 len=12
vncviewer: VNC server closed connection

2015/08/24 04:27:35 VNC Viewer exiting.

vncviewer command failed: 0

+ set +xv
----------cut here------------


Apparently, all fails because early on UltraDSM is not able to establish a connection in the first place so it does not even come to a check of the key file or the password, neither can VNC take over the connection. So the issue is with the helper plugin itself - or the way it is called up - or the way I'm using it.

Let me retrace for you what I'm doing, just in case I'm missing something here:

1. In X, I start ssvnc without arguments (though I tried it too with -ultradsm) 2. Not having a proxy, only the first two fields (host and password) are filled out 3. SSL/SSH is set to "None" (though this setting seems to be ignored anyway when using the plugin)
4. Under Options->Advanced, I check "UltraVNC DSM Enc Plugin"
5. In the appearing dialog, I choose the key file (located in /root), and "SecureVNC" for type of key
6. I confirm with "Done" and try to establish the connection.

That's as thorough as I can put it. Naturally, I read through all the documentation for SSVNC, and I worked on this for just way too long but I finally arrived at a dead end.



Reply via email to