[Spice-devel] spice-vdagent does not work on ubuntu18.04

Frediano Ziglio fziglio at redhat.com
Fri Dec 20 11:26:19 UTC 2019


> hi, all,

> I install ubuntu 18.04 amd64 with virt-manager,

> the vdagent default installed is ok. the copy &paste and windows resize is
> ok。

> but when I build the vdagent with the source code, it does not work.
> and log has this error: "GetSeats failed: The name org.freedesktop.ConsoleKit
> was not provided by any .service files"

> was I missing something ?

> all my build command here:
> /********************************************
> sudo apt-get install autoconf libtool libpixman-1-dev libjpeg-dev libopus-dev
> python-pyparsing python-six
> sudo apt-get install build-essential
> sudo apt-get install pkg-config

> sudo apt-get install libperl-dev
> sudo apt-get install libgtk2.0-dev
> sudo apt install libasound2-dev
> sudo apt-get install libdbus-1-dev
> sudo apt-get install libdrm-dev
> sudo apt-get install libpciaccess-dev

Last time I built a package on Debian based distro was too much ago but
I remember I searched something like "debian rebuild deb package".
For instance I found https://raphaelhertzog.com/2010/12/15/howto-to-rebuild-debian-packages/
The key is the command "apt-get build-dep" that will install all needed
dependencies. Although you don't want to build a Debian package it will
install the dependencies needed for the sources.
One possible missing dependencies looking at error above is some systemd
development package.


> git clone https://gitlab.freedesktop.org/spice/spice-protocol.git
> git checkout v0.14.0
> ./autogen.sh --prefix=/usr
> sudo make install

> git clone https://gitlab.freedesktop.org/spice/linux/vd_agent.git
> git checkout spice-vdagent-0.17.0

> ./autogen.sh --prefix=/usr
> sudo make install
> ******************************************/

Frediano



More information about the Spice-devel mailing list