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

Victor Toso victortoso at redhat.com
Tue Jan 7 14:30:02 UTC 2020


Hi,

On Fri, Dec 20, 2019 at 06:26:19AM -0500, Frediano Ziglio wrote:
> > 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

Hm, perhaps you want to use the systemd based one?

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

Try adding --with-session-info=systemd and installing what is
needed for that to build and be used. Not that many WM using
ConsoleKit I think.

> > sudo make install
> > ******************************************/
> 
> Frediano
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20200107/000d5fd1/attachment.sig>


More information about the Spice-devel mailing list