[libvirt] [PATCH v2 2/3] conf: add 'sharePolicy' attribute to graphics element for vnc

Christophe Fergeau cfergeau at redhat.com
Tue May 14 09:17:31 UTC 2013


Hey,

On Wed, May 08, 2013 at 01:22:47PM +0800, Guannan Ren wrote:
>  -vnc :5900,share=allow-exclusive
> allows clients to ask for exclusive access which is
> implemented by dropping other connections Connecting
> multiple clients in parallel requires all clients asking
> for a shared session (vncviewer: -shared switch)
> 
>  -vnc :5900,share=force-shared
> disables exclusive client access.  Useful for shared
> desktop sessions, where you don't want someone forgetting
> specify -shared disconnect everybody else.
> 
>  -vnc :5900,share=ignore
> completely ignores the shared flag and allows everybody
> connect unconditionally

rdp seems to support some similar (though they don't look identical)
features through replaceUser/multiUser.

« The replaceUser attribute is a boolean deciding whether multiple
simultaneous connections to the VM are permitted. The multiUser attribute
is a boolean deciding whether the existing connection must be dropped and a
new connection must be established by the VRDP server, when a new client
connects in single connection mode. »

I'm wondering if we should try to use similar attributes for both rdp and
vnc for more consistency?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130514/bca647d5/attachment-0001.sig>


More information about the libvir-list mailing list