NX Server Manager Installation and Configuration Guide (v. 3.5.0)
|
Welcome to the Installation and Configuration Guide for NX Server Manager version 3.x or higher. This document is intended to be an overview on how NX Server Manager can be installed and configured on your Operating System. It provides also some instructions for exploiting all functionalites provided by the Manager to administer your NX Servers. |
|
| 1.1. Document Conventions
The following conventions are used in this guide:
|
|
| 1.2. Resources on the Web
The NoMachine Web site, http://www.nomachine.com, provides you with a variety of on-line resources in conjunction with the software and its usage: The NX Packages Latest News
Leave feedback about this guide |
|
| 2. What is NX Server Manager |
|
|
| 2.1. What NX Server Manager Allows You to Do
NX Server Manager puts at your disposal:
|
| 2.2. What the NX Server Manager Package Includes
The NX Server Manager package, named nxmanager, includes:
NX Server Manager is installed in the /usr/NX location, where:
|
| 3. Installation of NX Server Manager |
| 3.1. Available Packages and Supported Platforms
The following NX Server Manager packages are available:
For a complete and updated list of the currently supported Platforms and Operating Systems, you may refer to the download page: http://www.nomachine.com/download |
|
| 3.2. Prerequisites
Before going ahead with the installation of NX Server Manager, please be sure you have installed a Web Server on your NX Server Manager host machine. Apache HTTP Server is suggested. Installation environment Operating System
Hardware requirements
Software requirements
End-user environment Any browser supporting JavaScript. |
|
| 3.3. Remarks to Installation Instructions
Once the installation of NX Server Manager has been completed, it is necessary to configure NX Server Manager to fit your environment and make the application accessible from the Web. Please refer to the 'Making NX Server Manager Operative' section of this guide. |
| 4. NX Server Manager Installation Instructions for Linux Platforms |
| 4.1. Installing the NX Server Manager RPM Package
|
|
| 4.2. Updating the NX Server Manager Installation from RPM Package
# sudo tar cvzf /root/nx-BACKUP.tar.gz /usr/NX
|
|
| 4.3. Removing the NX Server Manager Installation from RPM Package
|
|
| 4.4. Installing the NX Server Manager DEB Package
|
|
| 4.5. Updating the NX Server Manager Installation from DEB Package
|
|
| 4.6. Removing the NX Server Manager Installation from DEB Package
|
|
| 4.7. Installing the NX Server Manager Compressed TAR Package
|
|
| 4.8. Updating the NX Server Manager Installation from Compressed TAR Package
|
|
| 4.9. Removing the NX Server Manager Installation from Compressed TAR Package
This operation will also remove the NX Client, the NX Node and the NX Server installations. Please note that it is advisable to uninstall the NX Server before removing the /usr/NX directory. This will ensure a clean installation of any successive NX Server version.
|
| 5. NX Server Manager Installation Instructions for Solaris Platforms |
| 5.1. Installing NX Server Manager
|
|
| 5.2. Updating NX Server Manager
|
|
| 5.3. Removing NX Server Manager
|
| 6. Making NX Server Manager Operative |
| In order to have your NX Server Manager fully operative you need to ensure that:
|
| 6.1. Configuring the Web Server to Run NX Server Manager
The NX Server Manager package provides a configuration file, namely /usr/NX/etc/manager.conf, containing the directives for the Web Server required to run the application. This file should be included in the Web Server configuration file. In the case of Apache Web Server, the configuration file is usually the httpd.conf file. It can be updated by adding the following directive before the "Global Environment" section: Include /usr/NX/etc/manager.conf Then restart your Web Server. Some possible locations for the Apache configuration file, depending on the Operating System and Apache Web Server version, are:
The manager.conf file provides the following directives: Alias /nxmanager/ "/usr/NX/share/htdocs/nxmanager/" <Directory "/usr/NX/">
|
|||
| 6.2. Configuring NX Server Manager
The NX Server Manager package provides a configuration file, namely /usr/NX/etc/manager.cfg, containing the configuration variables needed by the Manager to work properly in the hosting environment. Among them, there are defined username and group for the Web Server (namely Apache) user, which are necessary to set correct permissions for files constituting the NX Server Manager back-end. In particular, you should ensure that the following keys are set according to the configuration of the Web Server on your system: # # # In order to make the new settings applied in the manager.cfg file effective, you need to run the NX Server Manager update procedure which will set the proper permissions on the NX Server Manager back-end. |
|||
| 6.3. Setting the Proper Permissions for NX Server Manager
Based on values set in the manager.cfg file for the Web Server user, the NX Server Manager update procedure sets proper ownership and permissions on the NX Server Manager back-end. This procedure can be executed by running: # sudo /usr/NX/bin/nxmanager --update. |
|||
| 6.4. Running NX Server Manager
NX Server Manager is a Web application based on perl CGI. You can run it by pointing your browser to the proper URL according to the CGI directory you have specified in the configuration file of your Web Server: e.g. http://localhost/nxmanager/ |
|||
| 7. Administering NX Server Manager |
| This section is intended for the NX Server Manager Web administrator.
The administrative interface of the NX Server Manager allows you to:
|
| 7.1. Log-in as Administrator to NX Server Manager
The NX Server Manager application is provided with a default Web administrator user. You can enter the application the first time by using the following default credentials Username: nxmanager
|
|||
| 7.2. Creating the List of NX Servers
Once you are logged in to NX Server Manager as Administrator or as a Manager User, you can create the list of NX Servers to be administered. This list is a personal one for each user. |
|||
| 7.3. Creating Web Users to Access NX Server Manager
As the NX Server Manager administrator you are able to create new Web user accounts for entering the Web application. These accounts can have administrative privileges set or can be Manager users, i.e. accounts that are able to fully exploit the NX Server Manager functionalities but don't have administrative control over the Web application itself. |
|||
| 7.4. Apply Access Restrictions to NX Server Manager
If you are logged-in to NX Server Manager as Administrator, you can enter the 'Access Restrictions' interface to restrict access to NX Server Manager to only those IP addresses that you have specified there. Your settings are applied to the manager.conf file, usually placed at /usr/NX/etc/, which is included into your Web Server configuration file. |
|||
| 8. Administering the NX Server with NX Server Manager |
| If you want to perform administrative operations on an NX Server, you need to log-in to the server by using an account which such privileges. As an alternative, you may log-in to NX Server with a non-administrative account and manage your own items, for example you could monitor or terminate your sessions and change your password.
The following paragraphs mainly refer to administrative operations on NX Server. |
| 8.1. Creating an Account with Administrative Privileges on NX Server
Open an xterm or similar on your NX Server host machine and execute the nxserver --useradd command with the --administrator option. To create a new system account with administrative privileges: # /usr/NX/bin/nxserver --useradd USERNAME --system –-administrator To give administrative privileges to an existing account: # /usr/NX/bin/nxserver --useradd USERNAME –administrator |
|||
| 8.2. Log in to the NX Server
Once you are logged in to NX Server Manager and you have added your NX Server to the list, click on the server and provide your access credentials. |
|||
| 8.3. Administering the NX Users
Besides having the complete list of all the active NX users on your server, you can create or remove accounts via NX Server Manager, as well as set profiles on a per-user basis, if your NX Server supports this capability. |
|||
| 8.4. Enabling Profiles on NX Server
Access via the NX Server Configuration interface of NX Server Manager. Choose the 'General' panel and set value 'Enabled' for the EnableUserProfile configuration key. Save this change to make it immediately effective. |
|||
| 8.5. Set Profiles on a Per-System and Per-User Basis
If your NX Server supports profiles, you can specify rules via NX Server Manager to set profiles on a per-system and/or on a per-user basis. When rules are set for the whole system, they apply to all user logins to NX Server. In the case of profiles set on a per-user basis, a different set of rules may be defined for each user. The 'System Profile' section in the NX Server Manager interface allows for the definition of rules to be applied to the whole system. In order to create a profile for the user, you should select the user from the NX Users list and create proper rules which are specific for that user. |
|||
| 8.6. Classes of Rules
The number of rules that can be set to create a profile can be grouped in the following classes:
|
|||
| 8.7. Administering NX Sessions
The Session list interface of NX Server Manager allows you retrieve the whole NX Server history and manage running sessions: you may disconnect or terminate them, retrieve logs and protocol statistics and send a message. Messages can be sent to a specific session by selecting it in the Manager interface and accessing its Details section. |
|||
| 8.8. Administering NX Nodes
If your NX Server supports multi-node capabilities and load-balancing is enabled, the Nodes list section in NX Server Manager allows you to access the list of available nodes from which you can add, delete and modify each node. You might also want to temporary disable starting of sessions on a particular node by means of the enable/disable functionality. |
|||
| 8.9. Enabling the Multi-Node Support
Access the NX Server Configuration interface via NX Server Manager. Select the 'General' panel and set value 'Enabled' for the EnableLoadBalancing configuration key. Finally make this change operative by saving it. |
|||
| 8.10. Setting the Connection Type between NX Server and the Node
When adding the Node, you can specify the connection type to be allowed between server and node. If the connection is not provided, the server assumes it is 'user', i.e., both unencrypted and encrypted connections can be allowed, depending on the value set for the EnableUnencryptedSession key in the /usr/NX/etc/node.cfg configuration file. |
|||
| 8.11. Disabling Starting of Sessions on the Node
You can disable/enable starting of sessions on the Node by selecting the node and clicking on the 'Enable/Disable' button. |
|||
| 8.12. Opening xterm on NX Server
If you have NX Client installed on your PC, you may run an xterm on an NX Server via NX Server Manager. By clicking on the console icon available in the secondary toolbar, you will be able to run the console application on the server. |
|||
| 9. Retrieving System and NX Statistics |
| With NX Server Manager you can visualize real-time graphics about both systems, such as for example, CPU usage, free memory, network traffic; and about NX sessions such as number of sessions running. All graphics are available on an hourly, weekly, monthly and yearly basis. |
| 9.1. Starting the NX Statistics Daemons
In order to produce statistics via NX Server Manager, you need to start the nxsensor daemon on the NX Node host and the nxstat daemon on the NX Server host. The nxsensor daemon is in charge of producing data that is then elaborated by nxstat and provided to the Manager. To start nxsensor, you need firstly to edit the node configuration file on the NX Node host. Enable the EnableSensor key in the node.cfg file and ensure that values set for the following keys do fit your environment: StatisticsHost = "127.0.0.1" NodeSensorPort = "19250" The commands to handle the nxsensor daemon, in charge of producing data related to the node host, are: nxnode --sensor start In order to activate the nxstat daemon, edit the server configuration file available in the default installation at /usr/NX/etc/server.cfg to activate the EnableStatistics key and configure the following key to fit your environment: ServerSensorPort = "19250" The commands to handle the nxstat daemon, in charge of elaborating the data provided by the nxsensor daemon running on the node host, are: nxserver --statistics start |
| 10. Configuring the NX Server |
| NX Server installs with a default configuration suitable for your Operating System. However, you might want to change some default settings to better fit your needs. You can use the 'Server Configuration' interface provided by NX Server Manager for this purpose. |
| 10.1. Changing the NX Server Settings
The NX Server Configuration keys are grouped into the following categories: General Session Custom scripts Guest Command |
|
| 10.2. Restoring the NX Server Default Settings
Each section in the 'Server Configuration' interface has a 'Restore' button which allows you to revert to the default settings provided by the NX Server installation. |
