any1 / wlvncc

A Wayland Native VNC Client
ISC License
94 stars 14 forks source link

Stuck at Selected Security Scheme #21

Closed zacknewman closed 1 year ago

zacknewman commented 1 year ago

When using wlvncc to connect to a VNC server, I see the following output in Alacritty:

Using EGL for rendering...
20/12/2022 19:04:21 VNC server supports protocol version 3.8 (viewer 3.8)
20/12/2022 19:04:21 We have 1 security types to read
20/12/2022 19:04:21 0) Received security type 2
20/12/2022 19:04:21 Selecting security type 2 (0/1 in the list)
20/12/2022 19:04:21 Selected Security Scheme 2

After that, it just hangs; and I have to go into a different sway workspace to kill it. I would not be surprised if there are missing dependencies as I have a fairly minimal Arch Linux setup, but I did make sure to install all the runtime dependencies mentioned here. Do you have any insight on what the problem may be?

manio commented 1 year ago

Hi! I have exactly same problem as @zacknewman.

I've bisected the problem and the problematic commit is: 232bcad Remove vncrec suppport

When reverting this commit on top of master (and resolving one conflict) then it works as expected: Instead of stucking, it is asking me for a password and connecting afterwards.

Additional info: Server "unknown (LibVNCServer 0.9.13)"

Steps to reproduce: install eg DroidVNC-NG on your android phone and try to connect to it...