Comment 29 for bug 1800196

Revision history for this message
yas (sayazyi) wrote :

Hi all,
I've found this messages in systemd journal but in my case it was a bare metal install of Ubuntu 18.04, so I don't see the need to have spice-vdagent installed (that I understand is for virtual machine guest). Remove it is not an option because it will remove ubuntu-desktop.
I tried then to disable it with:
$ sudo systemctl disable spice-vdagent

But that was not enough. I found that it was being launched on startup (and that created the error and warning in the logs) so I located the spice-vdagent.desktop in different locations. Finally I found a solution confirming the way to disable it here:
https://access.redhat.com/solutions/2990871

Basically adding the line:
X-GNOME-Autostart-enabled=false

To the files:
/etc/xdg/autostart/spice-vdagent.desktop
/usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop

Then stop and disable the service:
$ sudo systemctl stop spice-vdagentd
$ sudo systemctl disable spice-vdagentd

If I understand my case right this service should not be part of initialization if the installation is not a virtual machine supporting spice.
Hope this helps others with similar case, regards.