https://linuxconfig.org/ubuntu-20-04-remote-desktop-access-from-windows-10

11 May 2020

In this tutorial we will be sharing an Ubuntu 20.04 desktop with a Windows 10 client.

In this tutorial you will learn:

https://prod-files-secure.s3.us-west-2.amazonaws.com/ba4bc82a-1efa-4158-9734-9cbd8670c38a/4ac7ec88-91f0-49e0-94da-b4a24b13adc2/06-ubuntu-20-04-remote-desktop-access-from-windows-10.png

Ubuntu 20.04 Remote Desktop Access from Windows 10 step by step instructions

  1. 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
    
    
  2. Enable to start after reboot and run the remote desktop sharing server xrdp:

    $ sudo systemctl enable --now xrdp
    
    
  3. Still on the Ubuntu 20.04 desktop, open a firewall port 3389 for an incoming traffic:

    $ 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.](<https://prod-files-secure.s3.us-west-2.amazonaws.com/ba4bc82a-1efa-4158-9734-9cbd8670c38a/31e3f2e3-f385-4563-8155-1b2f46a324a7/Untitled.png>)

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.
![Enter the Ubuntu's remote desktop share IP address or hostname. Optionally, allow the Windows 10 to save your credentials.](<https://prod-files-secure.s3.us-west-2.amazonaws.com/ba4bc82a-1efa-4158-9734-9cbd8670c38a/165e442f-0296-42b4-b4f4-9c0f50dd79f4/Untitled.png>)

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.`](<https://prod-files-secure.s3.us-west-2.amazonaws.com/ba4bc82a-1efa-4158-9734-9cbd8670c38a/e1445b87-9c3e-4868-b7a8-74614697f424/Untitled.png>)

Click `Yes` when prompted by message: `The identity of the remote computer cannot be verified.`
![Enter the password of the remote Ubuntu user.](<https://prod-files-secure.s3.us-west-2.amazonaws.com/ba4bc82a-1efa-4158-9734-9cbd8670c38a/02ff8d5e-5af6-4272-9aba-b1bb201a30ea/Untitled.png>)

Enter the password of the remote Ubuntu user.
![You should now be remotely connected to the Ubuntu Desktop share from your Windows 10 computer.](<https://prod-files-secure.s3.us-west-2.amazonaws.com/ba4bc82a-1efa-4158-9734-9cbd8670c38a/5b9a6bf0-7661-4c49-aa34-6ec2795586fc/Untitled.png>)

You should now be remotely connected to the Ubuntu Desktop share from your Windows 10 computer.

Troubleshooting

Xrdp BlackScreen

https://prod-files-secure.s3.us-west-2.amazonaws.com/ba4bc82a-1efa-4158-9734-9cbd8670c38a/0352a75e-d3a8-4e45-b93b-698ba6b47bf4/Untitled.png