You are not logged in.

#26 2016-05-20 16:47:50

kyoshiro38
Member
Registered: 2015-10-04
Posts: 2

Re: [workaround] spice-client-error-quark: Could not redirect

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

Offline

#27 2016-05-27 03:31:26

Shaderoit
Member
Registered: 2015-03-03
Posts: 1

Re: [workaround] spice-client-error-quark: Could not redirect

kyoshiro38 wrote:
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.  smile  Hopefully the issue will be patched soon.

Last edited by Shaderoit (2016-05-27 03:32:23)

Offline

#28 2016-06-06 22:19:57

olivarch
Member
Registered: 2013-01-26
Posts: 47

Re: [workaround] spice-client-error-quark: Could not redirect

Thanks  kyoshiro38 !!!

Offline

#29 2016-07-04 07:28:06

fluffy-bunny
Member
Registered: 2016-04-17
Posts: 12

Re: [workaround] spice-client-error-quark: Could not redirect

I've the problem anymore when I update my system.... Is there a solution for it?

Offline

#30 2016-07-29 17:05:48

kinleyd
Member
From: Bhutan
Registered: 2012-09-21
Posts: 142

Re: [workaround] spice-client-error-quark: Could not redirect

Thanks @kyoshiro38. As of this writing, this still seems to be the only workaround.

Offline

#31 2016-08-15 14:09:12

vorpalblade
Member
Registered: 2013-11-07
Posts: 13

Re: [workaround] spice-client-error-quark: Could not redirect

kyoshiro38 didn't work for me.

However, running virt-manager as root worked.

Offline

Board footer

Powered by FluxBB