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

About these ads

4 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!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: