Install XRDP on Linux Ubuntu system to realize remote visual desktop connection

888u

Last update at :2024-07-08,Edit by888u

Snail has shared many ways to install VNC in Linux systems to achieve a visual desktop in his blog, because some friends need to install visual software when doing order processing or remote clients. I have also received feedback from many netizens before, mentioning that the previous articles may be somewhat invalid. After all, there may be some system compatibility issues and the timeliness of the content. So the snail will be rearranged later.

In this article, we share the use of Linux Ubuntu system to install XRDP, which can also implement a method similar to VNC remote desktop. In comparison, the resolution and efficiency of the XRDP method will be higher, but the specifics still depend on the actual user. . I am just implementing a simple process here, and the specific project depends on our users.

First, install the system and environment

The Ubuntu 16.04 LTS system is used here, and the new VPS is used directly, so that if something goes wrong, other data files in the server will not be affected. When operating this tutorial, Snail referred to many articles, but many of them were incomplete and could not be implemented. In the end, many tutorials were integrated to achieve it.

Second, update the system source

apt-get update -y

Third, install xrdp, tightvncserver

apt-get install tightvncserver xrdp

Fourth, install xubuntu-desktop

apt-get install xubuntu-desktop

This process is slower because more software needs to be installed. When you encounter the prompt in the picture above, just press Enter to default.

echo xfce4-session >~/.xsession

Modify the configuration file.

Fifth, install and execute gedit

apt-get install gedit -y

gedit /etc/xrdp/startwm.sh

Sixth, modify the configuration file

vi /etc/X11/Xsession

Add code at the top of the file:

xfce4-session

Finally we restart xrdp to take effect.

service xrdp restart

Seventh, remote connection

Here Snail uses the powerful MobaXterm (MobaXterm - a super powerful remote terminal client tool) tool to connect to XRDP.

The username and password here are the ROOT account of the server.

In this way, you can see the visual desktop.

Recommended site search: free com domain name application, app server rental, in domain name, US server, distribution host, Zhengzhou virtual host, expired domain name query, IP reverse check, org domain name, registration-free CDN acceleration,

Install XRDP on Linux Ubuntu system to realize remote visual desktop connection

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