Linux XRDP Server

XRDP: Remote Desktop Access on Linux

XRDP is a popular open-source solution that provides remote desktop access to Linux systems from Windows and Linux devices. This guide covers Linux XRDP functionality, key features and installation across different Linux distributions.

RDP · Port 3389
rdp-servers.com
systemctl status XRDP
Overview

What Is XRDP?

XRDP is an open-source remote desktop server software that enables Linux systems to support RDP (Remote Desktop Protocol) connections. After installing and running Linux XRDP, users can remotely access the Linux graphical desktop from Windows using the built-in Remote Desktop client, or from macOS and Linux using RDP clients such as Remmina and FreeRDP. This provides a remote desktop experience similar to operating the computer locally. In simple terms, Linux XRDP is the server-side software that provides RDP remote desktop access to Linux systems.

Windows
macOS
Linux
Linux XRDP ServerRemote Desktop Protocol
Port 3389
Features

Key Features of Linux XRDP

Why XRDP is a simple and flexible choice for Linux remote access.

Open Source and Free

XRDP is open-source remote desktop software that can be installed and used for free, providing XRDP remote desktop access for Linux users.

RDP Protocol Support

XRDP is based on RDP and is compatible with the built-in Remote Desktop client on Windows, so no additional Windows client software is required.

Cross-Platform Connectivity

Windows, macOS, and Linux systems can use RDP clients to connect to a Linux XRDP server, enabling remote desktop access across different platforms.

Graphical Remote Desktop

Unlike SSH, which provides command-line access, XRDP allows users to remotely access a Linux GUI desktop, making it suitable for tasks that require a graphical interface.

Simple Installation

Common Linux distributions such as XRDP Ubuntu, Debian XRDP, and Rocky Linux support XRDP, allowing to quickly complete the install XRDP process according to system environment.

Multiple Desktop Environments

XRDP works with Linux desktop environments such as XFCE, MATE, and GNOME, allowing users to choose a suitable desktop environment based on their server configuration.

Installation

XRDP Installation Guide for Linux

XRDP supports multiple Linux distributions, including Ubuntu, Debian, Fedora, and CentOS.

Install XRDP on Ubuntu 20.04 LTS

Before you begin, make sure you have sudo access to the Ubuntu server and that a graphical desktop environment is installed.

  1. 1

    1. Update the Package List

    Update the package index before installing XRDP:

    sudo apt update
  2. 2

    2. Install XRDP

    Run the following command to install XRDP:

    sudo apt install XRDP -y
  3. 3

    3. Start the XRDP Service

    Start the XRDP service after installation:

    sudo systemctl start XRDP
  4. 4

    4. Enable XRDP at Boot

    Configure XRDP to start automatically when the server boots:

    sudo systemctl enable XRDP
  5. 5

    5. Check the XRDP Service

    Verify that the service is running correctly:

    sudo systemctl status XRDP

If the status shows active (running), XRDP has been installed successfully and is ready to accept RDP connections.

Installing XRDP on Debian, Fedora, and CentOS

In addition to XRDP Ubuntu, XRDP can also be installed on other Linux distributions, including Debian, Fedora, and CentOS. The installation commands vary depending on the distribution and its package manager.

D

Debian XRDP

On Debian, use apt to install and manage XRDP:

sudo apt update
sudo apt install XRDP -y
sudo systemctl enable --now XRDP
sudo systemctl status XRDP

If UFW is enabled, allow RDP traffic on port 3389:

sudo ufw allow 3389/tcp
F

Fedora XRDP

On Fedora, use dnf:

sudo dnf update -y
sudo dnf install XRDP -y
sudo systemctl enable --now XRDP
sudo systemctl status XRDP

If firewalld is enabled, allow TCP port 3389:

sudo firewall-cmd --permanent --add-port=3389/tcp
sudo firewall-cmd --reload
C

CentOS XRDP

For CentOS 7, use yum:

sudo yum update -y
sudo yum install XRDP -y
sudo systemctl enable XRDP
sudo systemctl start XRDP
sudo systemctl status XRDP

Allow RDP traffic through firewalld:

sudo firewall-cmd --permanent --add-port=3389/tcp
sudo firewall-cmd --reload

For CentOS Stream and newer RHEL-based systems, dnf is generally used:

sudo dnf update -y
sudo dnf install XRDP -y
sudo systemctl enable --now XRDP
sudo systemctl status XRDP

Then allow TCP port 3389:

sudo firewall-cmd --permanent --add-port=3389/tcp
sudo firewall-cmd --reload
Note: XRDP package availability can vary by distribution version and enabled repositories. If apt, dnf, or yum cannot find the XRDP package, check the distribution's available repositories before proceeding.
Get Started

Get Your Linux Server Today

Looking for a reliable and affordable Linux Server? Choose a flexible configuration that fits your workload and request a free trial to test performance before you commit.