Tutorial how to Install and Enable XRDP on Kali Linux step by step. The XRDP project is an open-source tool that allows users to access their Linux VPS Server desktop from within the Windows operating system. In addition to supporting Windows RDP clients, this tool also supports other similar clients such as FreeRDP, Rdesktop, NeutrinoRDP. The new version of the program also supports TLS for added security. The subject of this article is How to Install and Enable XRDP on Kali Linux with best way.

Introduction to XRDP

If you have worked with Windows systems, you must know that all versions of Windows have a special feature called Remote Desktop or RDP, with which you can remotely access your desktop screen. But on systems like Unix, because most settings are text-based, users can usually connect to their remote system via SSH and do their job.

It must have happened to you that you want to have remote access to your Linux desktop screen from your Windows system in a network environment. As you know, unlike Windows, RDP does not support RDP by default. Fortunately, with a tool called XRDP, this is also possible in Linux, which we will install and configure in this article.

Install and Enable XRDP on Kali Linux

In this section, we are going to teach you how to install XRDP on Kali Linux. To do this, you must first update the system by running the following command:

sudo apt update

Then you can easily install XRDP using the following command:

sudo apt install xrdp

You also need to enable XRDP using the following command:

sudo systemctl enable xrdp

Run the following command to restart XRDP:

sudo systemctl restart xrdp

Note that if you are using UFW, you must open a port in the firewall using the following command:

sudo ufw allow 3389/tcp

If you are using a firewall to manage the firewall, enter the following command to free the TCP/3389 port:

firewall-cmd --permanent --zone=public --add-port=3389/tcp
firewall-cmd --reload

How to use XRDP on Kali Linux 

Now you can access your Linux desktop from the Windows system. To do this, you must run the Remote Desktop Connection tool on Windows.

Remote destktop connection

In this step, you must enter the IP address of the opposite system and Username and click Connect:

how to enter remote desktop connection

After establishing the connection, the following box will be displayed. You must enter your username and password and click OK.

loging to kali using xrdp

If the username and password are correct, you will see the following page where you must enter the password and log in to the Linux desktop.

how to coonect using xrdp


This article first introduced XRDP and then explained how to install XRDP on Kali Linux. activate it step by step. Finally, we taught you how to use XRDP.

Rate this post