Enable Screen Sharing in Ubuntu

by RamWise
Published: Last Updated on 2.3k views

Screen Sharing is a feature that comes with Ubuntu Desktop distribution. Ubuntu screen sharing uses the vino VNC serverYou have to enable it in the Settings to remotely access it using a VNC client like UltraVNC, TightVNC.

Here is how to enable Screen Sharing in Ubuntu if you don’t see it.

1. To enable Screen Sharing go to Settings->Sharing. You’ll see Screen Sharing option; Turn it On

(Set a password if needed)

If you don’t see the Screen Sharing option like below, go to step 2. Otherwise skip to step 3.

2. You are probably missing Ubuntu’s default vino VNC server. So, install vino server using the command “sudo apt-get install vino“, then do step 1 again.

Post 8 Ubuntu Screen Share command 1

3. Allow the default VNC port 5900 through the firewall.

sudo ufw allo 5900 

4. If you attempt to connect now using a VNC client, it might show “No supported authentication methods”.

Post 8 Ubuntu VNC Error

To fix this disable “require encryption” for Vino, using Dconf Editor or the below command

gsettings set org.gnome.Vino require-encryption false 

5. You can connect now using any VNC client, like UltraVNC like here below.

2 comments

Steve January 20, 2021 - 5:57 pm

Thank you! Having tried a lot of other suggestions, this one finally worked.

Reply
ramwise January 20, 2021 - 10:11 pm

You are welcome. Thank you for taking the time to comment.

Reply

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More