How To Install nxagent on Rocky Linux 8

In this tutorial we learn how to install nxagent on Rocky Linux 8. nxagent is NX Agent

Introduction

In this tutorial we learn how to install nxagent on Rocky Linux 8.

What is nxagent

NX is a software suite which implements very efficient compression of the X11 protocol. This increases performance when using X applications over a network, especially a slow one. nxagent is an agent providing NX transport of X sessions. The application is based on the well-known Xnest server. nxagent, like Xnest, is an X server for its own clients, and at the same time, an X client for a system’s local X server. The main scope of nxagent is to eliminate X round-trips or transform them into asynchronous replies. nxagent works together with nxproxy. nxproxy itself does not make any effort to minimize round-trips by itself, this is demanded of nxagent. Being an X server, nxagent is able to resolve all the property/atoms related requests locally, ensuring that the most common source of round-trips are nearly reduced to zero.

We can use yum or dnf to install nxagent on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nxagent.

Install nxagent on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install nxagent using dnf by running the following command:

sudo dnf -y install nxagent

Install nxagent on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nxagent using yum by running the following command:

sudo yum -y install nxagent

How To Uninstall nxagent on Rocky Linux 8

To uninstall only the nxagent package we can use the following command:

sudo dnf remove nxagent

nxagent Package Contents on Rocky Linux 8

/etc/nxagent
/etc/nxagent/keystrokes.cfg
/usr/bin/nxagent
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/4019fc53dc4f01016e56048efb074cac3e8af2
/usr/lib64/nx
/usr/lib64/nx/X11
/usr/lib64/nx/X11/libX11.so.6
/usr/lib64/nx/X11/libX11.so.6.3.0
/usr/lib64/nx/bin
/usr/lib64/nx/bin/nxagent
/usr/share/doc/nxagent
/usr/share/doc/nxagent/README.keystrokes
/usr/share/man/man1/nxagent.1.gz
/usr/share/nx
/usr/share/nx/VERSION.nxagent
/usr/share/nx/fonts

References

Summary

In this tutorial we learn how to install nxagent on Rocky Linux 8 using yum and dnf.