3.2 Updating the NX Server Installation
It is highly recommended you disable access to new NX sessions and terminate all running sessions before
proceeding with the upgrade of the server.
To disable access to new NX sessions, open an xterm or similar and run the following command. Please note
that this will not affect users' ability to login to the system by other means (f.e. ssh or telnet):
# sudo /usr/NX/bin/nxserver --stop
You might want to to issue a warning to all connected users to inform them of the operation. Run:
# sudo /usr/NX/bin/nxserver --broadcast "Your message here"
Then, after the warning, terminate all the running sessions:
# sudo /usr/NX/bin/nxserver --shutdown
Make a backup of your current NX installation and protect sensitive information that may be present
inside the TAR archive by making the backup readable only by the 'root' user:
# sudo gtar cvzf /root/nx-BACKUP.tar.gz /usr/NX
# sudo chmod 0600 /root/nx-BACKUP.tar.gz
The next step is to remove the previous installation, otherwise the installation will fail because only a
single instance of the package is supported at one time on the same system:
# sudo pkgrm NXserver
Finally, expand the package archive and install it using the pkgadd utility:
# sudo gunzip nxserver-X.Y.Z-W.sparc.gz
# sudo pkgadd -d nxserver-X.Y.Z-W.sparc