You are not logged in.
I used to do :
cat <<EOF >/etc/polkit-1/rules.d/50-spice.rules polkit.addRule(function(action, subject) { if (action.id == "org.spice-space.lowlevelusbaccess" && subject.isInGroup("spice")) { return polkit.Result.YES; } }); EOF usermod -a -G spice $USER
It worked until today :-(
Don't know why but spice-gtk do not use polkit anymore in this version (whereas the support seems to be enable in the configuration).
Waiting for a patch, this workaround works for me :
cat <<EOF >/etc/udev/rules.d/50-spice.rules
SUBSYSTEM=="usb", GROUP="spice", MODE="0660"
SUBSYSTEM=="usb_device", GROUP="spice", MODE="0660"
EOF
usermod -a -G spice $USER
Offline
kyoshiro38 wrote:I used to do :
cat <<EOF >/etc/polkit-1/rules.d/50-spice.rules polkit.addRule(function(action, subject) { if (action.id == "org.spice-space.lowlevelusbaccess" && subject.isInGroup("spice")) { return polkit.Result.YES; } }); EOF usermod -a -G spice $USER
It worked until today :-(
Don't know why but spice-gtk do not use polkit anymore in this version (whereas the support seems to be enable in the configuration).
Waiting for a patch, this workaround works for me :
cat <<EOF >/etc/udev/rules.d/50-spice.rules SUBSYSTEM=="usb", GROUP="spice", MODE="0660" SUBSYSTEM=="usb_device", GROUP="spice", MODE="0660" EOF usermod -a -G spice $USER
Thank you so much for posting this workaround. I can confirm that I was able to get USB redirection to work. Hopefully the issue will be patched soon.
Last edited by Shaderoit (2016-05-27 03:32:23)
Offline
Thanks kyoshiro38 !!!
Offline
I've the problem anymore when I update my system.... Is there a solution for it?
Offline
Thanks @kyoshiro38. As of this writing, this still seems to be the only workaround.
Offline
kyoshiro38 didn't work for me.
However, running virt-manager as root worked.
Offline