NoMachine remote desktop solution on Linux
Radical
Need remote access to a PC? NoMachine offers this and much more.
Today, two or more PCs are often used in private households, in addition to tablets and smartphones. Often, one of the desktop computers is used as a server that the other systems access – for example, to transfer data, but above all to stream multimedia content. Remote desktop programs let you work on a remote computer without the systems exchanging large amounts of data.
Software for remote access to computers on the intranet also simplifies the maintenance of the other computers from your own workstation. In enterprises, remote desktop software performs the same task, but also allows access to servers via thin clients, for example. If such lightweight PCs are used instead of conventional desktop computers, this saves on costs.
Linux offers many options to take advantage of remote desktop applications. In pure Linux environments, programs based on Virtual Network Computing (VNC) are often used, such as TightVNC [1] or the KDE duo Krdc/Krfb. However, you are much more independent with NoMachine [2], cross-platform remote desktop software that offers some additional highlights.
VNC [3] and its derivatives are based on the Remote Framebuffer Protocol, which in older versions causes a fairly substantial flow of data along with some technical disadvantages, such as rudimentary scaling of the screen resolution in real time. In contrast, NoMachine uses the NX protocol, which minimizes data overhead and is therefore suitable for use over low-bandwidth networks.
The NX protocol compresses data and caches previously transferred files, so the volume drops considerably during the transfer. No additional software is required on other platforms, so the software always works with similar transfer speeds in heterogeneous environments. Additionally, NX uses an SSH tunnel to transmit the data in the professional versions.
Installation
NoMachine is available free of charge in several versions as DEB and RPM packages on NoMachine's website [4]. A tarball archive also exists for each hardware architecture, which you can install independent of the existing package manager and distribution.
After downloading the 45MB package, install it using the appropriate package management tools. In most cases, the routine integrates the application into the existing menu structure. The setup also ensures that the program is automatically activated at system startup, so you will find the red NoMachine icon in your desktop system tray when you restart your computer. However, for some distributions with the MATE desktop, automatic integration into the menus does not work, so you have to add the corresponding starters manually.
The freely accessible software version is available as a client-server application under a proprietary license, and the essential components of the NX protocol and the associated libraries are licensed under the GPL. For professional users, NoMachine offers a commercial licensing model that includes various support options and additional features: Although the free version does not support the SSH protocol and only one connection to a remote system is established at a time, these restrictions are removed in the paid Enterprise versions.
First Use
After installing on all computers involved, you can launch the software by clicking on the corresponding launcher. In the first dialog, the wizard shows some options that allow you to connect to remote computers.
After clicking Continue, you reach an area where the software browses the local network for computers on which the program is also running. It then displays these computers along with their IP addresses or hostnames. Make sure you launch the software on the participating systems before the first connection is established (Figure 1).
First, change the application's user interface to your desired language. To do this, on the administration machine used to display the remote desktops, click the Settings button and choose the Appearance tab of the new dialog. Next, select the desired language option in the Text drop-down box.
Further optional settings can be found in the Transfers, Folders, and Privacy tabs. In Transfers, decide whether it should be possible to exchange files between the participating machines and, if so, up to what maximum size. In the Folders tab, you can define where the program stores the transferred data, among other things. In the Privacy tab, you can set different options for deleting logfiles. By default, the program automatically removes all logs at the end of a session.
You can set some basic settings for the appropriate service by clicking on the Connection preferences button at bottom left: Here you can configure, among other things, whether it loads automatically every time the PC is started and whether the system is visible on the intranet. You can also change the port if necessary; by default, the tool listens on port 4000. If you change this value on the server, you will also need to enter the new port number on all systems that you control remotely from here; otherwise, no contact will be established.
When the configuration is complete, click Done and relaunch the computer system to apply the modified options.
Remote Control
After relaunching, select the desired remote system from the displayed list in the corresponding dialog and establish the connection by clicking on the Connect button. The program will now guide you through a multilevel dialog box with instructions on how to use the software, in the course of which you can authenticate against the remote system.
Unlike similar programs such as AnyDesk and TeamViewer, NoMachine does not use separate accounts for this purpose, but uses a user account and the associated password on the remote computer. Therefore, when you log on to the remote system with root credentials, you have administrative privileges.
When using the program for the first time, it is strongly recommended that you read the notes on the meaning of the symbols that appear in the individual dialogs, because they provide important information for controlling the screen and scaling (Figure 2).
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.
-
DebConf24 to be Held in South Korea
Busan will be the location of the latest DebConf running July 28 through August 4