<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Le 01/02/2012 16:03, Dominique Rodrigues a écrit :
    <blockquote cite="mid:4F295430.6010200@nanocloud.com" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      Le 01/02/2012 15:28, Dominique Rodrigues a écrit :
      <blockquote cite="mid:4F294C11.8020109@nanocloud.com" type="cite">Le

        01/02/2012 15:42, Daniel P. Berrange a écrit : <br>
        <blockquote type="cite">On Wed, Feb 01, 2012 at 03:22:35PM
          +0100, Dominique Rodrigues wrote: <br>
          <blockquote type="cite">Le 01/02/2012 11:01, Daniel P.
            Berrange a écrit : <br>
            <blockquote type="cite">On Wed, Feb 01, 2012 at 02:39:13AM
              +0100, Dominique Rodrigues wrote: <br>
              <blockquote type="cite">Le 01/02/2012 00:52, Marc-André
                Lureau a écrit : <br>
                <blockquote type="cite">Hi <br>
                  <br>
                  ----- Mensaje original ----- <br>
                  <blockquote type="cite">I am using spice-gtk for a
                    while now and I did not find yet an option <br>
                    to launch it with a predefined size (height and
                    width). <br>
                    <br>
                    Only fullscreen can be activated. Otherwise,
                    spice-gtk seems to start <br>
                    at something like 600x400. <br>
                    <br>
                    Is there any (hidden) option for that or could it be
                    possible to add <br>
                    it ? <br>
                  </blockquote>
                  I don't think there is a way you could do that today
                  with any of the spice-gtk clients. <br>
                  <br>
                  This is not as easy as it seems at first, so please
                  file a bug to add a --geometry=GEOMETRY to command
                  line options. <br>
                  <br>
                  (<a moz-do-not-send="true"
                    class="moz-txt-link-freetext"
                    href="https://bugs.freedesktop.org/enter_bug.cgi?product=Spice">https://bugs.freedesktop.org/enter_bug.cgi?product=Spice</a>
                  gtk-client) <br>
                  <br>
                  Btw, which spice-gtk client are you using? spicy is
                  meant for testing, and we are currently focusing on
                  virt-viewer <a moz-do-not-send="true"
                    class="moz-txt-link-freetext"
                    href="http://git.fedorahosted.org/git/?p=virt-viewer.git">http://git.fedorahosted.org/git/?p=virt-viewer.git</a>
                  <br>
                </blockquote>
                I don't use libvirt and up to now, I have no plan to use
                it. <br>
              </blockquote>
              NB, as of yesterday, virt-viewer is no longer tied to
              libvirt. We have <br>
              refactored the code, so that there is a simple
              'remote-viewer' binary <br>
              available for using SPICE/VNC which is completely
              independent of libvirt. <br>
              You just give it a SPICE/VNC URI to connect to. This is
              why we're now <br>
              focusing on virt-viewer/remote-viewer as the primary user
              tools. <br>
              <br>
              Daniel <br>
            </blockquote>
            Ok, interesting. <br>
            <br>
            Btw, I have then downloaded remote-viewer from the git depo
            and I <br>
            have recompiled it with spice-gtk support. <br>
            <br>
            However, how do you connect afterwhile to a VM using spice ?
            <br>
            <br>
            For instance, if my VM is on localhost using spice port
            7777, doing <br>
            the following does not work : <br>
            <br>
            ./remove-viewer localhost:7777 <br>
          </blockquote>
          Try using      spice://localhost:7777 <br>
          <br>
        </blockquote>
        <br>
        Thanks ! It works fine. <br>
        <br>
        Regards <br>
        <br>
        Dominique <br>
      </blockquote>
      <br>
      After some quick tests, this tool appears to be interesting. For
      other people discovering it like me, this is how I have done to
      use it on my linux distribution (Mageia 1 64 bits) :<br>
      <br>
      Prerequisites : qemu-kvm 1.0, spice-protocol 0.10.1, spice 0.10.1
      and spice-gtk 0.9 are already compiled and installed on my machine<br>
      <br>
      To have spice available in remote-viewer :<br>
      # export
      PKG_CONFIG_PATH=/usr/local/share/pkgconfig:/usr/local/lib/pkgconfig<br>
      <br>
      # cd /somepath<br>
      <br>
      DL from git repo :<br>
      # git clone <a moz-do-not-send="true"
        class="moz-txt-link-freetext"
        href="http://git.fedorahosted.org/git/?p=virt-viewer.git">http://git.fedorahosted.org/git/?p=virt-viewer.git</a><br>
      <br>
    </blockquote>
    Typo correction :<br>
    <br>
    # git clone git://git.fedorahosted.org/virt-viewer.git<br>
    <br>
    <blockquote cite="mid:4F295430.6010200@nanocloud.com" type="cite"> #
      cd virt-viewer<br>
      <br>
      Prepare :<br>
      # ./configure  --without-libvirt --with-gtk=2.0 <br>
      <br>
      ......<br>
      configure: <br>
      configure: Configuration summary<br>
      configure: =====================<br>
      configure: <br>
      configure:  Features:<br>
      configure: <br>
      configure:    Plugin: no<br>
      configure:       Gtk: 2.0<br>
      configure: <br>
      configure:  Libraries:<br>
      configure: <br>
      configure:     GMODULE2: -pthread -I/usr/include/glib-2.0
      -I/usr/lib64/glib-2.0/include   -Wl,--export-dynamic -pthread
      -lgmodule-2.0 -lrt -lglib-2.0  <br>
      configure: <br>
      configure:          GTK: -pthread -I/usr/local/include/pixman-1
      -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
      -I/usr/include/atk-1.0 -I/usr/include/cairo
      -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
      -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
      -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread
      -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
      -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng12 -lpango-1.0
      -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0
      -lrt -lglib-2.0  <br>
      configure: <br>
      configure:      GTK_VNC:  <br>
      configure: <br>
      configure:    SPICE_GTK: -pthread -I/usr/local/include/spice-1
      -I/usr/local/include/spice-client-gtk-2.0
      -I/usr/local/include/spice-client-glib-2.0
      -I/usr/local/include/pixman-1 -I/usr/local/include
      -I/usr/local/include/spice-controller -I/usr/include/gtk-2.0
      -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
      -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
      -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
      -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2
      -I/usr/include/libpng12   -pthread -L/usr/local/lib -L/usr/lib64/
      -lspice-client-gtk-2.0 -lgtk-x11-2.0 -lspice-client-glib-2.0
      -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0
      -lgdk_pixbuf-2.0 -lcairo -lpng12 -lpango-1.0 -lfreetype
      -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt
      -lpixman-1 -lcelt051 -lm -lssl -lcrypto -ldl -lpthread
      -lspice-controller -lglib-2.0  <br>
      configure: <br>
      configure:      LIBXML2: -I/usr/include/libxml2   -lxml2  <br>
      configure: <br>
      configure:      LIBVIRT:  <br>
      configure: <br>
      <br>
      # make<br>
      <br>
      You can then already test it on a local VM using spice on port
      7777 :<br>
      <br>
      # ./src/remote-viewer spice://localhost:7777<br>
      <br>
      <br>
      This tool solves the default size problem of spice-gtk and has a
      lot of nice features from spice-gtk (copy/paste of characters
      between host and guest) and VNC (sending keys like ctrl-alt-F1 or
      ctrl-alt-del).<br>
      <br>
      Nice<br>
      <br>
      Dominique<br>
      <br>
      <blockquote cite="mid:4F294C11.8020109@nanocloud.com" type="cite">
        <blockquote type="cite">
          <blockquote type="cite">I am missing the syntax and doc is far
            from being explicit <br>
            (remote-viewer (option) URI ...). <br>
          </blockquote>
          Yes, a man page is to be written <br>
          <br>
          Daniel <br>
        </blockquote>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Spice-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a>
</pre>
      </blockquote>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Spice-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a>
</pre>
    </blockquote>
  </body>
</html>