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.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

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.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

8 Responses

  1. Miroslav Janjus says:

    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

  2. Arindam says:

    That was something I learnt new today.

  3. Zana says:

    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?

  4. jaro says:

    Thanks Aaron. Super useful article as always.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.