Re: [Spice-devel] bad "remote-viewer <=> client screensaver" interactions

2015-01-13 Thread Fabiano Fidêncio
David, On Tue, Jan 13, 2015 at 10:49 PM, David Mansfield wrote: > Hi All, > > I currently run spice full screen on two monitors, with a third monitor that > "stays local" on the client. I imagine everything I say here would probably > also apply to the scenario of running a spice client full scr

Re: [Spice-devel] Translating the Spice protocol using spice-client-glib

2015-01-13 Thread Jeff Pettorino
Michael Jumper guac-dev.org> writes: > > Hello, > > I am looking to use spice-client-glib (which seems to be the only > low-level client library available) to implement a plugin for guacd > which translates between the Spice protocol and the Guacamole > protocol, thus adding Spice support to Gu

[Spice-devel] bad "remote-viewer <=> client screensaver" interactions

2015-01-13 Thread David Mansfield
Hi All, I currently run spice full screen on two monitors, with a third monitor that "stays local" on the client. I imagine everything I say here would probably also apply to the scenario of running a spice client full screen on one monitor, and keeping the second monitor "local". 1) When t

Re: [Spice-devel] RFC - Direct smart card support in libcacard/spice-gtk

2015-01-13 Thread Robert Relyea
On 12/23/2014 12:49 PM, Jeremy White wrote: I am hoping to ask: 1. Does this basic approach seem reasonable? It depends on usage. The main thing to be careful of is card sharing between various VMs and hosts. They fall into two categories: card locking - software like pcsc-lite allows ap

Re: [Spice-devel] RFC - Direct smart card support in libcacard/spice-gtk

2015-01-13 Thread Marc-André Lureau
Hi - Original Message - > > I've spun up v2 of this discussion patch set. I struggled for a while; > I made an attempt to rename the vcard_emul_init entry point, and in the > end, I felt that it was a pointless ABI change, just to satisfy my need > to feel that the name made sense. (I'm

[Spice-devel] [PATCH spice-gtk 5/9] session: connect to UNIX path

2015-01-13 Thread Marc-André Lureau
--- gtk/spice-session.c | 43 --- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/gtk/spice-session.c b/gtk/spice-session.c index 83d8568..6f04a1a 100644 --- a/gtk/spice-session.c +++ b/gtk/spice-session.c @@ -19,7 +19,9 @@ #include #inc

[Spice-devel] [PATCH spice-gtk 7/9] session: allocate in spice_uri_create()

2015-01-13 Thread Marc-André Lureau
This allows more flexible string building. --- gtk/spice-session.c | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/gtk/spice-session.c b/gtk/spice-session.c index ecc9e86..7872af7 100644 --- a/gtk/spice-session.c +++ b/gtk/spice-session.c @@ -

[Spice-devel] [PATCH spice-gtk 6/9] session: parse spice+unix:// URI

2015-01-13 Thread Marc-André Lureau
--- gtk/spice-session.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gtk/spice-session.c b/gtk/spice-session.c index 6f04a1a..ecc9e86 100644 --- a/gtk/spice-session.c +++ b/gtk/spice-session.c @@ -349,6 +349,7 @@ spice_session_finalize(GObject *gobject) } #d

[Spice-devel] [PATCH spice-gtk 4/9] session: add unix-path property

2015-01-13 Thread Marc-André Lureau
--- gtk/spice-session.c | 35 ++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gtk/spice-session.c b/gtk/spice-session.c index 7971f3c..83d8568 100644 --- a/gtk/spice-session.c +++ b/gtk/spice-session.c @@ -45,6 +45,7 @@ struct channel { struct _

[Spice-devel] [PATCH spice-gtk 9/9] spicy: deal with spice+unix:// URI

2015-01-13 Thread Marc-André Lureau
--- gtk/spicy.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/gtk/spicy.c b/gtk/spicy.c index 2fcd529..4c7d2c8 100644 --- a/gtk/spicy.c +++ b/gtk/spicy.c @@ -1193,10 +1193,14 @@ static void recent_add(SpiceSession *session) g_object_get(session, "uri", &

[Spice-devel] [PATCH spice-gtk 8/9] session: teach spice_uri_create() about UNIX path

2015-01-13 Thread Marc-André Lureau
--- gtk/spice-session.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk/spice-session.c b/gtk/spice-session.c index 7872af7..2dec8c7 100644 --- a/gtk/spice-session.c +++ b/gtk/spice-session.c @@ -357,7 +357,9 @@ static gchar* spice_uri_create(SpiceSession *session) {

[Spice-devel] [PATCH spice-gtk 1/9] channel: delay event report to after coroutine exit

2015-01-13 Thread Marc-André Lureau
Move to a common place error reporting, after the coroutine exits. --- gtk/spice-channel-priv.h | 3 ++- gtk/spice-channel.c | 25 + 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/gtk/spice-channel-priv.h b/gtk/spice-channel-priv.h index bd7f490..d70

[Spice-devel] [PATCH spice-gtk 3/9] channel: reset connection state on error

2015-01-13 Thread Marc-André Lureau
Fix regression introduced in 6b475802, to permit reconnection on error, the channel state must be < STATE_CONNECTING. Since the error is reported after coroutine exits and channel is reset, the state can be modified before throwing the error now. --- gtk/spice-channel.c | 1 + 1 file changed, 1 in

[Spice-devel] [PATCH spice-gtk 0/9] Reconnection fix & UNIX socket support

2015-01-13 Thread Marc-André Lureau
Hi, Here is a small series fixing a regression introduced in v0.27-1-g6b47580, and adding support for connection to a server on a UNIX socket (see related Spice server series) The proposed URI for a server on a UNIX socket is "spice+unix://path". cheers Marc-André Lureau (9): channel: delay e

[Spice-devel] [PATCH spice-gtk 2/9] channel: reset tls state when client calls connect

2015-01-13 Thread Marc-André Lureau
The channel TLS state is kept during disconnection and reset, for automatic reconnection and migrations reasons. However, when spice_channel_connect() is called by client, it should first try non-TLS connection. --- gtk/spice-channel.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletion

Re: [Spice-devel] [PATCHv2 1/3] reds: add Unix socket support

2015-01-13 Thread Marc-André Lureau
Hi On Mon, Jan 12, 2015 at 5:35 PM, Marc-André Lureau wrote: > +} else if (flags == SPICE_ADDR_FLAG_IPV6_ONLY) { > spice_family = PF_INET6; > +} else if (flags == SPICE_ADDR_FLAG_UNIX_ONLY) { > +spice_family = AF_UNIX; > +} else { Here I added if (state != 0), since

Re: [Spice-devel] [ovirt-users] I have a question about the spice client.

2015-01-13 Thread David Jaša
Hi, What is hangul key? Do I understand correctly that linux client works OK but windows client behaves incorrectly? David On Po, 2015-01-12 at 15:51 +0900, jaemin baek wrote: > hi, > > i'm korean > > > I have a question about the spice client. > > > > My spice client connect to VDI >