Re: Agent crashes on Alpine Linux guest due to lack of /dev/uinput

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thursday, November 10th, 2022 at 16:42, Frediano Ziglio <freddy77@xxxxxxxxx> wrote:

> You need to pass "agent-mouse=off" to Qemu, see
> or
> "qemu-system-x86_64 --help".
> Try mkdir -p /run/spice-vdagentd before launching the daemon. Not sure
> who deletes the directory (if that's the problem).
> Frediano


`mkdir -p /run/spice-vdagentd` solved the problem of the "Could not create socket..." .

As for the QEMU "agent-mouse=off", I am using the GUI VirtManager 4.1.0 from Redhat, so I did not know how to do that. I searched Google a lot, and finally found an option in the LibVirt documentation page ( ). VirtManager's GUI does not have an option to add the setting, but after enabling XML editing, I selected "Display Spice" node in hardware details, and then added `<mouse mode="server"/>` like below. I succeeded in copy-and-pasting text from host to client.

<graphics type="spice" port="5900" autoport="yes" listen="">
  <listen type="address" address=""/>
  <image compression="off"/>
  <mouse mode="server"/>

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]