Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when connecting with RealVNC Server of Raspberry Pi #5

Closed
kazemiprince opened this issue Feb 17, 2023 · 5 comments
Closed

Issue when connecting with RealVNC Server of Raspberry Pi #5

kazemiprince opened this issue Feb 17, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@kazemiprince
Copy link

Hope you're fine.
I'm trying to connect to a sever(it's on raspberry pi) but I need to login with username and password but couldn't find how to do it.
trying with password only will give this exception:
qvncwidget.rfb.RFBHandshakeFailed: b'No configured security type is supported by 3.3 VNC Viewer'

@zocker-160
Copy link
Owner

zocker-160 commented Feb 17, 2023

kinda known issue:

Raspberry Pi uses RealVNC Server which sadly does not comply with the RFB 3.3 protocol, because it does enforce an encrypted connection and refuse it otherwise, which according to RFB 3.3 is optional and not required.

This VNC client is actually not the only one with that issue, since even a very known VNC client like Remmina fails to connect to the RealVNC Server shipped with a Raspberry Pi.

Given that this widget does only support the absolute minimum of the RFB specification, this is not going to work without some significant effort to implement an encrypted connection.

@zocker-160
Copy link
Owner

zocker-160 commented Feb 17, 2023

UPDATE:

I actually managed to make it work by changing some settings. This didn't work in the past, so I am a bit surprised.

You need to disable encryption in the options and set the password from UNIX to VNC.

I think I will add a note to the readme mentioning this limitation.

EDIT: after doing a bit of testing, it seems a bit buggy, I will look into that.

@slevon
Copy link

slevon commented Mar 25, 2023

Hey,
just whated to confirm your solution. I changed the authentication of RealVNC to VNC Password and was able to connect to the RPi. However, I do not get an entire desktop, but only the top bar, that I can interact with. See screenshot
image

If you need any more information on that, just let me know.

@zocker-160
Copy link
Owner

Yes I know, as I said in my comment above, it is bugged and I sadly did not have the time to look into it yet.

It works fine with any other VNC server I have tested so far, only RealVNC on the PI has this weird issue.

@zocker-160 zocker-160 added the bug Something isn't working label Jun 20, 2023
zocker-160 added a commit that referenced this issue Aug 24, 2023
fixes issue with RealVNC server, where first frame is not the full resolution
see #5 and #6
@zocker-160 zocker-160 changed the title login to server with Username and Password Issue when connecting with RealVNC Server of Raspberry Pi Aug 28, 2023
@zocker-160
Copy link
Owner

zocker-160 commented Aug 28, 2023

fixed in v0.3.x

@zocker-160 zocker-160 pinned this issue Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants