On Wed, May 25, 2016 at 2:34 AM, JiWei Liu <[email protected]> wrote:

> Hi:
>      We use Guacamole proxy our KVM guest desktop.
>      Now we install a VNC Server in KVM guest OS, so the desktop user can
> use copy/paste to guest OS by Guacamole. but in this scenes user can't
> connect to desktop until guest OS boot over,  we think there should be a
> better way to make user use Guacamole connect the KVM guest os and support
> copy/paste and not need to wait.
>

OK - I'm with you so far.


>    KVM SPICE is support copy/paste, and SPICE not need install any service
> in guest os; so it not need to wait desktop until the guest os boot over.
>
>
I don't think this is entirely true - KVM cannot possibly be aware of the
clipboard within the guest unless the guest has some sort of driver
installed that KVM can hook into.

   So my question: *Is there a possable to make Guacamole support KVM Spice
> connection and copy/paste to Guest OS*?
>    Such as: develop a plugin "libguac-client-spice" to do this.
>
>    If it's passable, could any one tell me some thing about this?
>
>
Yup! That's exactly what would need to be done.

We looked into this before[1]. The main thing blocking implementation was
the lack of hooks into the lower-level parts of SPICE provided by the
mainline library (spice-client-glib). The library is perfectly functional,
but only exposes simple image draw operations, and thus would not allow for
leveraging any of the Guacamole protocol's fancier/speedier features.
Without modification, a Guacamole backend leveraging "spice-client-glib"
would be worse than VNC. Clearly, the library would need to be modified.

We reached out to the SPICE developers ages ago regarding our intent and
how we should proceed[2], specifically asking whether we should implement
SPICE ourselves or attempt to leverage the library. The responses were,
essentially, "why not use our HTML5 client?" [3] (which would not be
in-line with Guacamole's architecture and security model, and would likely
be slower), and "feel free to do it yourself" [4].

Thus, we got started on scoping out the required changes to the
"spice-client-glib" library (see the comments on [1]), but stopped to work
on other higher-priority matters. If work is to resume here (which would be
GREAT, in my opinion), that's where things would need to start.

Thanks,

- Mike

[1] https://glyptodon.org/jira/browse/GUAC-124
[2]
https://lists.freedesktop.org/archives/spice-devel/2012-December/011794.html
[3]
https://lists.freedesktop.org/archives/spice-devel/2012-December/011801.html
[4]
https://lists.freedesktop.org/archives/spice-devel/2012-December/011803.html

Reply via email to