Tag Archives: VNC

New tool: virt-click, send simulated mouse clicks to a VNC server

This new virt tool called “virt-click” lets you send simulated mouse clicks to a VNC server.

$ virt-click --vnc localhost:0 click 200 200 right

The motivation for this tool comes from this posting.

I tested it against QEMU’s internal VNC server, so you can use it on virtual machines already. It probably works on any VNC server, but I have not tested it.

Eventually the plan is to extend this to SPICE, and also allow it to connect transparently to libvirt guests, but that work is not done yet. Also it would be good to add other features, eg:

  • key presses
  • screendumps (like gvnccapture and snappy)
  • better handling of VNC authentication

2 Comments

Filed under Uncategorized