[Spice-devel] spice-vdagent.service not starting

Frediano Ziglio fziglio at redhat.com
Thu Nov 22 20:54:59 UTC 2018


Looks like there's a kind of "virus" that set /etc/sysconfig/spice-vdagentd file incorrectly.
Try to dump the file like

$ cat /etc/sysconfig/spice-vdagentd

or even better

$ hexdump -C /etc/sysconfig/spice-vdagentd

We already has some report of this file with wrong syntax. Looks like some web pages are
suggesting some wrong syntax. I'm not aware of any distro that package this file wrongly
(should not even exist).

Obviously can be another issue but worth checking.

Frediano


> Guest is WIN Server 2k12.

> On configuration, “Channel Spice” is showing as below.

> Please see some below screenshot for journalctl

> Sent from Mail for Windows 10

> From: Frediano Ziglio
> Sent: 22 November 2018 02:06 PM
> To: Emmanual Vnebu
> Cc: spice-devel at lists.freedesktop.org
> Subject: Re: [Spice-devel] spice-vdagent.service not starting

> Is there the /dev/virtio-ports/com.redhat.spice.0 on the guest (should be a
> link)?

> On the configuration should be "Channel spice", click on it, on the right
> there

> should be a text with "com.redhat.spice.0".

> Also try to launch a "journalctl | grep -i spice | less" to see systemd
> messages

> for spice.

> Frediano

> > Thanks for your responds Frediano.
> 

> > Please find below screenshot of the spice-vdagentd.soket file & VM config.
> 

> > Would you be able to suggest what should I do to get this working please?
> 

> > Regards,
> 
> > Emmanual
> 
> > Sent from Mail for Windows 10
> 

> > From: Frediano Ziglio
> 
> > Sent: 21 November 2018 09:31 PM
> 
> > To: Emmanual Vnebu
> 
> > Cc: spice-devel at lists.freedesktop.org
> 
> > Subject: Re: [Spice-devel] spice-vdagent.service not starting
> 

> > > Hi,
> 

> > > I am trying to setup a VDI on a physical machine & cloud environment in
> 
> > > parallel.
> 

> > > I got the virtual machines running along with dashboards, websocxify
> > > etc..
> 

> > > However, I am stuck at where I have to use spice-vdagentd service.
> 

> > > The service keep failing due to dependency error. Below is missing in
> > > both
> 
> > > machines.
> 

> > > dev-virtio\ports-com.redhat.spice.0.device
> 

> > The correct device is dev-virtio\x2dports-com.redhat.spice.0.device
> 
> > (in the /usr/lib/systemd/system/spice-vdagentd.socket file) which
> > corresponds
> 
> > to /dev/virtio-ports/com.redhat.spice.0, if you don't have this file it
> 
> > means you didn't configure the SPICE channel in the VM.
> 

> > > I am not sure what am I missing.
> 

> > > Attached is modules loaded along with packages for both cloud & physical
> 
> > > machine.
> 

> > > Cloud you please help & suggest how can I fix it.
> 

> > > Regards,
> 
> > > Emmanual
> 
> > > Sent from Mail for Windows 10
> 

> > Frediano
> 


More information about the Spice-devel mailing list