Use xrdp to connect to ubuntu through windows remote desktop tools

This article explains how to install and configure the Xrdp server on Ubuntu, and then use the remote desktop tool that comes with windows to connect to your Ubuntu system and use it graphically.

Why not use VNC? Because when VNC is connected remotely, it takes real-time screenshots and transmits frame by frame pictures to the control terminal, which is obviously very inefficient. Even if a Gigabit router is used to bridge or even directly connect to the network cable, the delay is still very large. This is why some people feel stuck when using VNC. And RDP's support for video decoding is more friendly.

Xrdp is an open source implementation of Microsoft's Remote Desktop Protocol (RDP) that allows you to control remote systems through a graphical interface. With RDP, you can log into a remote machine and create a real desktop session just like you would log into a local machine.

The following are the complete code operation steps:

sudo apt update

sudo apt-get install xorg

sudo apt-get install xserver-xorg-core

sudo apt-get install xorgxrdp

sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils

sudo apt install xrdp sudo systemctl status xrdp sudo systemctl restart xrdp

sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n xfce-session \n' /etc/xrdp/startwm.sh

echo xfce4-session > ~/.xsession

sudo systemctl restart xrdp

Effect after  remote connection

< Call out> 

Guess you like

Origin blog.csdn.net/hnhgwfm/article/details/128482102