spice-vdagent command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
spice-vdagent: command not found
or when using sudo you get the following error message
sudo: spice-vdagent: command not found
Solutions to spice-vdagent: command not found
How To Fix spice-vdagent: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu spice-vdagent is provided by spice-vdagent package.
spice-vdagent is:
spice-vdagent is the spice agent for Linux, it is used in conjunction with spice-compatible hypervisor, its feature includes:
- Client mouse mode (no need to grab mouse by client, no mouse lag) this is handled by the daemon by feeding mouse events into the kernel via uinput. This will only work if the active X-session is running a spice-vdagent process so that its resolution can be determined.
- Automatic adjustment of the X-session resolution to the client resolution
- Support of copy and paste (text and images) between the active X-session and the client
To fix this problem, we can install more using the command below.
sudo apt-get -y install spice-vdagent
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install spice-vdagent.
sudo apt -y install spice-vdagent
Or if you have aptitude installed you can use the following command.
sudo aptitude install spice-vdagent
Summary
In this tutorial we learn how to fix spice-vdagent command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.