Re: [Spice-devel] [patch 2/2] virt-viewer: use username and passwork for spice sessions

2013-10-23 Thread Dietmar Maurer
> This seems to be asking for a username both in the SASL case when it makes > sense, but also in the usual 'ticket' case (spice-server -spice password=foo > command line option). In the latter case, we should not be asking for a > username as it is meaningless. OK, sent a fix for that.

[Spice-devel] [patch 2/2] virt-viewer: use username and password for spice sessions with SASL

2013-10-23 Thread dietmar
Also set username if set inside configuration file. Signed-off-by: Dietmar Maurer Index: new/src/virt-viewer-session-spice.c === --- new.orig/src/virt-viewer-session-spice.c2013-10-24 06:17:52.0 +0200 +++ new/src/virt-v

[Spice-devel] [patch 1/2] spice-gtk: add PROP_USERNAME to spice session

2013-10-23 Thread dietmar
Authentication with SASL needs username and password. Signed-off-by: Dietmar Maurer Index: new/gtk/spice-session.c === --- new.orig/gtk/spice-session.c2013-10-23 12:25:12.0 +0200 +++ new/gtk/spice-session.c 2013-

[Spice-devel] [patch 0/2] Use username and password for remote-viewer SPICE sessions (v2)

2013-10-23 Thread dietmar
Changelog for v2: Only ask for username if SASL is used. Description: Current implementation always use the unix user name the client runs, which is usually not what we want. Instead, remote-viewer should ask for a username (as we do fo VNC). ___ Spi

Re: [Spice-devel] remote-viewer spice auth

2013-10-23 Thread Dietmar Maurer
> I think you could add a SPICE_CHANNEL_ERROR_AUTH_USER_AND_PASS (and a > property "username" on the session) This does not work because auth is expected to signal different error, for example SPICE_CHANNEL_ERROR_LINK. ___ Spice-devel mailing list Spic

Re: [Spice-devel] Keyboard Issue!!

2013-10-23 Thread Vishvendra Singh Chauhan
On Wed, Oct 23, 2013 at 3:00 PM, Christophe Fergeau wrote: > On Tue, Oct 22, 2013 at 04:48:36PM +0530, Vishvendra Singh Chauhan wrote: > > On Tue, Oct 22, 2013 at 1:48 PM, Christophe Fergeau >wrote: > > > > > On Mon, Oct 21, 2013 at 09:11:02PM +0530, Vishvendra Singh Chauhan > wrote: > > > > I am

Re: [Spice-devel] Keyboard Issue!!

2013-10-23 Thread Vishvendra Singh Chauhan
On Tue, Oct 22, 2013 at 1:48 PM, Christophe Fergeau wrote: > On Mon, Oct 21, 2013 at 09:11:02PM +0530, Vishvendra Singh Chauhan wrote: > > I am using following file on windows client to access portal using spice: > > > > virt-viewer-0.5.3.exe > > Please try the latest virt-viewer builds, I think t

[Spice-devel] [PATCH] Add SpiceMainChannel::monitors-config-requested signal

2013-10-23 Thread Jonathon Jongsma
In some circumstances, when one display is in fullscreen but others are not, the display regions can sometimes overlap (rhbz #1002156). There are other cases where the auto-align code lines up monitors in the wrong order because they are moved after they've been resized. In general, the root cause

Re: [Spice-devel] [PATCH] Be explicit about spice-common license

2013-10-23 Thread Jonathon Jongsma
Oops, I even remember telling myself to remember to 'git add' this file, but then I forgot.  Thanks for catching that. On Wed, Oct 23, 2013 at 4:43 AM, Christophe Fergeau wrote: On Tue, Oct 22, 2013 at 10:40:33AM -0500, Jonathon Jongsma wrote: Use same license as spice-gtk and spice modules

Re: [Spice-devel] [patch 1/1] fix SASL for mechanism using WANT_CLIENT_FIRST

2013-10-23 Thread Dietmar Maurer
> All you need is: > > auth_method: plain > > And set a password with 'saslpassword2 root@your.domainname' Sorry, you need to use the FQDM as realm (root@) ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/ma

Re: [Spice-devel] [patch 1/1] fix SASL for mechanism using WANT_CLIENT_FIRST

2013-10-23 Thread Dietmar Maurer
> This bit makes me much more uncomfortable, especially this is touching > security- > sensitive code. Things are not working without it? > If you have a working sasl plain config for spice, I'd be interested in it as > I could > not get that to work for testing :(( All you need is: auth_method

Re: [Spice-devel] UPDATE: spice-gtk on MAC OSX

2013-10-23 Thread Marc-André Lureau
Hi On Tue, Oct 22, 2013 at 4:33 PM, Mario wrote: > Hi, > > bad news related to the OSX Client. > > I just finished implementing a SDL "alpha-" backend for the gtk widget. as I > did not figure out how to draw into an existing window I was opening a new > windows using SDL and implemented a draw-f

Re: [Spice-devel] [patch 2/2] virt-viewer: use username and passwork for spice sessions

2013-10-23 Thread Christophe Fergeau
On Wed, Oct 23, 2013 at 01:04:48PM +0200, diet...@proxmox.com wrote: > Signed-off-by: Dietmar Maurer > > Index: new/src/virt-viewer-session-spice.c > === > --- new.orig/src/virt-viewer-session-spice.c 2013-07-31 13:57:28.0

Re: [Spice-devel] [patch 1/1] fix SASL for mechanism using WANT_CLIENT_FIRST

2013-10-23 Thread Christophe Fergeau
Hey, On Tue, Oct 22, 2013 at 11:07:56AM +0200, diet...@proxmox.com wrote: > Current code works with DIGEST-MD5, but not with PLAIN. > > Signed-off-by: Dietmar Maurer > > Index: new/gtk/spice-channel.c > === > --- new.orig/gtk/spice

Re: [Spice-devel] remote-viewer spice auth

2013-10-23 Thread Christophe Fergeau
On Tue, Oct 22, 2013 at 08:36:55AM +, Dietmar Maurer wrote: > > I don't think mandating that the username we use for SASL is the unix user > > name > > the client runs as makes a lot of sense. Imo it would be better if we > > always asked > > for username/password when SASL asks for it, and p

Re: [Spice-devel] [PATCH 1/5] spiceqxl_spice_server: no need to call spice_server_set_noauth twice

2013-10-23 Thread Uri Lublin
On 10/21/2013 06:32 PM, Alon Levy wrote: --- src/spiceqxl_spice_server.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/spiceqxl_spice_server.c b/src/spiceqxl_spice_server.c index 63a3179..14ee752 100644 --- a/src/spiceqxl_spice_server.c +++ b/src/spiceqxl_spice_server.c @@ -254,9 +

[Spice-devel] [patch 1/2] spice-gtk: add PROP_USERNAME to spice session

2013-10-23 Thread dietmar
Authentication with SASL needs username and password. Signed-off-by: Dietmar Maurer Index: new/gtk/spice-session.c === --- new.orig/gtk/spice-session.c2013-10-23 12:25:12.0 +0200 +++ new/gtk/spice-session.c 2013-

[Spice-devel] [patch 0/2] Use username and password for remote-viewer SPICE sessions

2013-10-23 Thread dietmar
Current implementation always use the unix user name the client runs, which is usually not what we want. Instead, remote-viewer should ask for a username (as we do fo VNC). ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.free

[Spice-devel] [patch 2/2] virt-viewer: use username and passwork for spice sessions

2013-10-23 Thread dietmar
Signed-off-by: Dietmar Maurer Index: new/src/virt-viewer-session-spice.c === --- new.orig/src/virt-viewer-session-spice.c2013-07-31 13:57:28.0 +0200 +++ new/src/virt-viewer-session-spice.c 2013-10-23 12:10:56.0 +

Re: [Spice-devel] Keyboard Issue!!

2013-10-23 Thread Christophe Fergeau
On Wed, Oct 23, 2013 at 03:50:47PM +0530, Vishvendra Singh Chauhan wrote: > Yes man! But please give me the solutions for remote-viewer... I would try to switch to the 'native' method in console options (.vv file) in ovirt, and if this does not work from the portal, I'd try to open the downloade

Re: [Spice-devel] Keyboard Issue!!

2013-10-23 Thread Christophe Fergeau
On Tue, Oct 22, 2013 at 04:48:36PM +0530, Vishvendra Singh Chauhan wrote: > On Tue, Oct 22, 2013 at 1:48 PM, Christophe Fergeau > wrote: > > > On Mon, Oct 21, 2013 at 09:11:02PM +0530, Vishvendra Singh Chauhan wrote: > > > I am using following file on windows client to access portal using spice:

Re: [Spice-devel] [PATCH] Be explicit about spice-common license

2013-10-23 Thread Christophe Fergeau
On Tue, Oct 22, 2013 at 10:40:33AM -0500, Jonathon Jongsma wrote: > Use same license as spice-gtk and spice modules (LGPL 2.1) since those > licenses > applied to the spice-common submodule in the past. This makes it more clear > that if you use spice-common separately, the license is still LGPL.

[Spice-devel] [patch 1/3] spice-server: add the ability to send utf8 on input channel

2013-10-23 Thread dietmar
Introduce a new capability SPICE_INPUTS_CAP_KEY_UTF8. Signed-off-by: Dietmar Maurer Index: new/spice-common/spice.proto === --- new.orig/spice-common/spice.proto 2013-07-17 17:33:52.0 +0200 +++ new/spice-common/spice.proto

[Spice-devel] [patch 0/3] X11 UTF8 input channel extension v4

2013-10-23 Thread dietmar
minor fix (see Changelog for v4) Description: The SPICE input channel currently only sends scancodes. Thus the server does not know what character was pressed (server does not know the client keymap). But some SPICE applications want to use the keymap from the client side, and work directly wit

[Spice-devel] [patch 2/3] spice-server: add push_utf8 callback to input channel

2013-10-23 Thread dietmar
Signed-off-by: Dietmar Maurer Index: new/server/inputs_channel.c === --- new.orig/server/inputs_channel.c2013-10-21 07:32:57.0 +0200 +++ new/server/inputs_channel.c 2013-10-21 07:33:01.0 +0200 @@ -124,6 +124,11 @@

[Spice-devel] [patch 3/3] spice-gtk: send new utf8 messages if requested

2013-10-23 Thread dietmar
Signed-off-by: Dietmar Maurer Index: new/gtk/channel-inputs.c === --- new.orig/gtk/channel-inputs.c 2013-10-16 09:53:10.0 +0200 +++ new/gtk/channel-inputs.c2013-10-16 10:00:11.0 +0200 @@ -451,6 +451,21 @@