Closed occoder closed 6 months ago
I tried to tweak the encoder setting of UltraVNC Viewer. It turned out that ONLY setting with RAW encoder leads to the similar case that was encountered when using vncdotool. It's should not be surprising as the RAW encoder seems to be the ONLY encoder that vncdotool supports. And I got following blank screenshot Likewise, thereafter, UltraVNC Viewer is not able to reconnect to the VNC server unless the server is rebooted.
I also tried
vncdotool.client.VNCDoToolClient.encoding = vncdotool.rfb.Encoding.ZRLE
client = api.connect("192.168.153.2::5900")
but it did not work.
I also tried
vncdotool.client.VNCDoToolClient.encoding = vncdotool.rfb.Encoding.ZRLE
but it did not work.
Only RAW is implemented, nothing else.
vncdotool version: vncdotool 1.3.0
VNC server and version: Local desktop: UltraVNC server 1.4.3.6, Instrument: unknown
Steps to reproduce Run
vncdo -vvv -s 127.0.0.1::5900 capture screen1.png
andvncdo -vvv -s 192.168.153.2::5900 capture screen2.png
respectively. Where the local PC @ 127.0.0.1 and an instrument with built-in VNC server @192.168.153.2Expected result Both should be able to get the screenshot saved. Which erroneous result did you get instead Only the local PC works with following logs
The instrument did not response with any screenshot data
Additional information However, when UltraVNC Viewer was used to connect the instrument, the live screen of the instrument can be displayed without any issue. P.S. The above log from the instrument only appears when the very first time it is connected. Afterwards, the connection is refused by executing any other operation.