x2goagent command not found

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

Introduction

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

x2goagent: command not found

or when using sudo you get the following error message

sudo: x2goagent: command not found

Solutions to x2goagent: command not found

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

In Ubuntu x2goagent is provided by x2goserver-x2goagent package.

x2goserver-x2goagent is:

X2Go is a software suite that uses NX technology for remote desktop computing.

NX technology implements a very efficient compression of the X11 protocol. This increases performance when using X applications over a network, especially a slow one.

X2Go Agent functionality has been completely incorporated into NX agent’s code base. If the nxagent binary is executed under the name of `x2goagent’, the X2Go functionalities get activated.

This package is a wrapper that activates X2Go branding in nxagent. Please refer to the nxagent package’s description for more information on NX.

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

sudo apt-get -y install x2goserver-x2goagent

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

You can also use apt command to install x2goserver-x2goagent.

sudo apt -y install x2goserver-x2goagent

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

sudo aptitude install x2goserver-x2goagent

Summary

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