Xspice command not found

In this troubleshooting guide we learn how to fix Xspice command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

Xspice: command not found

or when using sudo you get the following error message

sudo: Xspice: command not found

Solutions to Xspice: command not found

How To Fix Xspice: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu Xspice is provided by xserver-xspice package.

xserver-xspice is:

Xspice is an X server and Spice server in one. It consists of a wrapper script for executing Xorg with the right parameters and environment variables, a module names spiceqxl_drv.so implementing three drivers: a video mostly identical code to the guest qxl X driver, and keyboard and mouse reading from the spice inputs channel.

Xspice allows regular X connections, while a spice client provides the keyboard and mouse and video output.

To fix this problem, we can install more using the command below.

sudo apt-get -y install xserver-xspice

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install xserver-xspice.

sudo apt -y install xserver-xspice

Or if you have aptitude installed you can use the following command.

sudo aptitude install xserver-xspice

Summary

In this tutorial we learn how to fix Xspice command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.