xpra command not found

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

Introduction

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

xpra: command not found

or when using sudo you get the following error message

sudo: xpra: command not found

Solutions to xpra: command not found

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

In Ubuntu xpra is provided by xpra package.

xpra is:

Xpra gives you the functionality of GNU Screen for X applications.

It allows the user to view remote X applications on their local machine, and disconnect and reconnect from the remote machine without losing the state of the running applications.

Unlike VNC, these applications are “rootless”. They appear as individual windows inside your window manager rather than being contained within a single window.

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

sudo apt-get -y install xpra

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

You can also use apt command to install xpra.

sudo apt -y install xpra

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

sudo aptitude install xpra

Summary

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