My problem was using KVM virtual machine under Ubuntu, USB devices cannot be transferred to the virtual machine through spice.
The following prompt appeared:
spice-client-error-quark: Could not redirect USB Device [046d:081b] at 3-2: Error setting USB device node ACL: ‘Not authorized’ (0)
Solution:
Modify rule file: /usr/share/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy
Add “allow_ Any” and modify “allow_ The inactive” is sufficient.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
<vendor>The Spice Project</vendor>
<vendor_url>http://spice-space.org/</vendor_url>
<icon_name>spice</icon_name>
<action id="org.spice-space.lowlevelusbaccess">
<description>Low level USB device access</description>
<message>Privileges are required for low level USB device access (for usb device pass through).</message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
</policyconfig>
VMware Backup oVirt Backup
More VMs backup & recovery solution, kind service and free trial