Re: [Spice-devel] does spicec support usbredir?

2013-11-13 Thread Li Guang
Right, thanks a lot! Tomáš Chaloupka wrote: I guess that its because in spice-gtk-0.21 USB redir is not working? Fixed by this patch: http://cgit.freedesktop.org/spice/spice-gtk/commit/?id=fb469ef815d7e8396aee49ad4ca4e5d4f882ee26 Tom 2013/11/13 Hans de Goede >

Re: [Spice-devel] does spicec support usbredir?

2013-11-13 Thread Li Guang
OK, thanks! Hans de Goede wrote: Hi, On 11/13/2013 01:49 AM, Li Guang wrote: Hi, Hans I did strictly as you said at http://hansdegoede.livejournal.com/11084.html, but, seems there's no effect in guest after selecting redirected USBdevice, can you help to take a look if there are something

[Spice-devel] [vdagent-win v2 PATCH 5/6] Makefile.am: tabify

2013-11-13 Thread Uri Lublin
--- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 768e984..da0b5a5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,8 +32,8 @@ vdagent_SOURCES = \ vdagent/desktop_layout.h\ vdagent/di

[Spice-devel] [vdagent-win v2 PATCH 1/6] vdagent: add as_user to run tasks with user privileges

2013-11-13 Thread Uri Lublin
The class calls Impersonate upon begin(), and Revert upon end() or destruction. The user is the current user that is logged in. create mode 100644 vdagent/as_user.cpp create mode 100644 vdagent/as_user.h --- Makefile.am| 2 ++ vdagent/as_user.cpp| 73 ++

[Spice-devel] [vdagent-win v2 PATCH 0/6] file_xfer fixes and some cleanups

2013-11-13 Thread Uri Lublin
The destination directory for file_xfer was a public one (e.g. desktop directory of all-users). This is since vdagent.exe does not run as current logged in user. This patch-set makes the creation of the file run as the logged in user, such that the destination directory for file-xfer is the user's

[Spice-devel] [vdagent-win v2 PATCH 2/6] file_xfer: create file with user privileges

2013-11-13 Thread Uri Lublin
--- vdagent/file_xfer.cpp | 7 +++ 1 file changed, 7 insertions(+) diff --git a/vdagent/file_xfer.cpp b/vdagent/file_xfer.cpp index 66b489a..2a6480a 100644 --- a/vdagent/file_xfer.cpp +++ b/vdagent/file_xfer.cpp @@ -21,6 +21,7 @@ #include #include #include "file_xfer.h" +#include "as_use

[Spice-devel] [vdagent-win v2 PATCH 3/6] vdagent: file-xfer: make user desktop the target directory

2013-11-13 Thread Uri Lublin
Before, the target directory was a public one (for all users), as file creation was not done with user privileges. Now that the file is created with user privileges, it's better to make the user desktop the target directory. --- vdagent/file_xfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 dele

[Spice-devel] [vdagent-win v2 PATCH 6/6] Makefile.am: add INCLUDES to AM_CPPFLAGS

2013-11-13 Thread Uri Lublin
Fixes the following autoreconf (automake) warning: Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') --- Makefile.am | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index da0b5a5..749ef56 100644 --- a/Makef

[Spice-devel] [vdagent-win v2 PATCH 4/6] vdagent: file_xfer: make g_key_get_string safer

2013-11-13 Thread Uri Lublin
By providing the size of the destination string buffer. --- vdagent/file_xfer.cpp | 25 +++-- vdagent/file_xfer.h | 3 ++- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/vdagent/file_xfer.cpp b/vdagent/file_xfer.cpp index eb2119a..e402eb2 100644 --- a/vdagen

Re: [Spice-devel] [vdagent-win PATCH 0/6] file_xfer fixes and some cleanups

2013-11-13 Thread Uri Lublin
On 11/08/2013 01:49 PM, Marc-André Lureau wrote: The series doesn't seem to apply on top of http://cgit.freedesktop.org/spice/win32/vd_agent/ Could you check? Hi Marc-André, This patch-set is based on above git repo. Possibly there are some white-space problems with CRLF. Thanks, Uri __

[Spice-devel] [spice-gtk v6] Use system-wide trust certificate store

2013-11-13 Thread Christophe Fergeau
Currently, spice-gtk will look in $HOME/.spicec/spice_truststore.pem by default for its trust certificate store (to verify the certificates used during SPICE TLS connections). However, these days, progress is under-way to have a system-wide certificate store [1]. In order to use it, we only need to

[Spice-devel] [spice-gtk v6] Use system-wide trust certificate store

2013-11-13 Thread Christophe Fergeau
Hey, New version of that series. Only trying to use the system-wide trust store when we could not load a user-provided CA makes things much simpler. Christophe ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/

Re: [Spice-devel] [vdagent-win v2 PATCH 0/6] file_xfer fixes and some cleanups

2013-11-13 Thread Christophe Fergeau
ACK series Christophe On Wed, Nov 13, 2013 at 11:22:27AM +0200, Uri Lublin wrote: > The destination directory for file_xfer was a public one (e.g. desktop > directory of all-users). This is since vdagent.exe does not run as > current logged in user. > > This patch-set makes the creation of the f

Re: [Spice-devel] [spice-gtk v5 2/2] Use system-wide trust certificate store

2013-11-13 Thread Christophe Fergeau
Hey, On Tue, Nov 12, 2013 at 10:55:23AM -0500, i iordanov wrote: > Hence, would it be possible to provide an option along the lines of > what librest provides (--with-ca-certificates=[path]), which specifies > where to look for the system-wide CA bundle? The latest iteration of the patches no lon

Re: [Spice-devel] [spice-gtk v5 2/2] Use system-wide trust certificate store

2013-11-13 Thread David Jaša
Hi Iordan, I'm a mere Android user so this question of mine may be dumb: On Android, there is a system store for CAs and a user store for certificates (not just CAs but also personal and maybe self-signed). Is there some good way (API, fs location, ...) how can apps use these essentially system

[Spice-devel] Spice stops working when host uses multi-monitors

2013-11-13 Thread Diego COSTE
Hello, not sure this is the right mailing list to get Spice support... Please advise if necessary. I'm totally new to kvm/spice. My host (core i5-3380m+Radeon HD7570M laptop) has a fresh Fedora 19 64b install: yum update yum install kvm virt-manager libvirt libvirt-python python-virtinst modprob

Re: [Spice-devel] Spice stops working when host uses multi-monitors

2013-11-13 Thread Christophe Fergeau
On Wed, Nov 13, 2013 at 11:36:29AM +0100, Diego COSTE wrote: > Spice display works fine as long as I run the machine on the laptop's > screen only. > > If I reboot the host on its docking station with multiple screens, Spice > stops working and I can only use VNC to access the Win7 machine. > (mac

Re: [Spice-devel] [spice-gtk v6] Use system-wide trust certificate store

2013-11-13 Thread Marc-André Lureau
ack On Wed, Nov 13, 2013 at 11:05 AM, Christophe Fergeau wrote: > Currently, spice-gtk will look in $HOME/.spicec/spice_truststore.pem > by default for its trust certificate store (to verify the certificates > used during SPICE TLS connections). > However, these days, progress is under-way to hav

Re: [Spice-devel] [vdagent-win v2 PATCH 0/6] file_xfer fixes and some cleanups

2013-11-13 Thread Marc-André Lureau
This patch series doesn't apply upstream (git.freedesktop.org/git/spice/win32/vd_agent) On Wed, Nov 13, 2013 at 11:21 AM, Christophe Fergeau wrote: > ACK series > > Christophe > > On Wed, Nov 13, 2013 at 11:22:27AM +0200, Uri Lublin wrote: >> The destination directory for file_xfer was a public o

Re: [Spice-devel] [vdagent-win v2 PATCH 0/6] file_xfer fixes and some cleanups

2013-11-13 Thread Christophe Fergeau
On Wed, Nov 13, 2013 at 01:29:19PM +0100, Marc-André Lureau wrote: > This patch series doesn't apply upstream > (git.freedesktop.org/git/spice/win32/vd_agent) Most likely the same as http://lists.freedesktop.org/archives/spice-devel/2013-November/015385.html pgpZDrjBOseDG.pgp Description: PGP s

Re: [Spice-devel] Spice stops working when host uses multi-monitors

2013-11-13 Thread Diego COSTE
On 13/11/2013 12:09, Christophe Fergeau wrote: > 'don't work' is awfully unspecific, the first step in getting some > help would be to give more details about how you are using spice > (which client, ...), and what 'don't work' means. Is something > crashing? Is the display corrupt? ... Christophe

Re: [Spice-devel] Spice stops working when host uses multi-monitors

2013-11-13 Thread Christophe Fergeau
Hi, On Wed, Nov 13, 2013 at 02:17:44PM +0100, Diego COSTE wrote: > On 13/11/2013 12:09, Christophe Fergeau wrote: > > 'don't work' is awfully unspecific, the first step in getting some > > help would be to give more details about how you are using spice > > (which client, ...), and what 'don't wor

Re: [Spice-devel] RFC on sound codec refactoring

2013-11-13 Thread Jeremy White
On 10/08/2013 08:44 AM, Jeremy White wrote: >> However, I can see the record path has a fixed 44100 value, which is >> probably bogus today for != 44100 recording? > > Yah; there is a fair amount of hard coding (although I'm probably > overly biased by my time in the old client :-/). > > And, afa

Re: [Spice-devel] [spice-gtk v5 2/2] Use system-wide trust certificate store

2013-11-13 Thread i iordanov
Hi David, The KeyChain on Android is available only through Java. In some old versions, apparently one was able to access it through native code, but that's no longer the case. I haven't looked into what it would take to make use of the KeyChain, but it certainly won't be as easy as telling OpenS

Re: [Spice-devel] [spice-gtk v5 2/2] Use system-wide trust certificate store

2013-11-13 Thread i iordanov
Hi Christophe, On Wed, Nov 13, 2013 at 5:27 AM, Christophe Fergeau wrote: > If you don't specify a CA file explicitly, spice-gtk will try to use > the CA file located in ~/.spicec/spice_truststore.pem if you use > spice_set_session_option in your application (which implies using > the spice comma

[Spice-devel] [PATCH spice-gtk] channel: fix critical warning on migration

2013-11-13 Thread Marc-André Lureau
When migrating a channel, all channels are disconnected during reset() after MAIN_MIGRATED_END. The channel swap on destination will happen only after MAIN_INIT is completed. During that time, the channel coroutine can be waiting for socket events, and will have its socket closed and cleared. Add

Re: [Spice-devel] [vdagent-win v2 PATCH 0/6] file_xfer fixes and some cleanups

2013-11-13 Thread Uri Lublin
On 11/13/2013 02:39 PM, Christophe Fergeau wrote: On Wed, Nov 13, 2013 at 01:29:19PM +0100, Marc-André Lureau wrote: This patch series doesn't apply upstream (git.freedesktop.org/git/spice/win32/vd_agent) Most likely the same as http://lists.freedesktop.org/archives/spice-devel/2013-November/01