Archives For remote desktop

Want to access your Ubuntu desktop remotely from a Windows 11 computer? It’s easy to do the job with built-in screen sharing function.

Ubuntu uses Vino as default VNC server to share your existing desktop. With it, users can access Ubuntu remotely either in or out of local network via a VNC client.

Enable Vino VNC in Ubuntu:

1. Firstly, click on ‘Activities’ in top bar, search for and open terminal from system app launcher. When it opens, run commands:

Make sure Vino is installed by running command:

sudo apt install vino

To allow computer outside of local network to access, enable upnp is your router support it:

gsettings set org.gnome.Vino use-upnp true

Vino requires encryption by default. However, VNC clients from Windows computer does not support the encryption type. So you may disable the feature via command:

gsettings set org.gnome.Vino require-encryption false

There are more settings, e.g., change listening port, disable background, lock on disconnect. And you can control them via Dconf Editor (install from Ubuntu Software), by going to ‘org -> gnome -> desktop -> remote access’.

2. Secondly, open System Settings and go to Sharing in the left pane. Toggle on the slider icon on header, and then click ‘Screen Sharing’ to go to its settings page.

3. Finally, turn on ‘Screen Sharing’ function, and do:

  • Allow remote control by enabling “Allow connections to control the screen”
  • Set ‘New connections must ask for access’ if you’re sitting at Ubuntu computer.
  • Or set a hard-to-guess password for choice.
  • If you have both wired / wireless network connected, choose one to share with.

Remove Access Ubuntu from Windows 11:

Windows uses need a VNC client to get access remote computers. And I use TigerVNC which is available to download at the link below:

Download & install the exe. Launch the client, and type either IP address or hostname of Ubuntu machine:

If password was not set in Ubuntu, it will pop up a window asking whether to allow access. Or, type password in next dialog to get access.

That’s all. Enjoy!

Remote Access Ubuntu 16.04

This quick tutorial shows how to enable remote desktop service in Ubuntu 20.04, so that you can access to Ubuntu desktop remotely via VNC viewer.

1.) Open System Settings utility, navigate to Sharing in the left pane, toggle on Sharing in the top-right, and finally click on “Screen Sharing”.

2.) In the pop-up dialog, turn on “Screen Sharing” and select:

  • Enable remote control by tick “Allow connections to control screen”.
  • Setup a password or select ask for access on each connection.

3.) As a workaround of TightVNC connection error: “No security types supported. Server sent security types, but we do not support any of them“.

NOTE: Instead of running following commands, you may use Dconf Editor and navigate to org/gnome/desktop/remote-access.

Run command in terminal (press Ctrl+Alt+T to open terminal):

gsettings set org.gnome.Vino require-encryption false

You may also run command to allow people not in local network to access using UPnP (if your router supports it):

gsettings set org.gnome.Vino use-upnp true

Finally, connect to this Ubuntu desktop remotely using either Computer name (as picture in step 1.) shows) or IP address via a VNC viewer / client and enjoy!