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
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.
Turn on the Sharing toggle in the upper-right corner of the window.
Click Remote desktop.
Turn on the Remote desktop toggle to allow remote connections to this computer.
Select the Enable legacy VNC protocol checkbox if you want to enable VNC connections.
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.
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
Open the terminal.
Update the package manager's list of available packages by running the following command:
sudo apt update
Install Remmina by entering this command:
sudo apt install remmina remmina-plugin-vlc
Method 2: Install Remmina from Ubuntu Software
Open the Ubuntu Software app.
In the search bar, enter
remmina
and select the matching result.Click Install.
Set up a remote connection
Open the Remmina app by going to Show applications and searching for remmina.
Click the New connection profile
button in the upper-left corner of the application window.
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
Click Save.
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?