-
Notifications
You must be signed in to change notification settings - Fork 7
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
Connection to a PLC not possible #9
Comments
Thank you for reporting and the debug log, I am sadly currently a bit short on time, but I will take a look at it. Do other VNC clients work with that server? |
Thank you for taking the time. The UltraVNC Viewer is used for the connection. It works without any problems. |
So I did investigate this a bit more today and the only explanation I could come up with, is that the server is not supporting the requested pixelformat. From your log, after a successful handshake, the client is requesting the pixel format and then requesting a new frame (the first frame actually) at which point the server closes the connection. What I find interesting is the pixel format offered by the server, which is This is a terrible format, the image must look really bad. My client is always requesting Sadly there is not much I can do tbh, I would need a Wireshark capture to see how a successful connection looks like and how it differs. UPDATE: After doing some more testing, I found out that sending an unsupported pixel format does make many VNC server behave exactly this way. So one simply needs to find out which pixel formats your PLC supports. |
Would it be possible for you to share a Wireshark capture of the working connection (using the settings with RAW encoding and no compression)? It would help me a lot to debug the problem. |
I will try it out soon. |
I tried to run the example code, but the window remains black. Do you have any ideas what the problem could be?
The text was updated successfully, but these errors were encountered: