12 | sudo apt updatesudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils |
---|
1 | sudo apt install xrdp |
---|
Check xrdp status after installation
1 | sudo systemctl status xrdp |
---|
1 | sudo adduser xrdp ssl-cert |
---|
1 | sudo nano /etc/xrdp/xrdp.ini |
---|
Add at the end of the edited file:
1 | exec startxfce4 |
---|
Restart xrdp
1 | sudo systemctl restart xrdp |
---|
1 | sudo ufw allow 3389 |
---|
Open port 3389. For more configuration, refer to the firewall documentation.
Using xor mode, you can enter the ubuntu desktop environment, as shown in the figure:
◎ Effect picture of remote login
This installation requires the least software installation, the least configuration, and the most stable.
Recommended Posts