[Spice-devel] Agent crashes on Alpine Linux guest due to lack of /dev/uinput

Victor Toso victortoso at redhat.com
Thu Nov 17 08:44:17 UTC 2022


Hi,

Sorry the delay, I've been away :)

On Sun, Nov 06, 2022 at 07:02:12AM +0000, let-me-use-copy-and-paste wrote:
> I installed Alpine Linux 3.16 virtual machine edition on
> QEMU/KVM using Virt-Manager. I installed XFCE on it. I wanted
> to enable copy-and-paste, so I tried to install spice-vdagent
> on it, but it kept crashing. I checked the output using the
> "-x" parameter, and basically, it crashed due to the lack of
> /dev/uinput. The screenshot is
> at https://i.imgur.com/9WKaVG8.png
>
> I do not know Linux much, so I am not sure if /dev/uinput is
> not present due to the settings of the virtual machine or
> because I have not installed something on Alpine Linux. I tried
> the standard edition of Alpine, and right after the
> installation, /dev/uinput was not present.
>
> In case that Alpine Linux indeed does not support /dev/uinput,
> can't the spice service run anyway? All I want is text
> copy-and-paste between the host and the guest, and does that
> feature need /dev/uinput?


Well, seems that they do build uinput.ko

    https://pkgs.alpinelinux.org/contents?file=uinput.ko&path=&name=linux-vanilla&branch=v3.4&repo=main&arch=x86_64

It might be a matter of installing the right package and/or
modprobe uinput

Cheers,
Victor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20221117/f5bf16de/attachment.sig>


More information about the Spice-devel mailing list