The NX Builder backend is made up of a MySQL DB aimed at storing data related to NX servers,
session cofiguration and Web users. The Web application relies on the nxbuilder/builder.cfg file
to access the DB. This file is either created or updated in case of an upgrade of the NX Builder
backend via the Setup application. A sample file is provided by the installation, i.e.
nxbuilder/builder.cfg.sample.
NX Builder provides a Web interface, namely Setup, to easily create or update the DB
and create or modify the builder.cfg file accordingly. Access the interface at:
Select the 'Create DB' option and confirm by clicking on the button. This operation will:
In case, select the 'Upgrade DB' option and confirm by clicking on the button. This operation will:
Please note that, if the upgrade procedure is executed more than once, a further
backup is made, named as DBName-n.sql where n is an incremental number.
The only prerequisites needed to ensure that the end-user will be able to run
whichever NX session among the available list are that:
More details on how to configure users on NX builder to better integrate with
accounts available on NX server are provided at sections 3.6 Add the NX Builder
Guest User and Deploy Sessions on the Web, and 3.7 Add the NX Builder User
and Deploy Sessions on the Web.
These are the basic steps you need to follow to deploy sessions on the Web via NX Builder:
The NX Builder application is provided with a default Web Administrator user. You can enter the application at:
http://ServerName/nxbuilder
by using the following credentials:
Username: nxbuilder
Password: nxbuilder
IMPORTANT
It is strongly suggested you modify the Web administrator's password once you
are logged in. Click on 'Your account' button and set the new password from
the 'Modify user' interface.
3.4 Add NX server to the NX Builder Server List
Click on the 'Add server' button in the NX Builder top bar.
Fill all the mandatory fields
- Server name: the name of your NX server. It will be displayed on the Web
page providing the list of available NX servers.
- Host: either hostname or IP address of the machine where your NX server is running.
- Port: the TCP port where the NX server SSHD daemon is running. The default is 22.
Provide more information about your NX Server:
The following fields allow you to specify more details for your NX server machine, for example:
- Description: a short note to add information about the machine.
- O.S.: Operating System running on the server machine.
- CPU: Processor of the server machine.
- Memory: RAM size.
- Disk: Hard disk size.
Temporarily forbid access to your NX server via Web
If you want to temporary disable access to your NX Server via the NX Builder
application, you can access the 'Suspend display of this server via Web' interface.
This can be useful, for example, if you need to make technical operations on
your NX server host machine and you can't ensure accessibility to this server
for a period of time.
You can choose either to disable display of the NX server from the list deployed on the
Web or to replace the NX Server item with a notification message.
Please note that this feature can be activated in any moment by accessing the
'Modify' interface for that server.
Associate the appropriate image to your NX Server
You might also want to associate an image to the new server. Feel free to upload
your preferred image which will be displayed at 122x93 px. If you don't specify
any image, a default 'empty' image will be associated.
3.5 Add sessions to the NX server
Click on the 'Add session' button in the NX Builder top bar.
Give a name to the session
Choose a meaningful name for the session, that can identify what kind of session
you are deploying on the Web. That name will be displayed in the sessions list
deployed on the Web.
Please note that NX Builder will name the .nxs file, generated on demand when
starting a session, by concatenating the session name and the server host name.
Furthermore, each space in the session name will be replaced by an underscore.
For example:
Session name: My session
Server host name: testdrive.nomachine.com
Resulting .nxs file: My_session@testdrive.nomachine.com
Associate the session to the NX Server
Select among the 'Server name' list the NX Server on which you want this session to be run.
Configure the session
Choose the session type in the 'General' tab. You can also override the default
parameters of the session configuration by setting options in the 'Advanced',
'Services' and 'Environment' tabs.
Associate an image to the NX session
In the 'General' tab, you can specify a category for the session, choosing among
any of the default categories (which has a pre-defined image associated) or
create a new category and associate your preferred image.
3.6 Add the NX Builder Guest User and Deploy Sessions on the Web
Click on the 'Add user' button in the NX Builder top bar.
Add the NX Builder Guest User
Select 'Guest' as 'User type': you will not need to specify username or
password for this guest user. Note also that you can only have one unique
guest user in your Web application.
Specify how the NX Builder Guest User will authenticate on the NX server
If you select 'Login to NX Server as a guest user', the NX Builder Guest User
will try to run sessions on the NX Server as a 'guest'.
IMPORTANT
Pre-requisites for running sessions as a guest user on the server are:
- The end-user needs NX Client version 2.0.0 or higher installed on his/her machine.
- Support for guest users is available with NX Enterprise Server and NX Advanced
Server. More information on how to enable and configure support for guest users
is available at: http://www.nomachine.com/documentation/admin-guide.php
If you don't select 'Login to NX server as a guest user', when the NX Builder
Guest User tries to start a session on the server, he/she will be provided with
the NX Client login dialog and will need to insert username and password to be
authenticated on the server.
Deploy sessions on the Web for the NX Builder Guest User
Select the NX Server you want to make available for the NX Builder Guest User
among the 'Available Servers' list. Then specify the session(s) for this
server you want to deploy on the Web.
3.7 Add the NX Builder User and Deploy Sessions on the Web
Click on the 'Add user' button in the NX Builder top bar.
Add the NX Builder User
Select 'User' as 'User type' and specify username and password for this user.
These will be the user's Web credentials to login to NX Builder. If you want to
give administrator privileges to the new user, specify 'Administrator' as
'User type'. In that way, the freshly created user will be able to access the
NX Builder Administration interface.
Specify how the NX Builder User will authenticate on the NX Server
If you select 'Use Web credentials to access NX', each time the end-user tries
to start a session, the NX Builder will pass the user's Web credentials
to the NX session file generated on demand.
If you select 'Login to NX Server as a guest user' instead, the NX Builder Guest
User will try to run sessions on the NX Server as a 'guest'.
IMPORTANT
- It is recommended that when NX Builder is configured to create the session file based on the user's Web credentials, a correspondent account exists on the server to ensure that the user will be able to access the NX system. This account needs to use the same credentials set for accessing the NX Builder.
- Pre-requisites for running sessions as a guest user on the server are:
The end-user needs NX Client version 2.0 or higher installed on his/her machine.
Support for guest users is available with NX Enterprise Server and NX Advanced Server.
For more information on how to create and manage users on the server, please refer at: http://www.nomachine.com/documentation/admin-guide.php
If you don't select either 'Use Web credentials to access NX' or 'Login to NX Server as a guest user', when the NX Builder User tries to start a session on the server, he/she will be provided with the NX Client login dialog and will need to insert username and password to be authenticated on the server.
Deploy sessions on the Web for the NX Builder User
Select the NX Server you want to make available for the NX Builder User among the
'Available Servers' list. Then specify the sessions for this server that you want to deploy on the Web.
3.8 List, Modify and Delete the NX Servers
Click on the 'Server list' button in the NX Builder top bar: you will then able to list, modify and delete each of the NX Servers you have added to the NX Builder.
You will be also able to start sessions on the server via the same Web interface.
3.9 List, Modify and Delete the NX Sessions
Click on the 'Session list' button in the NX Builder top bar: you will then able to list, modify and delete each of the sessions you have deployed on a per-server basis.
You will be also able to start sessions on the server via the same Web interface.
3.10 List, Modify and Delete the NX Builder Users
Click on the 'User list' button in the NX Builder top bar: you will then able to list, modify and delete each of the users. Note that at least one Administrator user is needed on the NX Builder.
3.11 The Configuration Interface
The Configuration interface allows you to extract the source code needed to display the list of NX Servers and associated NX sessions deployed on the Web. The source code can be easily integrated in any Web page, giving the possibility to directly display the per-server session list. This can be used when the NX Builder Guest User is defined and there is no need to give Web access credentials to log-in to the NX Builder application.
The source code is automatically generated by the NX Builder application and includes references to the NX Builder installation paths, needed for the correct working of the code. You can get a preview of the embedded code by clicking on the 'Preview' button.
To embed NX Builder in your Web site, copy and paste the source code in a file and include it on the Web site. You will be then able to offer a live experience as the NoMachine Testdrive already does:
http://www.nomachine.com/testdrive.php
|
4. Personalizing the NX Builder
|
The NX Builder application can be easily integrated in your Web site and personalized according to your preferences. However, explaining the technical design for including the Builder on your Web site is beyond the scope of this document.
4.1 How to Personalize the NX Builder Appearance
You have the possibility, as administrator, to set the NX Builder appearance by selecting color for backgrounds and borders via the Configuration Web interface. You can even set a custom background either for the toolbar and the Web page.
4.2 How to Personalize Server and Session List Appearance
The NX Builder gives you the possibility, as administrator, to associate via Web your preferred image for each of the listed NX Servers and for each of the deployed sessions. These images will be uploaded in the /nxbuilder/images/shared/servers and in the /nxbuilder/images/shared/sessions directory.
4.3 How to Personalize the Messages
You can personalize the messages by editing the /nxbuilder/Messages.php file to fit your needs.
|
5. Starting Sessions via the NX Builder
|
This section is mainly aimed at the NX Builder end-users who will access the application either as a Guest Builder User or by providing their own Web access credentials.
5.1 Run your NX session via NX Builder
Ensure that you have installed NX Client on your machine. You can easily download the latest available version from the NoMachine Web site at:
http://www.nomachine.com/download.php
Then, point your Web browser to the URL where the NX Builder is running, for example:
http://ServerName/nxbuilder, and access the application. Your NX Administrator could
have integrated it directly in the Web site, such as with the
NoMachine Testdrive (http://www.nomachine.com/testdrive.php).
You can log in to the application either as a Guest, if this is available, or
with the Web access credentials provided by your NX Builder administrator.
5.2 What Happens When I Start a NX Session via NX Builder?
When you choose to run a certain session, NX Builder dynamically creates the corresponding session file (.nxs) that will be downloaded locally via your browser and run by the default application, i.e. your NX Client.
Depending on how the session is configured on the NX Builder, you may have the following situations:
- The session file already includes access credentials for the NX server.
- The session file doesn't include access credentials for the NX server or access credentials are not correct.
In the second case, the NX Client login dialog will be provided to you. This dialog allows you to specify login and password for accessing the NX system. If NX Client version is 2.x or higher you may also try to log in to the server as a guest user, if the NX Server supports and/or is configured to support this feature.
For further information about NX Builder and NoMachine's range of other products, users are invited to visit our website at www.nomachine.com