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
Remote desktop sharing on Ubuntu 20.04 step by step instructions
Navigate to Settings and click on the Sharing menu
SUBSCRIBE TO NEWSLETTER Subscribe to our NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.
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
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 (v6)
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
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.
Connect to the remote desktop share.
Once you make an attempt to connect to your remote desktop the pop-up message will appear to Accept the connection.
All done. You should now be able to access the remote desktop client.