Simple Steps To Install XRDP on Ubuntu

Simple Steps To Install XRDP on Ubuntu

Description


XRDP is a remote desktop service for the Linux X servers, That allows us to connect remote Linux desktop systems over Microsoft RDP (​Remote Desktop Protocol).

The XRDP also supports tw o-way clipboard transfer (text, bitmap, file), audio redirection, and drive redirection (mount local client drives on the remote machines).

The XRDP is an easy-to-install and configurable service for Ubuntu systems.

But you can also use a VNC server to access the remote desktop of the Ubuntu systems. Find a tutorial to install a VNC server on Ubuntu systems.

So in This tutorial will provide you with the instructions to install the XRDP service on Ubuntu 22.04 Desktop systems.

Prerequsities

Assuming you have a running Ubuntu system with a desktop installed So Now login to the system and open a terminal:

Step 1 – Installing The XRDP on Ubuntu 

This XRDP packages are already available under the default Apt repositories on Ubuntu systems.

Now Use the following commands to install The XRDP on Ubuntu system:

After installation completed, The XRDP service will be started automatically.

Next You can check the status by executing the following command:

The above output shows the Xrdp service is up and running.

Step 2 – Configuring XRDP 

The installer will create a new account named “xrdp”.

The xrdp session uses a certificate key file “/etc/ssl/private/ssl-cert-snakeoil.key”, which plays an important role with remote desktop.

In order to work it properly, add the xrdp user to the “ssl-cert” group with the following command.

Step 3 –  Configure System Firewall
The XRDP service listens on standard remote desktop port 3389, now You need to adjust the Firewall to allow access to port 3389 for the remote systems.

Systems running with a UFW firewall, use the following command to open port 3389 for the LAN network.

Reload the UFW to apply the new rules.

Your system is ready to access over RDP protocol.

Step 4 – Connect to Remote Desktop

The Xrdp service is successfully installed and ready to connect, go On your Windows client, open the RDP client and enter the IP address of the Ubuntu system.

On the Windows system launch the RDP client:

/////Image here/////

So Once connected successfully, the remote system prompt for authentication.

Now you can Enter your login credentials of the remote Ubuntu system to get remote desktop access.

On successful authentication, you’ll get access to Ubuntu remote desktop.

Now, you can manage your remote Ubuntu system graphically.

Limitations

Switch between standard and Custom install

This version of the script can be run multiple times on the same machine. 

However, because of this new behavior, you cannot perform a standard installation and then decide to perform the custom installation, Once you have selected your installation mode, you will have to stick to it, This is kind of checked by the script.
So, if you have performed a standard installation but afterwards you might want to use the custom installation option, the script will ignore the request.

But If you want to move from standard install mode to custom mode (or vice versa), the correct process isbremove xrdp

perform a new installation using your selected installation mode (standard or custom install mode)

Conclusion:

This tutorial helped you to install and configure XRDP on Ubuntu 20.04 desktop system.

Now, you can manage your Ubuntu desktop system remotely.

Next Post Previous Post
No Comment
Add Comment
comment url