Set up Spice-Gtk-0.7 on Ubuntu 11.10

All packages required are already in PPA “Spice-Gtk-0.7 on Ubuntu 11.10″. Spice-gtk-0.7 has been done for Oneiric as two builds. First one with python, gobject-introspection enabled and –with-gtk=”2.0″(GTK2). Second one –with-introspection and –with-gtk=”3.0″ (GTK3).This builds actually are the core builds in PPA, which bring RH’s technologies to Ubuntu 11.10. Notice, that option –with-audio=”pulse” is also used by both builds and appears to be working fine.Patched virt-manager and virtinst also support spicevmc channel.
Following bellow is brief description of PPA Spice-Gtk-0.7 on Ubuntu 11.10.
View also PPA Qemu-kvm 0.15.0 and Spice on Ubuntu 11.10

1.The most recent qemu-kvm packages were done via “git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git” are Release 0.15-rc1 as of 07/31/2011.
$ git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git
$ cd qemu-kvm
$ git checkout -b stable-0.15 origin/stable-0.15
$ cd ..
Copy to building directory :
$ cp -R qemu-kvm ../BUILD/qemu-kvm-mmddyy
Stable branch is already patched to fix “QXL” issues and to support spicevmc channel

2. Spice-gtk-0.7 has been done for Oneiric as two builds.

GTK2 build performed with
./configure --prefix=/usr --build=x86_64-linux-gnu \
--mandir=/usr/share/man --infodir=/usr/share/info \
--datadir=/usr/share \
--sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/bin \
--with-python --disable-static \
--enable-introspection \
--enable-smartcard=no \
--with-gtk="2.0" --with-audio="pulse"

GTK3 build performed with
./configure --prefix=/usr --build=x86_64-linux-gnu \
--mandir=/usr/share/man --infodir=/usr/share/info \
--datadir=/usr/share \
--sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/bin \
--disable-static \
--enable-introspection \
--with-gtk="3.0" --enable-smartcard=no --with-audio="pulse"

libspice-protocol-dev 0.8.1-1 is required by both builds

3.Current version of spice-vdagent for Oneiric as KVM guest installs service and *.desktop (file) automatically and requires guest restart for activation or manual gdm restart and starting service.
4.Packages virt-manager-0.8.7-4ubuntu9 and virtinst-0.500.6-4ubuntu9
support spicevmc channel.
******************************
Install software from PPA :-
******************************
$ sudo apt-add-repository ppa:bderzhavets/spice-7
$ sudo apt-get update
$ sudo apt-get install qemu-kvm qemu qemu-common \
libspice-client libspice-client-dev \
libspicegtk3-client libspicegtk3-client-dev \
spice libspice-protocol-dev spicegtk3-client

$ sudo apt-get install virtinst virt-viewer virt-manager

Disable libvirtd’s apparmor profile :

$ sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/
$ sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd
$ sudo adduser $USER kvm
$ sudo reboot

16 Responses to Set up Spice-Gtk-0.7 on Ubuntu 11.10

  1. Ahmed Kamal says:

    Isn’t spice protocol 0.10 out already? I hope you can build that over 0.8. Thanks for the great work though, awesome stuff

  2. dbaxps says:

    What you you mean exactly ?

    Per http://spice-space.org/download.html

    Development release (0.9.x)

    0.9.x is the latest development release.
    0.9.0 – development release.

    spice – Server and client, spice-0.9.0.tar.bz2, spice-0.9.0.tar.gz
    either use spice-protocol from master or 0.8.1 (below) and cherry-pick 5bb6ff4fa6c0a86442decd4bd00813642edf637c from git master.

    Stable release (0.8.x)

    0.8.x is the latest stable series. The 0.8.x releases contain the addition of smartcard (CAC) support / redirection and bugfixes.
    0.8.2 – Second bug fix release.

    spice – Server and client, spice-0.8.2.tar.bz2, spice-0.8.2.tar.gz
    spice-vdagent (unchanged) – Linux guest agent, spice-vdagent-0.8.1.tar.bz2
    spice-protocol – headers defining protocols, spice-protocol-0.8.1.tar.bz2, spice-protocol-0.8.1.tar.gz

    Upgrade spice-server to 0.8.2 is already done :-
    https://launchpad.net/~bderzhavets/+archive/autoconf/+packages
    Spice protocol provided by libspice-protocol . It’s 0.8.1

  3. It’s the best time to make some plans for the future and it’s time to be happy.
    I’ve read this post and if I could I desire to suggest you few interesting things or suggestions.
    Perhaps you can write next articles referring to this article.
    I wish to read more things about it!

  4. Thanks for finally talking about >Set up Spice-Gtk-0.7 on Ubuntu 11.10 | Xen Virtualization on Linux and Solaris <Liked it!

  5. Hello there! Do you know if they make any plugins to assist with
    SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good success.
    If you know of any please share. Many thanks!

  6. This design is wicked! You certainly know how to keep a reader entertained.
    Between your wit and your videos, I was almost moved to
    start my own blog (well, almost…HaHa!) Excellent job.

    I really loved what you had to say, and more than that,
    how you presented it. Too cool!

  7. Oh my goodness! Amazing article dude! Many thanks,
    However I am encountering difficulties with your RSS. I don’t know why I cannot subscribe to it.
    Is there anybody else getting identical RSS issues? Anyone that knows the solution can you kindly respond?
    Thanx!!

  8. mlodosc.wordpress.com says:

    I do not write a great deal of comments, however I browsed a few of the remarks on Set up Spice-Gtk-0.7 on Ubuntu 11.10 |
    Xen Virtualization on Linux and Solaris. I actually do have 2 questions for you if you don’t mind.
    Could it be only me or do a few of the responses come across as if they are left by brain dead individuals?
    😛 And, if you are writing at other online social sites, I would like to follow you.
    Could you post a list of every one of all your social community
    pages like your Facebook page, twitter feed, or linkedin profile?

  9. This is very interesting, You’re a very skilled blogger.
    I’ve joined your rss feed and look forward to seeking more of your
    fantastic post. Also, I’ve shared your site in my social
    networks!

  10. Marvelous, what a website it is! This website presents useful facts to us,
    keep it up.

  11. I’m gone to tell my little brother, that he should also visit this web site on regular basis to get
    updated from hottest gossip.

  12. In fact no matter if someone doesn’t know after that its up to other viewers that they will help, so here it occurs.

  13. Leopoldo says:

    Very energetic blog, I liked that bit. Will there be a part
    2?

  14. Nice weblog here! Also your web site so much up fast!
    What host are you the use of? Can I get your associate link for
    your host? I want my website loaded up as quickly as yours lol

  15. Pretty great post. I simply stumbled upon your weblog and wanted to mention that I
    have really loved browsing your blog posts. After all I will be subscribing to your rss feed and I hope you write once more very soon!

Leave a comment