How To Install xrdp on Debian 10
Introduction
In this tutorial we learn how to install xrdp
on Debian 10.
What is xrdp
xrdp is:
xrdp offers a graphical login to a remote client using RDP (the Remote Desktop Protocol). xrdp can connect to a locally created X.org session with the xorgxrdp drivers, to a VNC X11 server, and forward to another RDP server.
xrdp accepts connections from freerdp, rdesktop, and the built-in terminal server / remote desktop clients of Microsoft Windows operating systems. In the xorgxrdp (which replaces X11RDP) and VNC modes, it provides a fully functional Linux terminal server, offering an X-Window desktop to the user. In the RDP or VNC forwarding mode, any sort of desktop can be used.
There are three methods to install xrdp
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install xrdp Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install xrdp
using apt-get
by running the following command:
sudo apt-get -y install xrdp
Install xrdp Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xrdp
using apt
by running the following command:
sudo apt -y install xrdp
Install xrdp Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install xrdp
using aptitude
by running the following command:
sudo aptitude -y install xrdp
How To Uninstall xrdp on Debian 10
To uninstall only the xrdp
package we can use the following command:
sudo apt-get remove xrdp
Uninstall xrdp And Its Dependencies
To uninstall xrdp
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove xrdp
Remove xrdp Configurations and Data
To remove xrdp
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge xrdp
Remove xrdp configuration, data, and all of its dependencies
We can use the following command to remove xrdp
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xrdp
Dependencies
xrdp have the following dependencies:
- adduser
- lsb-base
- ssl-cert
- libc6
- libfuse2
- libjpeg62-turbo
- libopus0
- libpam0g
- libssl1.1
- libx11-6
- libxfixes3
- libxrandr2
References
Summary
In this tutorial we learn how to install xrdp
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.