xfreerdp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xfreerdp: command not found
or when using sudo you get the following error message
sudo: xfreerdp: command not found
Solutions to xfreerdp: command not found
How To Fix xfreerdp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xfreerdp is provided by freerdp2-x11 package.
freerdp2-x11 is:
FreeRDP is a libre client/server implementation of the Remote Desktop Protocol (RDP).
Currently, the FreeRDP client supports the following Windows Versions:
- Windows NT Server
- Windows 2000 Terminal Server
- Windows XP
- Windows 2003 Server
- Windows Vista
- Windows 2008/2008r2/2011SBS Server
- Windows 7
- Windows 2012/2012r2 Server
- Windows 8
- Windows 10
This package contains the X11 based client.
To fix this problem, we can install more using the command below.
sudo apt-get -y install freerdp2-x11
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install freerdp2-x11.
sudo apt -y install freerdp2-x11
Or if you have aptitude installed you can use the following command.
sudo aptitude install freerdp2-x11
Summary
In this tutorial we learn how to fix xfreerdp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.