I just installed spice-vdagent inside one of my VMs but it seems that spice-vdagentd is not currently running. Checking its systemd unit status shows some error about /var/run/spice-vdagentd/spice-vdagentd.pid not existing. Since /run is reset during each start it does not make sense to manually create this folder, where should I configure spice-vdagentd such that this folder gets created automatically?

  • The error does not mention /run, but /var/run, which is not cleared when restarting. Just create the missing directory with sudo mkdir /var/run/spice-vdagentd and try to start again: sudo service spice-vdagent start – ridgy Feb 19 '17 at 17:26
  • On my system (Ubuntu 17.04) /var/run is just a symlink to /run – lanoxx Feb 20 '17 at 5:54
  • You are right. What if starting servive spice-vdagent manually? – ridgy Feb 20 '17 at 10:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.