Connect to a Linux device
Learn how to access a Linux computer over Meshnet from Windows, macOS, or Linux.
Last updated
Learn how to access a Linux computer over Meshnet from Windows, macOS, or Linux.
Last updated
© 2024 Nord Security. All Rights Reserved.
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.
Ensure that:
Your remote PC and the device you want to use to access it are linked over Meshnet.
Your remote PC is turned on.
Note
For the instructions provided in this guide, Ubuntu 24.04 LTS is used as an example.
Open Settings.
Navigate to System > Remote desktop.
Turn on the Desktop sharing and Remote control toggles to allow remote connections and grant them control of the desktop.
Under Login details, take note of the username and password required to access this computer.
You can change the password generated by the app if you wish.
Note
Desktop sharing settings permit remote connections only when a user account is already logged in. To access the device when no user is active, configure the Remote Login options instead.
Once you have enabled remote access and have your remote desktop credentials, you can connect to your PC using a remote desktop client.
Tip
Alternatively, you can use the built-in Remote Desktop client on Windows, which you can find by typing Remote Desktop Connection
in the search box on the taskbar.
In the NordVPN app, locate and copy the Nord name or Meshnet IP of the device you want to access.
Open the Remote Desktop app and click Add > PCs.
In the PC name field, paste the copied Nord name or Meshnet IP of the PC you want to access.
Next to User account, click the plus (+) button to add a profile.
Enter your credentials for the remote computer to save for use with this connection.
Username: your remote PC account name you recorded earlier.
Password: the password for the specified username. Example
Optionally, you can give a nickname to your connection in the Display name field. It is a way to easily identify your Remote Desktop connections.
Click Save, and then click Save again.
Under Saved PCs, double-click the connection that you added.
You may receive a warning message indicating that it might not be safe to connect to this computer. If you don't want to see this dialog in the future, select the Don't ask about this certificate again checkbox.
Click Connect anyway.
You should now be able to access and control your PC remotely.
If you prefer, you can also use other remote access software like NoMachine or AnyDesk to establish a remote connection between your devices.
For this setup, you won't need remote PC account credentials. Instead, you can use either manual approval on the remote PC or set up a dedicated unattended access password.
If you encounter issues while attempting to connect, check that:
To connect to your remote PC from Windows, first install the Microsoft Remote Desktop app, available for free from the Microsoft Store.
To connect to your remote PC from Android, first install the Remote Desktop app, available for free from Google Play.
In the NordVPN app, go to Meshnet > Manage devices, tap the three-dot menu next to the device you want to access, and copy the device's Nord name or IP address.
In the NordVPN app, go to Meshnet > Manage devices and copy the Nord name or Meshnet IP of the device you want to access.
Launch the Windows app that you installed.
For Linux-to-Linux connections, you can use Remmina , a free remote desktop client available in the default repositories of many Linux distributions.
Launch App Center.
Launch the Remmina app that you installed earlier.
Once remote access is configured on the target PC, install the NoMachine app on both your remote and local devices.
In the NordVPN app, go to Meshnet > Manage devices and copy the Nord name or Meshnet IP of the device you want to access.
Once remote access is configured on the target PC, install the AnyDesk app on both the PC and the device you're connecting from.
In the NordVPN app, go to Meshnet > Manage devices and copy the Nord name or Meshnet IP of the device you want to access.