Record how to install xrdp in Ubuntu 20.04 system to implement desktop RDP

888u

Last update at :2024-06-12,Edit by888u

Many of our netizens may be familiar with the RDP protocol. This is the Microsoft Remote Desktop Protocol. We can remotely connect to another computer or computer for graphical operation. What we commonly use is to connect a local computer to a Windows server. Useful for remote management. In this article, we are going to introduce how to install XRDP in a Linux system (Ubuntu) to achieve desktop RDP connection.

It is common to install the familiar GNOME on the server, and then install xrdp to achieve remote connection. Here Snail briefly records the installation process.

First, install the GNOME desktop

Of course, when configuring the server, we can use the latest version of Ubuntu 20.04 system here. Of course, we have also installed it on 18.04 before. We will not talk about the installation environment of the server anymore and install the GNOME desktop directly.

sudo tasksel install ubuntu-desktop

After the installation is complete, we restart the server.

Second, install XRDP

apt install xrdp

Then we re-login to Ubuntu SSH to connect to the server and then install xrdp. Then we also need to set the port to be open and released.

sed -i \\’s/3389/13389/g\\’ /etc/xrdp/xrdp.iniufw allow 13389

If we have a server with security group settings, we also need to release the port in the server security group port. It is useless not only to release it on the server.

Third, restart to take effect

systemctl restart xrdp

In this way, we restart XRDP to take effect. This way we can connect using remote RDP software. Here we can use the tools that come with the WIN computer or use separate client tools.

Recommended site search: ip address query, query ip address, domain name and host, cloud server vps, permanent free space, filing information, website space application, domain name space agent, Hengchuang host, agent ip purchase website,

Record how to install xrdp in Ubuntu 20.04 system to implement desktop RDP

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码