[Pkg-libvirt-maintainers] Bug#862870: Bug#862870: virt-viewer: doesn't seem to support XSendEvent

Guido Günther agx at sigxcpu.org
Fri May 19 11:44:41 UTC 2017


On Wed, May 17, 2017 at 11:40:22PM +0200, Cyril Brulebois wrote:
> Package: virt-viewer
> Version: 1.0-1
> Severity: important
> 
> [ x-d-cc: debian-boot at lists.debian.org ]
> 
> Hi,
> 
> Trying to use xdotool (either on the command line or through its xdo
> python bindings) fails when sending key events to a specific virt-viewer
> window. In this case, XSendEvent is used instead of XTEST, which doesn't
> seem to be supported by virt-viewer, and anything sent this way is
> ignored.

Is there a simple one liner to test this?

> It's possible to raise the virt-viewer window and then send key events
> without specifying a target window, which is implemented using XTEST in
> xdotool, but that means messing up with the focus in the surrounding
> window environment, which is highly impractical.
> 
> I've also tried switching from default spice to vnc, still no luck. No
> changes when I tried 5.0-1 from a sid chroot.
> 
> Any help/suggestion welcome, it prevents me from automating d-i tests
> with libvirt. (While they do run fine with a “bare” kvm.)

(I'm using a serial console if I want to grab VM output but I that would
only work for testing the text based installer).

Cheers,
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list