Connect to a Linux device

Learn how to access a Linux computer over Meshnet from Windows, macOS, or Linux.

Depending on your purpose, you can choose among the following methods to remotely connect to your Linux computer over Meshnet:

  • GUI-based remote connection using Remote Desktop Protocol (RDP) or Virtual Network Connection (VNC). This method is described further in this article.

  • Text-based remote connection using Secure Shell (SSH). For instructions on this method, see the How to access remote systems over Meshnet using SSH article.

Before you begin

  • Ensure that your remote PC and the device you want to use to access it are linked over Meshnet.

  • Look up the Nord name or Meshnet IP address of the computer you're connecting to by entering the following command in the terminal:

    nordvpn meshnet peer list

Enable remote access on your PC

Note

For the instructions provided in this guide, Ubuntu 22.04.1 LTS is used as an example.

  1. Do one of the following:

    • Click the Activities button in the upper-left corner of the screen, start typing sharing, and then select Sharing from the results list.

    • Open the terminal and enter the gnome-control-center sharing command.

  2. Turn on the Sharing toggle in the upper-right corner of the window.

  3. Click Remote desktop.

  4. Turn on the Remote desktop toggle to allow remote connections to this computer.

  5. Select the Enable legacy VNC protocol checkbox if you want to enable VNC connections.

  6. Turn on the Remote control toggle to allow remote connections to control the desktop.

Also, under Authentication, take note of the username and password required to access this computer remotely. You can change the password generated by the app if you wish.

Install a remote desktop client

Once you have enabled remote access and have your remote desktop credentials, you can connect to your PC using a remote desktop client.

You can use Remmina to work remotely with Linux resources, apps, and desktops from another Linux device. Remmina is a free remote desktop client for Linux, available in the default repositories of many Linux distributions.

Note

The instructions below apply primarily to Ubuntu 16.04 LTS or above, but if you use a different distribution of Linux, the procedure should remain similar.

If you don't have Remmina installed on your system, install it using one of the methods described below.

Method 1: Install Remmina from the terminal

  1. Open the terminal.

  2. Update the package manager's list of available packages by running the following command:

    sudo apt update

  3. Install Remmina by entering this command:

    sudo apt install remmina remmina-plugin-vlc

Method 2: Install Remmina from Ubuntu Software

  1. Open the Ubuntu Software app.

  2. In the search bar, enter remmina and select the matching result.

    Entering Remmina in the search bar of Ubuntu Software
  3. Click Install.

Set up a remote connection

  1. Open the Remmina app by going to Show applications and searching for remmina.

  2. Click the New connection profile button in the upper-left corner of the application window.

  3. Under Basic, enter the information to create a reusable connection.

    • Server: the Nord name or Meshnet IP of the PC you want to access

    • Username: your remote PC account name that you recorded earlier

    • Password: the password for the specified username

      Filling in the Server, Username and Password boxes
  4. Click Save.

  5. Accept the certificate presented by the server to verify that you trust the computer you are trying to access.

The new connection will appear in the Remmina window. You can double-click it whenever you want to initiate a remote desktop session.

See also

Last updated

Was this helpful?

#587: Updating token login flow

Change request updated