IDNT / vncsnapshot

VNC Snapshot is a command line utility for VNC (Virtual Network Computing) available from RealVNC, among others. The utility allows one to take a snapshot from a VNC server and save it as a JPEG file. Unix, Linux and Windows platforms are supported. The original source is located at https://sourceforge.net/projects/vncsnapshot/
GNU General Public License v2.0
15 stars 5 forks source link

Warning: unknown message type 105 from VNC server #1

Closed wassilis83 closed 10 months ago

wassilis83 commented 10 months ago

I'm using this project for a personal control platform and is working very good, but each time I run vncsnapshot(can be from linux or windows) I always receive this:

Warning: unknown message type 105 from VNC server
Warning: unknown message type 116 from VNC server
Warning: unknown message type 45 from VNC server
Warning: unknown message type 100 from VNC server
Warning: unknown message type 101 from VNC server
Warning: unknown message type 112 from VNC server
Warning: unknown message type 97 from VNC server
Warning: unknown message type 114 from VNC server
Warning: unknown message type 116 from VNC server
Warning: unknown message type 109 from VNC server
Warning: unknown message type 101 from VNC server
Warning: unknown message type 110 from VNC server
Warning: unknown message type 116 from VNC server
Warning: unknown message type 45 from VNC server
Warning: unknown message type 112 from VNC server

but snapshots are good so it's ok, just a little annoying. Is there a way to fix this? I'm using as servers latest tyghtvnc 2.8.81

mazocode commented 10 months ago

This is shown for every server to client message we did not handle. You can safely remove the message from here:

https://github.com/IDNT/vncsnapshot/blob/53ecbdf36b0058e68bfa9af46461c50e798d328f/rfbproto.c#L734

Details can be found here: https://www.iana.org/assignments/rfb/rfb.xhtml