background image

NX Server System Administrator’s Guide

Prepared by:
Silvia Regis

N°:
D-811_002-NXS-SAG

Approved by:
Sarah Dryell

Last modified:
2015-05-25

Amended:

NX Server System

Administrator’s Guide

Page 1 of 19

Summary of Contents for D-811_002-NXS-SAG

Page 1: ...NX Server System Administrator s Guide Prepared by Silvia Regis N D 811_002 NXS SAG Approved by Sarah Dryell Last modified 2015 05 25 Amended NX Server System Administrator s Guide Page 1 of 19 ...

Page 2: ... the Usage 3 2 Retrieving the Version 3 3 Retrieving the Subscription 3 4 Retrieving the Status 3 5 Enabling and Disabling Sessions on the Server 3 6 Listing the Nodes 3 7 Enabling and Disabling Sessions on the Node 3 8 Starting and Stopping the NX Sensor Daemon 3 9 Starting and Stopping the Statistics Daemon 3 10 Sending Messages 3 11 Greeting Messages 4 NX Server Authentication 4 1 Configuring N...

Page 3: ...Guest Account 7 6 Listing Guest Accounts 7 7 Removing a Guest Account 8 User Profiles 8 1 Enabling User Profiles 8 2 Adding the Per Server and Per User Profiles 8 3 Listing User Profiles 8 4 Removing Per Server and Per User Profiles 9 Desktop Sharing and Session Shadowing 9 1 Enabling Desktop Sharing 9 2 Configuring Interaction Level to the Local Display 9 3 Requiring Authorization to Share the Lo...

Page 4: ...es 12 1 Enabling Debug Level 12 2 Disabling the Logging of X Clients 12 3 Setting the Log Maximum Size 13 Network Resources used by NX 13 1 The Display Number 13 2 TCP Ports 13 3 The Unix Domain Socket 1 NX Server Administrator s Guide Welcome to the NX Server System Administrator s guide This document provides NX Server users with the default configuration and command key details Below you will f...

Page 5: ...ccording to their specific needs by setting the related configuration keys Please note that since both the server cfg and node cfg file provide a detailed description for each of the available keys the function of this document will be to provide an overview of all the supported features In general the server cfg file allows the NX administrator to manage all the configurations for the NX Server s...

Page 6: ...in the NX Advanced Server When support for load balancing is enabled it is up to the server to select the node host according to the hosts available in the NX Node DB by exploiting a round robin mechanism 2 1 Enabling Multi Node Support The EnableLoadBalancing key must be enabled in the usr NX etc server cfg configuration file EnableLoadBalancing 1 2 2 Starting and Stopping Monitoring of the Nodes...

Page 7: ...r the node If the port is not provided the server assumes it is the default SSH port 22 connection encrypted unencrypted user Specify the connection type to be allowed between server and node If the connection is not provided the server assumes it is user that s to say both unencrypted and encrypted connection can be allowed depending on the value set for the EnableUnencryptedSession key in the us...

Page 8: ...opy the server public DSA key on the node host for example scp usr NX etc keys node localhost id_dsa pub root node_host tmp The general form of the command to add the server public DSA key is nxnode keyadd KEY KEY is the path to the server public DSA key For example n xnode keyadd tmp node localhost id_dsa pub 2 6 Forbidding Unencrypted Connections between Server and Node The EnableUnencryptedSess...

Page 9: ...xserver version nxnode version 3 3 Retrieving the Subscription To get information about the subscription run nxserver subscription nxnode subscription 3 4 Retrieving the Status To retrieve the status run nxserver status nxserver status NODE PORT NODE is any of the available node s For example nxserver status testdrive nomachine com 22 3 5 Enabling and Disabling Starting Sessions on the Server To e...

Page 10: ...e running sessions and perform a clean restart To disable starting session nxserver stop Disable starting session To disable starting sessions and terminate all the running sessions nxserver shutdown 3 6 Listing the Nodes To list and retrieve information on the nodes run nxserver nodelist 3 7 Enabling and Disabling Starting Sessions on the Node The general form of the command to enable and disable...

Page 11: ...r key must be activated in the usr NX etc node cfg configuration file EnableSensor 1 The following configuration keys are set in the node configuration file according to your needs StatisticsHost 127 0 0 1 The hostname or IP address where the nxstat daemon in charge of collecting and elaborating data provided by nxsensor will be assumed to run NodeSensorPort 19250 The port where the NX server will...

Page 12: ...fy the port where the server will contact the nxsensor daemon to collect the statistics 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 nxserver statistics restart nxserver statistics s top Important The NX statistics can be visualized via NX Server Manager 3 10 Sending Messages The ge...

Page 13: ...or to specify which user can access the system through NX This works by implementing a separation between the system password and the NX password so that for example it is possible to forbid remote access to the system by any other means except NX and use the NX tools to implement effective accounting of the system resources used by the user The NX administrator can control access to the NX system...

Page 14: ...The EnableUserDB key must be activated in the usr NX etc server cfg configuration file EnableUserDB 1 Important Everytime a new account is created via NX Server or an already existing user accesses the NX system for the first time the user is added to the NX User DB 4 4 Replacing the Default SSH Key Pair with Keys Generated for Your Server The initial login between client and server happens throug...

Page 15: ...sh default id_dsa pub chmod 0644 usr NX home nx ssh default id_dsa pub Distribute the private key from the newly generated key pair located in the file usr NX share keys default id_dsa key Once the new key has been distributed to clients place it under the subdirectory share keys of the NX Client installation tree reserved for this purpose When the key has been placed in the above location use the...

Page 16: ... id_dsa key backup file Run the following command to use the default SSH key pair usr NX bin nxserver keyrestore In order to restore the default SSH key in the client use the key management facilities provided by the NX Client GUI in the General tab of the session configuration window click on the Key button and choose Default Click Save to save your changes 5 NX Users Administration on the Server...

Page 17: ...you want to grant NX administrator privileges to the user For example nxserver useradd test_user systemnxserver useradd test_user1 system admin istratornxserver useradd test_user2 system home tmp test_user gid tests 5 2 Creating an NX Account If the system account already exists the server adds the public key for SSH authentication to the user s authorized keys file and enables the NX login The ge...

Page 18: ...eUserDB key is activated in usr NX etc server cfg configuration file it prints the status of the user For example nxserver usercheck user_test 5 5 Retrieving the NX User Authentication Type The general form of the command is nxserver userauth USERNAMEFor example nxserver userauth user_test 5 6 Modifying the System Password If EnablePasswordDB is activated in the usr NX etc server cfg configuration...

Page 19: ... is nxserver passwd USERNAMEFor example nxserver passwd user_test The user once they are logged to the server host can modify their own system password by running nxserver passwd 5 8 Listing the NX Users When the EnablePasswordDB and EnableUserDB keys are activated in the usr NX etc server cfg configuration file you can list the users present in the NX Password DB and which are enabled to login in...

Reviews: