How To Install nxagent on CentOS 8
Introduction
In this tutorial we learn how to install nxagent
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install nxagent.
Install nxagent on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the nxagent
package we can use the following command:
sudo dnf remove nxagent
nxagent Package Contents on CentOS 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 CentOS 8 using yum and dnf.