Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

How to Install Xrdp Server (Remote Desktop) on Debian 10 - DesignLinux

May 31 2020
designlinux 0 Comments
How to Install Xrdp Server (Remote Desktop) on Debian 10

Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) server. It allows you to graphically control a remote machine. Using Xrdp, you can login to remote machine same as Microsoft Remote Desktop Protocol (RDP). In this tutorial, we will show you how to install Xrdp (Remote Desktop) on Debian 10 system.

Prerequisites#

Make sure you have logged in as a root or user with sudo privileges.

Installing Desktop Environment#

By default, Linux servers do not have a desktop environment installed and managed by command line only. So first, we need to install desktop environment for Xrdp.

There are several desktop environments (DE) available in Debian repositories. We will install the Xfce desktop environment, it is perfect for the remote servers. You can install another desktop environment if you would like, but Xfce is a lightweight, stable, and fast desktop environment.

sudo apt update
sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils

Installing Xrdp#

Standard Debian repositories includes Xrdp package. Run the following command to install:

sudo apt install xrdp

Once the installation complete, Xrdp service will be start automatically.

You can verify that service is running by typing:

sudo systemctl status xrdp

It will show output like below:

● xrdp.service - xrdp daemon
   Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2020-05-25 11:09:10 UTC; 4s ago
  ...

Next, you have to add the xrdp user to the group “ssl-cert” group:

sudo adduser xrdp ssl-cert

Restart the Xrdp service for changes to take effect:

sudo systemctl restart xrdp

That’s it! Xrdp is installed on your Debian system and ready to use.

Configuring Firewall#

If you are using ufw to manage firewall on your Debian server, you’ll need to open the Xrdp port. The Xrdp listens on port 3389 on all interfaces.

For example to give access to the Xrdp server to a specific IP address or IP range, run the following command:

sudo ufw allow from 192.168.43.0/24 to any port 3389

It’s done. Now you are able to connect your Xrdp server using RDP client on Windows system. If you are running macOS, you can install the Microsoft Remote Desktop application from the Mac App Store. Linux users can use an RDP client such as Remmina or Vinagre.

Conclusion#

In this guide explained how to install xrdp on Debian 10 system. You can connect Xrdp server and manage through graphic interface from Windows, macOS or Linux system.

If you have any questions or feedback, feel free leave a comment below.

Related

Tags: debian, rdp

How to Mount and Unmount File Systems in Linux

Prev Post

CDIR – A Faster Way to Navigate Folders and Files on Linux

Next Post
Archives
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
Categories
  • AlmaLinux
  • Android
  • Ansible
  • Apache
  • Arch Linux
  • AWS
  • Backups
  • Bash Shell
  • Bodhi Linux
  • CentOS
  • CentOS Stream
  • Chef
  • Cloud Software
  • CMS
  • Commandline Tools
  • Control Panels
  • CouchDB
  • Data Recovery Tools
  • Databases
  • Debian
  • Deepin Linux
  • Desktops
  • Development Tools
  • Docker
  • Download Managers
  • Drupal
  • Editors
  • Elementary OS
  • Encryption Tools
  • Fedora
  • Firewalls
  • FreeBSD
  • FTP
  • GIMP
  • Git
  • Hadoop
  • HAProxy
  • Java
  • Jenkins
  • Joomla
  • Kali Linux
  • KDE
  • Kubernetes
  • KVM
  • Laravel
  • Let's Encrypt
  • LFCA
  • Linux Certifications
  • Linux Commands
  • Linux Desktop
  • Linux Distros
  • Linux IDE
  • Linux Mint
  • Linux Talks
  • Lubuntu
  • LXC
  • Mail Server
  • Manjaro
  • MariaDB
  • MongoDB
  • Monitoring Tools
  • MySQL
  • Network
  • Networking Commands
  • NFS
  • Nginx
  • Nodejs
  • NTP
  • Open Source
  • OpenSUSE
  • Oracle Linux
  • Package Managers
  • Pentoo
  • PHP
  • Podman
  • Postfix Mail Server
  • PostgreSQL
  • Python
  • Questions
  • RedHat
  • Redis Server
  • Rocky Linux
  • Security
  • Shell Scripting
  • SQLite
  • SSH
  • Storage
  • Suse
  • Terminals
  • Text Editors
  • Top Tools
  • Torrent Clients
  • Tutorial
  • Ubuntu
  • Udemy Courses
  • Uncategorized
  • VirtualBox
  • Virtualization
  • VMware
  • VPN
  • VSCode Editor
  • Web Browsers
  • Web Design
  • Web Hosting
  • Web Servers
  • Webmin
  • Windows
  • Windows Subsystem
  • WordPress
  • Zabbix
  • Zentyal
  • Zorin OS
Visits
  • 0
  • 259
  • 614,631

DesignLinux.com © All rights reserved

Go to mobile version