How To Enable Desktop Sharing In Ubuntu and Linux Mint

Desktop sharing refers to technologies that enable remote access and remote collaboration on a computer desktop via a graphical terminal emulator. Desktop sharing allows two or more Internet-enabled computer users to work on the same files from different locations.

In this article, we will show you how to enable desktop sharing in Ubuntu and Linux Mint, with a few vital security features.

Enabling Desktop Sharing in Ubuntu and Linux Mint

1. In the Ubuntu Dash or Linux Mint Menu, search for “desktop sharing” as shown in the following screenshot, once you get it, launch it.

Search for Desktop Sharing in Ubuntu
Search for Desktop Sharing in Ubuntu

2. Once you launch Desktop sharing, there are three categories of desktop sharing settings: sharing, security and notification settings.

Under sharing, check the option “Allow others users to view your desktop” to enable desktop sharing. Optionally, you can also permit other users to remotely control your desktops by checking the option “Allow others users to control your desktop”.

Desktop Sharing Preferences
Desktop Sharing Preferences

3. Next in security section, you can choose to manually confirm each remote connection by checking the option “You must confirm each access to this computer”.

Again, another useful security feature is creating a certain shared password using the option “Require user to enter this password”, that remote users must know and enter each time they want to access your desktop.

4. Concerning notifications, you can keep an eye on remote connections by choosing to show the notification area icon each time there is a remote connection to your desktops by selecting “Only when someone is connected”.

Configure Desktop Sharing Set
Configure Desktop Sharing Set

When you have set all the desktop sharing options, click Close. Now you have successfully permitted desktop sharing on your Ubuntu or Linux Mint desktop.

Testing Desktop Sharing in Ubuntu Remotely

You can test to ensure that it’s working using a remote connection application. In this example, I will show you how some of the options we set above work.

5. I will connect to my Ubuntu PC using VNC (Virtual Network Computing) protocol via remmina remote connection application.

Remmina Desktop Sharing Tool
Remmina Desktop Sharing Tool

6. After clicking on Ubuntu PC item, I get the interface below to configure my connection settings.

Remmina Desktop Sharing Preferences
Remmina Desktop Sharing Preferences

7. After performing all the settings, I will click Connect. Then provide the SSH password for the username and click OK.

Enter SSH User Password
Enter SSH User Password

I have got this black screen after clicking OK because, on the remote machine, the connection has not been confirmed yet.

Black Screen Before Confirmation
Black Screen Before Confirmation

8. Now on the remote machine, I have to accept the remote access request by clicking on “Allow” as shown in the next screenshot.

Allow Remote Desktop Sharing
Allow Remote Desktop Sharing

9. After accepting the request, I have successfully connected, remotely to my Ubuntu desktop machine.

Remote Ubuntu Desktop
Remote Ubuntu Desktop

That’s it! In this article, we described how to enable desktop sharing in Ubuntu and Linux Mint. Use the comment section below to write back to us.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Aaron Kili
Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

14 Comments

Leave a Reply
  1. Nice! But how to make connection if computers are on different places (a few kilometers distance) and no public ip address. One computer at home& other on work with zoneminder server…

    Currently I use VNC server + viewer but no picture quality & other problems exist…

    Thanks

    Reply
  2. Hi,

    So many thanks

    I don’t have access to the GUI of remote machine. All I can is to connect to its terminal. How can I enable those options in Desktop Sharing Preferences from terminal commands?

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.