(Qemu/KVM) Can't redirect USB device to VM "Permission Denied (3)"

I am trying to do this via the VM Manager. All I get is

Failed to execute child process <<usr/bin/spice-client-glib-usb-acl-helper>> (Permission denied) (3)

I have already ensured that KVM and libvirt are in the User group, so I am not sure what this could be. I am sorry if this is a very basic question, this is the first time I mess with Qemu/KVM, but I haven’t been able to find anything else on this error than enabling it in the user group.

Thank you very much in advance, any help is greatly appreciated

Is it a description/ translation error? The user needs to be in the KVM and libvirt group ( not the orher way around as described). Afterwards you need to restart the session to apply the changes.

Yes, I wrote it the other way around. The user is in the kvm and libvirt groups.

I have tried launching virt manager as sudo, but I can’t:

(virt-manager:12216): Gtk-WARNING **: 14:07:26.705: cannot open display:

I would understand that if I was using SSH, but this is my local mchine, so I am not.

As already said any help would be greatly appreciated!

sudo does not keep $DISPLAY and $XAUTHORITY by default. Use su -l -c

Thanks. It does work on sudo. Maybe I am misunderstanding something?:
In YAST Users and Groups I have marked kvm and libvirt marked in additional groups, in my user’s settings.

@Spam Hi, I’m only in the libvirt group, no issues starting a VM and then adding a USB device as my user. Are you using add hardware and selecting USB Host Device, then adding from there?

1 Like