Sunday, May 8, 2022

How to share desktop on Ubuntu

 


Ubuntu 20.04 Remote Desktop 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
    
  1. 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.

    Move to Windows 10 host and open the Remote Desktop Connection client.

    Move to Windows 10 host and open the Remote Desktop Connection client.


  2. Enter the Ubuntu’s remote desktop share IP address or hostname. Optionally, allow the Windows 10 to save your credentials.

    Enter the Ubuntu's remote desktop share IP address or hostname

    Entering the Ubuntu’s remote desktop IP or hostname
  3. Click Yes when prompted by message: The identity of the remote computer cannot be verified.

    The identity of the remote computer cannot be verified

    You can click Yes on this prompt.
  4. Enter the password of the remote Ubuntu user.

    Enter the password of the remote Ubuntu user.

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


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

    Successfully connected.