A Devuan guest in kvm and using spice-vdagentd
If you intend to use spice-vdagent in a devuan vm, you might be interested to know how to get the spice agent to actually work.
Symptoms
The option for "Scale Display -> Auto resize VM with window" is not functional in the spice viewer. In the guest's /var/log/syslog, you can see an error:
spice-vdagentd: error getting session for pid 2970: no such file or directory free
But that's about it.
The fix
Make file /etc/default/spice-vdagentd with contents:
SPICE_VDAGENTD_EXTRA_ARGS=-X
Then restart the daemon.
sudo service spice-vdagentd restart
The -X flag on the invocation disables systemd-logind integration. This is key for a devuan install because devuan exists to be free of the requirement for systemd.
Comments