NoMachine remote desktop solution on Linux
Radical

© Photo by Clem Onojeghuo on Unsplash
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
Direct Download
Read full article as PDF:
Price $2.95
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Find SysAdmin Jobs
News
-
Kubuntu Focus Announces XE Gen 2 Linux Laptop
Another Kubuntu-based laptop has arrived to be your next ultra-portable powerhouse with a Linux heart.
-
MNT Seeks Financial Backing for New Seven-Inch Linux Laptop
MNT Pocket Reform is a tiny laptop that is modular, upgradable, recyclable, reusable, and ships with Debian Linux.
-
Ubuntu Flatpak Remix Adds Flatpak Support Preinstalled
If you're looking for a version of Ubuntu that includes Flatpak support out of the box, there's one clear option.
-
Gnome 44 Release Candidate Now Available
The Gnome 44 release candidate has officially arrived and adds a few changes into the mix.
-
Flathub Vying to Become the Standard Linux App Store
If the Flathub team has any say in the matter, their product will become the default tool for installing Linux apps in 2023.
-
Debian 12 to Ship with KDE Plasma 5.27
The Debian development team has shifted to the latest version of KDE for their testing branch.
-
Planet Computers Launches ARM-based Linux Desktop PCs
The firm that originally released a line of mobile keyboards has taken a different direction and has developed a new line of out-of-the-box mini Linux desktop computers.
-
Ubuntu No Longer Shipping with Flatpak
In a move that probably won’t come as a shock to many, Ubuntu and all of its official spins will no longer ship with Flatpak installed.
-
openSUSE Leap 15.5 Beta Now Available
The final version of the Leap 15 series of openSUSE is available for beta testing and offers only new software versions.
-
Linux Kernel 6.2 Released with New Hardware Support
Find out what's new in the most recent release from Linus Torvalds and the Linux kernel team.