Remote desktop sharing on Ubuntu 20.04 Focal Fossa

The following tutorial will explain how to setup client/server remote desktop sharing on Ubuntu 20.04 Focal Fossa.

In this tutorial you will learn:

  • How to enable desktop screen sharing
  • How to how to install remote desktop client
  • How to configure your firewall to allow desktop sharing access
  • How to connect to a remote desktop

Remote desktop sharing on Ubuntu 20.04 Focal Fossa

Remote desktop sharing on Ubuntu 20.04 Focal Fossa

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Installed or upgraded Ubuntu 20.04 Focal Fossa
Software GNOME desktop, remmina
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # – 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

Remote desktop sharing on Ubuntu 20.04 step by step instructions

  1. navigate to settings

    Navigate to Settings and click on the Sharing menu



  2. From here click on the Screen Sharing.

    From here click on the Screen Sharing. Turn on the Network switch of the network interface you wish to share your screen on. This will effectively enable the screen sharing of your Ubuntu 20.04 Desktop

  3. Create a new firewall rules to allow port 5900 for an incoming connections:
    $ sudo ufw allow from any to any port 5900 proto tcp
    Rule added
    Rule added (v6)
    
  4. Head over to your client desktop from which you wish to access the remove desktop you enabled in the previous steps. Install remote desktop client remmina:
    $ sudo apt install remmina
    
  5. Start the Remmina client. Create a new connection

    Start the Remmina client. Create a new connection, insert any arbitrary name for your remote desktop connection. Select the VNC protocol, insert Server information such as the Remote Desktop’s IP address or hostname and set Quality or Color depth and hit Save button.



  6. Connect to the remote desktop share.

    Connect to the remote desktop share.

  7. accept remote desktop connection

    Once you make an attempt to connect to your remote desktop the pop-up message will appear to Accept the connection.

  8. All done. You should now be able to access the remote desktop clien

    All done. You should now be able to access the remote desktop client.