Privileged access to your Linux system as root or via the sudo command.
# - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user
Ubuntu 20.04 Remote Desktop Access from Windows 10 step by step instructions
First step is to install Remote Desktop Protocol (RDP) server xrdp on the Ubuntu 20.04 desktop. To do so execute the following command:
$ sudo apt install xrdp
Enable to start after reboot and run the remote desktop sharing server xrdp:
$ sudo ufw allow from any to any port 3389 proto tcp
Move to Windows 10 host and open the Remote Desktop Connection client. Use the search box to search for remote keyword and click on the Open button.
SUBSCRIBE TO NEWSLETTER Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.
Enter the Ubuntu's remote desktop share IP address or hostname. Optionally, allow the Windows 10 to save your credentials.
Click Yes when prompted by message: The identity of the remote computer cannot be verified.
Enter the password of the remote Ubuntu user.
You should now be remotely connected to the Ubuntu Desktop share from your Windows 10 computer.
From time to time I have received a black screen after initiating the remote connection to the Xrdp Remote Desktop Protocol (RDP) server. Although I'm not sure how to completely resolve this issue but logging out from the Ubuntu desktop prior to making a remote connection have solved it at least temporarily. If you have a better fix for this what seems to be a bug please let us know using the comments below.