Install and use NoMachine remote desktop on CentOS 8

Install and use NoMachine remote desktop on CentOS 8

NoMachine is a free and open source remote desktop software for remote access, desktop sharing, virtual desktop and file transfer between computers. It uses the NX protocol to provide local speed with low bandwidth. It can be installed on many operating systems, including Linux, Windows, Mac OS X and Android. If you are looking for a remote desktop solution, then NoMachine is your best choice.

In this tutorial, we will show you how to install and use NoMachine on CentOS 8.

prerequisites

  • A desktop system running CentOS 8.
  • The root password is configured for the server.

Install NoMachine

By default, NoMachine is not included in the CentOS default repository. Therefore, you need to download it from their official website.

You can download it with the following command:

wget https://download.nomachine.com/download/7.1/Linux/nomachine_7.1.3_1_x86_64.rpm

After the download is complete, use the following command to install the downloaded file:

dnf install nomachine_7.1.3_1_x86_64.rpm

After the installation is complete, you will get the following output:

  PulseAudio Backend

  The NoMachine  setup procedure  could not  detect  your  PulseAudio
  installation:  either  PulseAudio is not  installed  on your system
  or it was  installed  in a non-standard path.  If PulseAudio is not
  available, NoMachine audio support will try to rely on ALSA device.
  Please note  that you can enable  PulseAudio  support  at any time;
  to do this  make sure that you have PulseAudio installed, then run:

    /usr/NX/scripts/setup/nxnode --audiosetup 

  to specify the location of the PulseAudio configuration files.
NX> 700 Installing: nxserver version: 7.1.3.
NX> 700 Using installation profile: Red Hat.
NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
NX> 700 Creating configuration in: /usr/NX/etc/server.cfg.
NX> 700 Server install completed with warnings.
NX> 700 Please review the install log for details.
NX> 700 Install completed at: Tue Feb 16 05:43:49 2021.
NX> 700 NoMachine was configured to run the following services:
NX> 700 NX service on port: 4000

  Verifying        : nomachine-7.1.3-1.x86_64                                                                                              1/1 

Installed:
  nomachine-7.1.3-1.x86_64                                                                                                                     

Complete!

Configure firewall

Next, you need to allow TCP port 4000 and UDP ports 4011-4999 through firewalld. You can allow them with the following command:

firewall-cmd --add-port=4000/tcp --permanentfirewall-cmd --add-port=4011-4999/udp --permanent

Next, reload firewalld to apply the changes.

firewall-cmd --reload

Use NoMachine

After installing NoMachine, you can launch it from the search bar as shown below:

Click on No machine Start the application as follows:

NoMachine customers

Click on Ok Button. You should see the following screen:

establish connection

Now, click Add to Button to create a new connection. You should see the following screen:

Remote address

Provide your remote NoMachine hostname, IP address, port, protocol, and click connection Button. You will be asked to provide the username and password of the remote computer as shown below:

Enter username and password

Provide username, password, and click log in Button. After connecting, you will see the following screen:

Hotkey

Change the screen settings and click Ok Button. You should see the following screen:

Extend remote desktop

Select the display resolution and click Ok Button. After connecting, you will see the following screen:

Establish a remote desktop connection

in conclusion

In the above guide, you learned how to install and use NoMachine remote desktop software on CentOS 8. Now you can easily manage multiple remote systems easily. If you have any questions, please feel free to ask me.

Sidebar