[Spice-devel] spicy

Trebor Forban trebor.forban at googlemail.com
Tue Aug 28 06:43:00 PDT 2012


Hello Anthony,

thanks for your response.

After trying various ppa's:

deb http://ppa.launchpad.net/bderzhavets/lib-usbredir86/ubuntu quantal main
deb-src http://ppa.launchpad.net/bderzhavets/lib-usbredir86/ubuntu quantal main

to no avail, I decided to follow you advice, and compile remote-viewer.

my compiled version seem to be working a little better, but
nonetheless, it's still not working:

# /usr/local/spice/bin/remote-viewer --debug spice://192.168.33.1:4442
(remote-viewer:5366): remote-viewer-DEBUG: Insert window 0 0x162d820
(remote-viewer:5366): remote-viewer-DEBUG: fullscreen display 0: 0
(remote-viewer:5366): remote-viewer-DEBUG: fullscreen display 0: 0
(remote-viewer:5366): remote-viewer-DEBUG: Opening display to
spice://192.168.33.1:4442
(remote-viewer:5366): remote-viewer-DEBUG: Guest
spice://192.168.33.1:4442 has a spice display

(remote-viewer:5366): remote-viewer-DEBUG: After open connection callback fd=-1
(remote-viewer:5366): remote-viewer-DEBUG: Opening connection to
display at spice://192.168.33.1:4442

(remote-viewer:5366): remote-viewer-DEBUG: New spice channel 0x16a4b10
SpiceMainChannel 0
(remote-viewer:5366): remote-viewer-DEBUG: Checking full screen auto-conf
(remote-viewer:5366): remote-viewer-DEBUG: notebook show status 0x162f000
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line
103: Having multiple values in <test> isn't supported and may not
works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line
138: Having multiple values in <test> isn't supported and may not
works as expected
Fontconfig warning:
"/etc/fonts/conf.d/69-language-selector-ja-jp.conf", line 141: Having
multiple values in <test> isn't supported and may not works as
expected
Fontconfig warning:
"/etc/fonts/conf.d/69-language-selector-zh-tw.conf", line 79: Having
multiple values in <test> isn't supported and may not works as
expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 9:
Having multiple values in <test> isn't supported and may not works as
expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22:
Having multiple <family> in <alias> isn't supported and may not works
as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22:
Having multiple <family> in <alias> isn't supported and may not works
as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22:
Having multiple <family> in <alias> isn't supported and may not works
as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 26:
Having multiple <family> in <alias> isn't supported and may not works
as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 31:
Having multiple values in <test> isn't supported and may not works as
expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 40:
Having multiple values in <test> isn't supported and may not works as
expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-unfonts-core.conf",
line 11: Having multiple values in <test> isn't supported and may not
works as expected

(remote-viewer:5366): GSpice-CRITICAL **: invalid SPICE_MAGIC!
(remote-viewer:5366): remote-viewer-DEBUG: notebook show status 0x162f000
(remote-viewer:5366): remote-viewer-DEBUG: Guest
spice://192.168.33.1:4442 display has disconnected, shutting down
(remote-viewer:5366): remote-viewer-DEBUG: Disposing window 0x162d820

Any ideas?

thanks for your time and help

Regards,
TF



2012/8/27 Anthony James <anthony.james at cintriq.com>:
> Trebor,
>
> I did some testing and was able to successfully compile
> virt-viewer-0.5.3 with usb-redirection on a fresh install of Ubuntu
> 12.04 32-bit.  Below are the steps that I used.  Note: I chose to
> install the SPICE stuff to /usr/local/spice
>
> A) Install dependencies
>
> sudo apt-get install libusb-1.0.0-0-dev intltool libpixman-1-dev
> libogg-dev libssl-dev libsasl2-dev libgtk-3-dev
> libpulse-dev libjpeg-turbo8-dev libnss3-dev libgudev-1.0-dev libxml2-dev
>
> B) Set PKG_CONFIG_PATH
>
> export PKG_CONFIG_PATH=/usr/local/spice/lib/pkgconfig:/usr/local/spice/share/pkgconfig
>
> C) Install sources
>
> 1) spice-protocol-0.10.1
>     - configure --prefix=/usr/local/spice
>     - make
>     - sudo make install
> 2) usbredir-0.4.3
>     - configure --prefix=/usr/local/spice
>     - make
>     - sudo make install
> 3) celt-0.5.1.3
>     - configure --prefix=/usr/local/spice
>     - make
>     - sudo make install
> 4) libcacard-0.1.2
>     - configure --prefix=/usr/local/spice
>     - make
>     - sudo make install
> 5) spice-gtk-0.11
>     - configure --prefix=/usr/local/spice
>     - make
>     - sudo make install
> 6) virt-viewer-0.5.3
>     - configure --with-gtk=3.0
>     - make
>     - sudo make install
>
> Hope this helps.
>
> Anthony
>
>
> On Mon, Aug 27, 2012 at 8:29 AM, Christophe Fergeau <cfergeau at redhat.com> wrote:
>> Hey,
>>
>> On Thu, Aug 23, 2012 at 03:13:51PM +0200, Trebor Forban wrote:
>>> wanting to be able to use the integrated spice USB-redirection seems
>>> to incur having to use the spicy client instead of the spicec client.
>>> With the spicec client, I was able to automatically position client
>>> windows with devilspie/xdotool, use xscreensaver and various other X11
>>> stuff.
>>> This no longer seems to be possible with spicy. I now have a
>>> gui-client, but much impoverished usability.
>>
>>> Can somebody possibly give me a tip, as to how I can use
>>> USB-redirection and still have a usable client?
>>
>> spicy is not recommended to be used as a client, it's just a testbed for
>> the spice-gtk widget. Using remote-viewer (shipped with recent virt-viewer
>> versions) is the recommended client.
>>
>> Hope that helps,
>>
>> Christophe
>>
>> _______________________________________________
>> Spice-devel mailing list
>> Spice-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>


More information about the Spice-devel mailing list