How To Install nxagent on Fedora 34

nxagent is NX Agent

Introduction

In this tutorial we learn how to install nxagent on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install nxagent.

Install nxagent on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install nxagent

Install nxagent on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove nxagent

nxagent Package Contents on Fedora 34

/etc/nxagent
/etc/nxagent/keystrokes.cfg
/usr/bin/nxagent
/usr/lib/.build-id
/usr/lib/.build-id/85
/usr/lib/.build-id/85/bbd42c2211909d01ba1eb8e1d5432a78eb0ef0
/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 Fedora 34 using yum and dnf.