Artifacts on screenshots
GiulioBen opened this issue · 1 comments
Dear community,
i'm facing a problem with the screenshots:
When I'm connected to the server through my UltraVNC client, everything works like a charm.
When i disconnect and i use the vncdotool inside a python script, the screenshots are full of artifacts. I attach an image as example (it's only a part of the screen). Sometimes it shows the old screen (when i disconnected), other times the colors are wrong.
The VNC server is very old, running windows XP, but my UltraVNC client is not having any trouble.
When i connect i have this log
2023-11-16 17:27:54,636 - twisted - INFO - Starting factory <vncdotool.client.VNCDoToolFactory object at 0x000002DA28840E20>
2023-11-16 17:27:54,638 - twisted - INFO - Protocol version 3.6 not supported
2023-11-16 17:27:54,639 - twisted - INFO - Using protocol version 3.3
2023-11-16 17:27:55,704 - twisted - INFO - Native PixelFormat(bpp=32, depth=32, bigendian=False, truecolor=True, redmax=255, greenmax=255, bluemax=255, redshift=16, greenshift=8, blueshift=0) bytes=4
2023-11-16 17:27:55,704 - twisted - INFO - Offering <Encoding.RAW: 0>
2023-11-16 17:27:55,704 - twisted - INFO - Offering <Encoding.PSEUDO_DESKTOP_SIZE: -223>
2023-11-16 17:27:55,704 - twisted - INFO - Offering <Encoding.PSEUDO_LAST_RECT: -224>
2023-11-16 17:27:55,704 - twisted - INFO - Offering <Encoding.PSEUDO_QEMU_EXTENDED_KEY_EVENT: -258>
2023-11-16 17:28:06,732 - twisted - INFO - x=0 y=0 w=1024 h=768 <Encoding.RAW: 0>
I just use this sintax to connect
client = api.connect(ipVNC, pwVNC)
I tried to do several consequent screenshots but it seems that the server is not updating at all the image.
Thank you for the support.
Best