Setting up an RDP connection to a Linux-based VM

Xrdp is an open-source version of Microsoft's Remote Desktop Protocol (RDP) that allows you to access a remote computer graphically. It works as a remote access solution by linking graphics from an X Windows system to the RDP client and retransmitting the controls from the RDP client back to X Windows.

Using RDP, you can remotely log in and set up a desktop session just as you would on your local computer. Linux, Windows, macOS, and Android - all of these operating systems support RDP.

In this tutorial, we will explain how to install Xrdp Server, based on the example of Debian 11, and how to connect using standard Windows tools to a VM with an XRDP server.

Debian 11 is not included in our templates, but it is easy to install it by uploading the installation image to your personal VCD directory. We have described it here.

During the installation of Debian 11, you will be offered the option to install a graphical interface:

We recommend choosing Xfce because it is a light and fast desktop environment, making it "ideal" for use on a remote server.

Next, once you have access to your VM using the web console from the VCD, you need to install XRDP, you can do this with the following command in the terminal:

sudo apt install xrdp -y

It usually takes less than a minute to install, once it is done check the status of the service installed:

sudo systemctl status xrdp

You should get an output like this:

As you can see, the service is up and running, which means that we can connect to the VMs remotely.

To organize remote access in the cloud we just need to forward the RDP port (3389) to the VM. In this article we described how to do it.

 

Now you can connect to Debian 11 the same way you connect to windows, via RDP:

Press Win+R and in the dialog window type mstsc.exe and click OK.

Enter your external IP address in the appeared window (if you are wondering how to find out your IP – watch this video)

Click Connect and in the opened window, enter the username/password of the user you would like to log in with:

Click OK. Ready, you are connected to your VM using XRDP.

 

Have you tried Virtual cloud servers by Cloud4Y? Not yet? 

Leave a request and get a 10-day free trial.  

 

Смотреть подробности   

 

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Internet Speed Problem Analysis

From time to time users face problems when the download speed from or to an Internet resource is...

How to Open ticket to Cloud4Y for technical support

You can contact Cloud4Y technical support via ticket system, e-mail support_line09@cloud4y.ru or...

Basic Performance Questionnaire when applying to a ticketing system

Basic questions on performance issiues. In case you notice any problems when working with...

Advanced Questionnaire on performance when applying to a ticket system

Extended questions on performance problems. If you notice any problems while working in the...

Cloud4Y RDP Connect to Terminal Mini-HowTo

Как подключится к рабочему терминальному серверу Компании Для работы в корпоративных системах...