Get 50% Discount Offer 7 Days


Contact Info

Chicago 12, Melborne City, USA

+88 01682648101

[email protected]

Recommended Services
Supported Scripts
How to Install and Enable XRDP on Kali Linux

Let’s examine how to Install and Enable XRDP on Kali Linux with some simple steps. 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, and NeutrinoRDP. The new version of the program also supports TLS for added security. First, we will give a short definition of XRDP. Keep studying.

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 - Install and Enable XRDP on Kali Linux

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 - Install and Enable XRDP on Kali Linux

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 - Install and Enable XRDP on Kali Linux


As you can see, in this article, we examined how to install XRDP and presented a clear picture of this practical tool and how to work with it. You can use this tool for remote connection purposes. So consider this article as a useful resource for your learning. If you have any questions, please share them in a comment. Thank you for your cooperation.

Rate this post
Share this Post

Leave a Reply

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