vncdotool icon indicating copy to clipboard operation
vncdotool copied to clipboard

Extreme performance issues while taking screenshot

Open LeonardBaranski opened this issue 1 year ago • 0 comments

Please include the following information:

vncdotool version 1.2.0

VNC server and version TightVNC -> version unclear

Steps to reproduce

  • def run_vnc(): client = api.connect("localhost", password="password")

    client.captureScreen(f"screenshot1.png") print("Test") client.captureScreen(f"screenshot2.png") print("Test2") client.disconnect() run_vnc()

  • we are trying to get a screenshot from a vnc device.

  • the first screnshot returns just a black screen

  • the second screenshot takes around 135 seconds every time, But returns the expected result.

  • Why does it take so long to take a screenshot?

Additional information Furthermore the programm does not finish the process. The process is stuck and never gets finished.

LeonardBaranski avatar Oct 20 '23 13:10 LeonardBaranski