x2gobroker-pubkeyauthorizer command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
x2gobroker-pubkeyauthorizer: command not found
or when using sudo you get the following error message
sudo: x2gobroker-pubkeyauthorizer: command not found
Solutions to x2gobroker-pubkeyauthorizer: command not found
How To Fix x2gobroker-pubkeyauthorizer: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu x2gobroker-pubkeyauthorizer is provided by x2gobroker-agent package.
x2gobroker-agent is:
X2Go is a server based computing environment with - session resuming - low bandwidth support - session brokerage support - client side mass storage mounting support - client side printing support - audio support - authentication by smartcard and USB stick
The session broker is a server tool for X2Go that tells your X2Go Client application in a terminal server cluster what servers and session types are most appropriate for the user in front of the X2Go terminal.
A session broker is most useful in load balanced X2Go server farms.
This package contains a setuid agent command that extends X2Go Session Broker functionality. It has to be installed on X2Go Servers that shall be controlled via a session broker.
The broker agent provides means to the X2Go Session Broker for controlling the X2Go Server it is installed on (e.g. suspend/terminate sessions, deploy SSH login keys, detect server load, detect running/suspended sessions of connecting users, etc.).
WARNING: This package installs a setuid wrapper (/usr/lib/x2go/broker/x2gobroker-agent) on your system. This setuid wrapper aims to be a secure replacement for the deprecated suidperl executable that was removed from Perl (>= 5.12).
This wrapper is only able to execute the Perl script /usr/lib/x2go/broker/x2gobroker-agent.pl. For running properly, x2gobroker-agent.pl needs setuid root privileges.
If you hesitate to install this package, study the code of the named wrapper and the named Perl script beforehand. Note that the X2Go session broker will lack functionality, but it will work without this x2gobroker-agent component installed on your to-be-managed X2Go servers.
To fix this problem, we can install more using the command below.
sudo apt-get -y install x2gobroker-agent
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install x2gobroker-agent.
sudo apt -y install x2gobroker-agent
Or if you have aptitude installed you can use the following command.
sudo aptitude install x2gobroker-agent
Summary
In this tutorial we learn how to fix x2gobroker-pubkeyauthorizer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.