Re: [ovirt-users] [Spice-devel] USB redirection
Thank you, I have 2 clients, one on fedora 20 with spice-xpi 2.8.90-1.fc20 and one on debian 7.5 with spice-client. The USB Support is set to Native but, on the vm, I can't see any USB device that is connected to my clients. Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen Tel : 01 49 45 77 18 Le 03/06/2014 01:40, Cody Chan a écrit : Hi, you also need usbclerk/zadig in client if your client is windows, and don't forget to choose Native for usb-redir in ovirt manager before starting the vm Regards Cody On Tue, Jun 3, 2014 at 4:37 AM, Itamar Heim ih...@redhat.com wrote: On 06/02/2014 03:57 PM, Jean-Pierre WEISS wrote: Hi, I'm trying to redirect USB devices on a Windows 7 vm. But, after searching the web, I didn't find any procedure to do this. Here is my configuration : Host : CentOS 6.5 with ovirt 3.4.0.1-el6 vm : Windows 7 with the virtio drivers (virtio-win- 0.1.74) installed, spice-guest-tools-0.74, and ovirt-guest-agent installed. All is working fine, except that I can see the USB devices connected to the client. Any clue ? Thanks, Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users [1] adding spice-devel list ___ Spice-devel mailing list spice-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel [2] Links: -- [1] http://lists.ovirt.org/mailman/listinfo/users [2] http://lists.freedesktop.org/mailman/listinfo/spice-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Spice-devel] USB redirection
On 06/03/2014 10:33 AM, Jean-Pierre WEISS wrote: Thank you, I have 2 clients, one on fedora 20 with spice-xpi 2.8.90-1.fc20 and one on debian 7.5 with spice-client. The USB Support is set to Native but, on the vm, I can't see any USB device that is connected to my clients. I just tested USB redirection with a Fedora 20 client to a Fedora 20 guest (don't have a virtualized Windows 7 vm atm). It works, but: - With spice-xpi the automatic USB redirection didn't work. I had to leave full screen, choose File - USB device selection and manually select the USB device I want to redirect - With native client USB redirection works out of the box Btw, I also figured out that Fedora 20 (the client) blocks USB redirection if you have SELinux on enforcing - setting it to permissive works. Regards, René Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen Tel : 01 49 45 77 18 Le 03/06/2014 01:40, Cody Chan a écrit : Hi, you also need usbclerk/zadig in client if your client is windows, and don't forget to choose Native for usb-redir in ovirt manager before starting the vm Regards Cody On Tue, Jun 3, 2014 at 4:37 AM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 06/02/2014 03:57 PM, Jean-Pierre WEISS wrote: Hi, I'm trying to redirect USB devices on a Windows 7 vm. But, after searching the web, I didn't find any procedure to do this. Here is my configuration : Host : CentOS 6.5 with ovirt 3.4.0.1-el6 vm : Windows 7 with the virtio drivers (virtio-win- 0.1.74) installed, spice-guest-tools-0.74, and ovirt-guest-agent installed. All is working fine, except that I can see the USB devices connected to the client. Any clue ? Thanks, Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users http://lists.ovirt.org/mailman/listinfo/users adding spice-devel list ___ Spice-devel mailing list spice-de...@lists.freedesktop.org mailto:spice-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel http://lists.freedesktop.org/mailman/listinfo/spice-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Spice-devel] USB redirection
Thank you, it was so simple... I'm confusing, I haven't see the option on the menu on spice-xpi. In fact, it works on my Fedora 20 client. But not on my Debian client for, with spice-client, I d'ont have the menu to had USB devices. Is it a way to automatically mount USB devices ? Thanks, Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen Le 03/06/2014 10:58, René Koch a écrit : On 06/03/2014 10:33 AM, Jean-Pierre WEISS wrote: Thank you, I have 2 clients, one on fedora 20 with spice-xpi 2.8.90-1.fc20 and one on debian 7.5 with spice-client. The USB Support is set to Native but, on the vm, I can't see any USB device that is connected to my clients. I just tested USB redirection with a Fedora 20 client to a Fedora 20 guest (don't have a virtualized Windows 7 vm atm). It works, but: - With spice-xpi the automatic USB redirection didn't work. I had to leave full screen, choose File - USB device selection and manually select the USB device I want to redirect - With native client USB redirection works out of the box Btw, I also figured out that Fedora 20 (the client) blocks USB redirection if you have SELinux on enforcing - setting it to permissive works. Regards, René Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen Tel : 01 49 45 77 18 Le 03/06/2014 01:40, Cody Chan a écrit : Hi, you also need usbclerk/zadig in client if your client is windows, and don't forget to choose Native for usb-redir in ovirt manager before starting the vm Regards Cody On Tue, Jun 3, 2014 at 4:37 AM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 06/02/2014 03:57 PM, Jean-Pierre WEISS wrote: Hi, I'm trying to redirect USB devices on a Windows 7 vm. But, after searching the web, I didn't find any procedure to do this. Here is my configuration : Host : CentOS 6.5 with ovirt 3.4.0.1-el6 vm : Windows 7 with the virtio drivers (virtio-win- 0.1.74) installed, spice-guest-tools-0.74, and ovirt-guest-agent installed. All is working fine, except that I can see the USB devices connected to the client. Any clue ? Thanks, Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users [1] http://lists.ovirt.org/mailman/listinfo/users [2] adding spice-devel list ___ Spice-devel mailing list spice-de...@lists.freedesktop.org mailto:spice-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel [3] http://lists.freedesktop.org/mailman/listinfo/spice-devel [4] ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users [1] Links: -- [1] http://lists.ovirt.org/mailman/listinfo/users [2] http://lists.ovirt.org/mailman/listinfo/usersgt; [3] http://lists.freedesktop.org/mailman/listinfo/spice-devel [4] http://lists.freedesktop.org/mailman/listinfo/spice-develgt; ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Spice-devel] USB redirection
On 06/03/2014 11:31 AM, Jean-Pierre WEISS wrote: Thank you, it was so simple... I'm confusing, I haven't see the option on the menu on spice-xpi. In fact, it works on my Fedora 20 client. But not on my Debian client for, with spice-client, I d'ont have the menu to had USB devices. Is it a way to automatically mount USB devices ? Did you try the native client on Debian? Maybe the spice-xpi version is too old - if you don't see the menu it's a quite old spice-xpi version. During my tests it was only possible to automatically mount USB devices with the native client, not with the spice-xpi... Thanks, Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen Le 03/06/2014 10:58, René Koch a écrit : On 06/03/2014 10:33 AM, Jean-Pierre WEISS wrote: Thank you, I have 2 clients, one on fedora 20 with spice-xpi 2.8.90-1.fc20 and one on debian 7.5 with spice-client. The USB Support is set to Native but, on the vm, I can't see any USB device that is connected to my clients. I just tested USB redirection with a Fedora 20 client to a Fedora 20 guest (don't have a virtualized Windows 7 vm atm). It works, but: - With spice-xpi the automatic USB redirection didn't work. I had to leave full screen, choose File - USB device selection and manually select the USB device I want to redirect - With native client USB redirection works out of the box Btw, I also figured out that Fedora 20 (the client) blocks USB redirection if you have SELinux on enforcing - setting it to permissive works. Regards, René Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen Tel : 01 49 45 77 18 Le 03/06/2014 01:40, Cody Chan a écrit : Hi, you also need usbclerk/zadig in client if your client is windows, and don't forget to choose Native for usb-redir in ovirt manager before starting the vm Regards Cody On Tue, Jun 3, 2014 at 4:37 AM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com mailto:ih...@redhat.com wrote: On 06/02/2014 03:57 PM, Jean-Pierre WEISS wrote: Hi, I'm trying to redirect USB devices on a Windows 7 vm. But, after searching the web, I didn't find any procedure to do this. Here is my configuration : Host : CentOS 6.5 with ovirt 3.4.0.1-el6 vm : Windows 7 with the virtio drivers (virtio-win- 0.1.74) installed, spice-guest-tools-0.74, and ovirt-guest-agent installed. All is working fine, except that I can see the USB devices connected to the client. Any clue ? Thanks, Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org mailto:Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users http://lists.ovirt.org/mailman/listinfo/users adding spice-devel list ___ Spice-devel mailing list spice-de...@lists.freedesktop.org mailto:spice-de...@lists.freedesktop.org mailto:spice-de...@lists.freedesktop.org mailto:spice-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel http://lists.freedesktop.org/mailman/listinfo/spice-devel ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Spice-devel] USB redirection
On Tue, Jun 03, 2014 at 10:58:55AM +0200, René Koch wrote: Btw, I also figured out that Fedora 20 (the client) blocks USB redirection if you have SELinux on enforcing - setting it to permissive works. I don't think this is intentional. Can you report it on bugzilla.redhat.com if this is happening on an up-to-date f20? Christophe pgpaqcZfOgU0H.pgp Description: PGP signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Spice-devel] USB redirection
On Tue, Jun 03, 2014 at 11:31:08AM +0200, Jean-Pierre WEISS wrote: Thank you, it was so simple... I'm confusing, I haven't see the option on the menu on spice-xpi. In fact, it works on my Fedora 20 client. But not on my Debian client for, with spice-client, I d'ont have the menu to had USB devices. Is it a way to automatically mount USB devices ? If 'spice-client' is spicec (you can check with ps while it's running for example), then it does not support USB redirection. Did you try using virt-viewer on this debian system? Christophe pgpWc9VkAbFmF.pgp Description: PGP signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Spice-devel] USB redirection
On 06/03/2014 11:53 AM, Christophe Fergeau wrote: On Tue, Jun 03, 2014 at 10:58:55AM +0200, René Koch wrote: Btw, I also figured out that Fedora 20 (the client) blocks USB redirection if you have SELinux on enforcing - setting it to permissive works. I don't think this is intentional. Can you report it on bugzilla.redhat.com if this is happening on an up-to-date f20? Done: https://bugzilla.redhat.com/show_bug.cgi?id=1104110 Christophe ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Spice-devel] USB redirection
- Original Message - From: René Koch rk...@linuxland.at To: Christophe Fergeau cferg...@redhat.com Cc: spice-devel spice-de...@lists.freedesktop.org, Users@ovirt.org Sent: Tuesday, June 3, 2014 12:10:42 PM Subject: Re: [Spice-devel] [ovirt-users] USB redirection On 06/03/2014 11:53 AM, Christophe Fergeau wrote: On Tue, Jun 03, 2014 at 10:58:55AM +0200, René Koch wrote: Btw, I also figured out that Fedora 20 (the client) blocks USB redirection if you have SELinux on enforcing - setting it to permissive works. I don't think this is intentional. Can you report it on bugzilla.redhat.com if this is happening on an up-to-date f20? Done: https://bugzilla.redhat.com/show_bug.cgi?id=1104110 Rene, What's the value of mozilla_plugin_use_spice sebool - getsebool mozilla_plugin_use_spice? Make it on if it's off - setsebool -P mozilla_plugin_use_spice on If This is the problem It should be solved in selinux-policy-3.12.1-116.fc20 (https://bugzilla.redhat.com/show_bug.cgi?id=1049491) Christophe ___ Spice-devel mailing list spice-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Spice-devel] USB redirection
On 06/03/2014 12:47 PM, Marian Krcmarik wrote: - Original Message - From: René Koch rk...@linuxland.at To: Christophe Fergeau cferg...@redhat.com Cc: spice-devel spice-de...@lists.freedesktop.org, Users@ovirt.org Sent: Tuesday, June 3, 2014 12:10:42 PM Subject: Re: [Spice-devel] [ovirt-users] USB redirection On 06/03/2014 11:53 AM, Christophe Fergeau wrote: On Tue, Jun 03, 2014 at 10:58:55AM +0200, René Koch wrote: Btw, I also figured out that Fedora 20 (the client) blocks USB redirection if you have SELinux on enforcing - setting it to permissive works. I don't think this is intentional. Can you report it on bugzilla.redhat.com if this is happening on an up-to-date f20? Done: https://bugzilla.redhat.com/show_bug.cgi?id=1104110 Rene, What's the value of mozilla_plugin_use_spice sebool - getsebool mozilla_plugin_use_spice? Make it on if it's off - setsebool -P mozilla_plugin_use_spice on If This is the problem It should be solved in selinux-policy-3.12.1-116.fc20 (https://bugzilla.redhat.com/show_bug.cgi?id=1049491) It's off. Setting it to on did solve the issue. I have selinux-policy-3.12.1-166.fc20.noarch installed. Is it intended that the boolean is still off? I'm not aware of the SELinux update policy if activating booleans is allowed or not. For this issue it would be good, but on the other hand if I change it manually (for whatever reason) I wouldn't want it to be changed by the package... Christophe ___ Spice-devel mailing list spice-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Spice-devel] USB redirection
- Original Message - From: René Koch rk...@linuxland.at To: Marian Krcmarik mkrcm...@redhat.com Cc: Christophe Fergeau cferg...@redhat.com, spice-devel spice-de...@lists.freedesktop.org, Users@ovirt.org Sent: Tuesday, June 3, 2014 1:56:36 PM Subject: Re: [Spice-devel] [ovirt-users] USB redirection On 06/03/2014 12:47 PM, Marian Krcmarik wrote: - Original Message - From: René Koch rk...@linuxland.at To: Christophe Fergeau cferg...@redhat.com Cc: spice-devel spice-de...@lists.freedesktop.org, Users@ovirt.org Sent: Tuesday, June 3, 2014 12:10:42 PM Subject: Re: [Spice-devel] [ovirt-users] USB redirection On 06/03/2014 11:53 AM, Christophe Fergeau wrote: On Tue, Jun 03, 2014 at 10:58:55AM +0200, René Koch wrote: Btw, I also figured out that Fedora 20 (the client) blocks USB redirection if you have SELinux on enforcing - setting it to permissive works. I don't think this is intentional. Can you report it on bugzilla.redhat.com if this is happening on an up-to-date f20? Done: https://bugzilla.redhat.com/show_bug.cgi?id=1104110 Rene, What's the value of mozilla_plugin_use_spice sebool - getsebool mozilla_plugin_use_spice? Make it on if it's off - setsebool -P mozilla_plugin_use_spice on If This is the problem It should be solved in selinux-policy-3.12.1-116.fc20 (https://bugzilla.redhat.com/show_bug.cgi?id=1049491) It's off. Setting it to on did solve the issue. I have selinux-policy-3.12.1-166.fc20.noarch installed. Is it intended that the boolean is still off? I'm not aware of the SELinux update policy if activating booleans is allowed or not. For this issue it would be good, but on the other hand if I change it manually (for whatever reason) I wouldn't want it to be changed by the package... The policy is to keep the currently set value - the value is not being reset to the new default when updating the selinux policy (as you assumed). So if you did update It should be still off. Christophe ___ Spice-devel mailing list spice-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Spice-devel] USB redirection
On 06/03/2014 02:29 PM, Marian Krcmarik wrote: - Original Message - From: René Koch rk...@linuxland.at To: Marian Krcmarik mkrcm...@redhat.com Cc: Christophe Fergeau cferg...@redhat.com, spice-devel spice-de...@lists.freedesktop.org, Users@ovirt.org Sent: Tuesday, June 3, 2014 1:56:36 PM Subject: Re: [Spice-devel] [ovirt-users] USB redirection On 06/03/2014 12:47 PM, Marian Krcmarik wrote: - Original Message - From: René Koch rk...@linuxland.at To: Christophe Fergeau cferg...@redhat.com Cc: spice-devel spice-de...@lists.freedesktop.org, Users@ovirt.org Sent: Tuesday, June 3, 2014 12:10:42 PM Subject: Re: [Spice-devel] [ovirt-users] USB redirection On 06/03/2014 11:53 AM, Christophe Fergeau wrote: On Tue, Jun 03, 2014 at 10:58:55AM +0200, René Koch wrote: Btw, I also figured out that Fedora 20 (the client) blocks USB redirection if you have SELinux on enforcing - setting it to permissive works. I don't think this is intentional. Can you report it on bugzilla.redhat.com if this is happening on an up-to-date f20? Done: https://bugzilla.redhat.com/show_bug.cgi?id=1104110 Rene, What's the value of mozilla_plugin_use_spice sebool - getsebool mozilla_plugin_use_spice? Make it on if it's off - setsebool -P mozilla_plugin_use_spice on If This is the problem It should be solved in selinux-policy-3.12.1-116.fc20 (https://bugzilla.redhat.com/show_bug.cgi?id=1049491) It's off. Setting it to on did solve the issue. I have selinux-policy-3.12.1-166.fc20.noarch installed. Is it intended that the boolean is still off? I'm not aware of the SELinux update policy if activating booleans is allowed or not. For this issue it would be good, but on the other hand if I change it manually (for whatever reason) I wouldn't want it to be changed by the package... The policy is to keep the currently set value - the value is not being reset to the new default when updating the selinux policy (as you assumed). So if you did update It should be still off. Ok, thanks for the information. I did add the solution (set boolean manually to on) to the bug report and closed it. Regards, René Christophe ___ Spice-devel mailing list spice-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users