Introduction to Debian RDP Server[How to Install XRDP Server]

install xrdp debian

8 Comments

4 mins Read

install xrdp debian

Debian is one of the most popular Linux distros that has been used by a lot of Linux users. And some of the other popular distros like Ubuntu and Fedora are its subsidiaries. If you wish to use RDP on a Debian Linux Server, using an XRDP service can be your solution. This article introduces this service and its related terms and concepts.

What is a Debian RDP Server?

As you may already know, one of the most significant problems for Linux users is working with Remote Desktop (RDP) Services. Since Linux servers don’t have a pre-installed DE (Desktop Environment), an implementation of Microsoft RDP is used for providing a fully RDP-compatible experience. Therefore, a Debian RDP server is working with an open-source Remote Desktop Protocol server named XRDP.

Also Read: Connect to Linux Server with xRDP

XRDP provides a graphical login to a remote machine via Microsoft Remote Desktop Protocol (RDP). It can also support two-way clipboard transfers (such as files, text, and bitmap), audio redirection, and drive redirection. But in order to know the Debian RDP Server well, let’s talk about the RDP, Debian, and XRDP in more detail.

Need a Remote Desktop? Need a Remote Desktop?

Reliable, high-performance RDP servers with 99.95 uptime. Take your desktop on the go to all the major cities in the US, Europe, and Asia.

Get an RDP Server

What is the RDP Protocol?

The Microsoft RDP Protocol provides remote display and allows users to control their remote desktops as if they were working on it locally. The basic function of RDP is transmitting an output device from the remote server to the client, and the input device (keyboard/mouse) from the client to the remote server. This connection is extremely asymmetric, and by default is encrypted via RSA’s RC4 block.

If you wish to connect to a Debian or Ubuntu machine from a Windows desktop, you need to utilize an RDP connection. This connection will be established via XRDP. This connection doesn’t need any configuration but you will be asked to use your Linux credentials for connecting.

READ
Debian vs Ubuntu: What’s the Right Linux Distro for You?

What is Debian Linux?

Debian is open-source and free software that was first introduced by Ian Murdock. This software is a Linux distribution developed by the community-supported Debian Project. This is a Unix-like operating system based on the Linux kernel that numerous packages run on it. Debian GNU/Linux is:

  • Dynamic: As Debian is an open-source distribution, over a thousand volunteers work on it, constantly. They contribute new and improved code for evolving Debian, rapidly.
  • Redistributable and Free to Use: For the development of Debian, no fee or payment for consortium membership is needed. Also, all formal packages of Debian GNU/Linux are free to distribute, and Debian FTP archives carry approximately 930 software packages that are distributable under specific terms.
  • Full-featured: At present, Debian includes more than 58000 software packages. You can select which packages to install by a list, descriptions, and tools provided by Debian. These packages include precompiled software that also comes with a package manager (APT) and other utilities for easy installation.

As we mentioned before, Debian/Linux servers don’t have a pre-installed Desktop Environment. So, you have to install a DE in your Debian repositories. One of these DEs is XRDP.

Linux Hosting Simplified Linux Hosting Simplified

Want a better way to host your websites and web apps? Developing something new? Simply don’t like Windows? That’s why we have Linux VPS.

Get your Linux VPS

What is the XRDP Server?

XRDP is one of Remote Desktop Server’s implementations that enables Debian and other operating systems such as ubuntu Xrdp other than Windows to connect to another desktop, remotely. This is an open-source and UNIX-like package that works by bridging graphics from X Windows System to the client and vice versa. For connecting to Debian, XRDP requires the XORG module, which allows the X server to act like X11rdp.

In order to have a good experience with Debian RDP Server, you need XRDP and XORGXRDP. Because XRDP depends on XORGXRDP, installing XRDP is enough. This implementation primarily targets GNU/Linux and is tested on PowerPC, SPARC, X86, and X86_64.

READ
Citrix VS RDP: Which One is a Better Remote Desktop Technology ?

How to install XRDP Server on Debian?[Debian RDP server setup]

In order to install the XRDP package, run the following command:

$ sudo apt install xrdp

Once the installation of this Debian repository completes, the XRDP service will start automatically.

You can verify that the service is running by entering:

$ sudo systemctl status xrdp

This code will show an output like the below:

Output
Xrdp.service – xrdp daemon
Loaded: loaded (/lib/system/xrdp.service; vendor present: enabled)
Active: active (running) since Fri 2020-10-30 08:09:10 UTC; 4s ago
. . .

In this stage, you have to add the XRDP user to the group “ssl-cert” group:

$ sodu adduser xrdp ssl-cert

Restart the XRDP service for changes to take effect:

$ sodu systemctl restart xrdp

✅ Now, XRDP is successfully installed on your Debian System and is ready to use.

Debian RDP Setup Video[Install XRDP for remote desktop server]

Conclusion

This article covered the RDP Debian Server. We explained how to install XRDP on a Debian system. Now, you can connect to your remote desktop and manage it through a graphic interface from Windows, Linux, or macOS.

READ
What is Virtualizor? [VPS Control Panel]

FAQ

How can I access RDP in Debian?

In the Windows Search bar, type “remote”. Then, click on “Remote Desktop Connection”. RDP client will be opened.

Can you RDP from Linux (Debian or other distributions) to Windows?

Yes. In order to connect from Linux OS to Windows computers and servers, you need to use an RDP client. this client can be FreeRDP, Remmina, Vinagre, TingerVNC, TeamViewer, RealVNC, NoMachine, KRDC, X2Go, or rdesktop.

What port does XRDP use?

On all interfaces, XRDP listens on port 3839/TCP by default. So make sure your firewall accepts connection to 3839/TCP from your location.

Is XRDP encrypted?

Yes. It supports all three encryption levels by using xrdp.ini file.

Note: You can download the PDF version of this article by clicking on the button:

Download

 

An SEO-Specialist who loves digital marketing and has a background in creating content. Matt loves teamwork and enjoys working with professional people. He always tries to bring more things to the team.

Comments

8 thoughts on “Introduction to Debian RDP Server[How to Install XRDP Server]”

    1. To check what port your RDP is currently listening on, use the netstat command in an elevated command prompt. This will show information about current network connections and listening ports, as well as associated executables and processes. You’ll see port 3389 bound to ìsvchost.exeî on ìTermService

  1. I had some issues with installing my XRDP . which port is suitable to make remote connection to other computer?
    is it port 3389?

  2. I tried to do all the steps one by one, but I’ve heard that I need to make a little changes on XRDP config .do you know Where it is?

    1. The Xrdp configuration files are located in the /etc/xrdp directory. For basic Xrdp connections, you do not need to make any changes to the configuration files. Xrdp uses the default X Window desktop, which in this case, is XFCE. The main configuration file is named xrdp

    1. In general, Remote Desktop Protocol is known to be more functional and faster than VNC. However, both RDP and VNC can be the best option for different users with different purposes in mind

Leave a Comment

Your email address will not be published. Required fields are marked *


Latest Posts