Differences between revisions 27 and 30 (spanning 3 versions)
Revision 27 as of 2007-10-10 02:26:34
Size: 7810
Editor: LeiWang
Comment:
Revision 30 as of 2013-09-18 06:09:33
Size: 7440
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
== Client nxclient installation ==
=== Supported Platforms ===
 1. Windows
  * Windows 2000/XP/2003/Vista
Line 3: Line 7:
== Client nxclient installation ==  1. Linux i386
  a. Red Hat Enterprise Linux 4/5
  a. SuSe 10/10.1/10.2/Enterprise 10
  a. Mandriva 10.1/2005/2006/2007
  a. Fedora Core 3/4/5/6
  a. Fedora 7
  a. Debian GNU/Linux 4.0 Etch
  a. Ubuntu 5.10 Breezy Badger/6.05 Dapper Drake/6.10 Edgy Eft/7.04 Feisty Fawn
  a. Xandros 4.1
=== NX Client Installation on Windows Platforms ===
 1. Installing NX Client:
  * Double-click on the icon of the NX Client executable file you have downloaded from the NoMachine Web site http://www.nomachine.com/download:
  * the NX Setup Wizard will take you through the installation.
  I. Select where to install NX Client and confirm by clicking on the Next button.
Line 5: Line 22:
=== Supported Platforms ===   I. The Setup Wizard will allow you to create the program shortcut in the Start Menu by default or in any folder of your choice. To proceed, click on the Next button as usual.
Line 7: Line 24:
   1. Windows
     * Windows 2000/XP/2003/Vista
  I. A further dialog will enable you to create an additional shortcut to the application on your desktop. Confirm according to your personal preference.
Line 10: Line 26:
   * Linux i386   I. The final dialog will ask you to confirm the installation of NX Client on your machine.
Line 12: Line 28:
     a. Red Hat Enterprise Linux 4/5
     * SuSe 10/10.1/10.2/Enterprise 10
     * Mandriva 10.1/2005/2006/2007
     * Fedora Core 3/4/5/6
     * Fedora 7
     * Debian GNU/Linux 4.0 Etch
     * Ubuntu 5.10 Breezy Badger/6.05 Dapper Drake/6.10 Edgy Eft/7.04 Feisty Fawn
     * Xandros 4.1
  I. Exit the installation
   * If you want to exit the installation, please click on the Cancel button and click on Yes.
Line 21: Line 31:
 1. NX Client Configuration:
  I. After the Installation, it will open an prompt window for nxclient configuration, if not, try find shortcut for access '''NX Client for Windows'''
Line 22: Line 34:
=== NX Client Installation on Windows Platforms ===   I. In '''NX Connection Wizard''' window, click on ''next'' then lead to "Session" window
Line 24: Line 36:
   1. Installing NX Client:   I. In '''Session''' box, type in the unique name of the server going to access to plus the terminal name of users,(e.g. Damro-lanka2, this is for user lanka2 to Damro server)
Line 26: Line 38:
     * Double-click on the icon of the NX Client executable file you have downloaded from the NoMachine Web site:
     * the NX Setup Wizard will take you through the installation.
  I. in '''Host''' box, type in the server domain name or ip address which ever is accessible, in the '''Port''' box, leave '''22''' as a default value
Line 29: Line 40:
    I. Select where to install NX Client and confirm by clicking on the Next button.   I. nothing very interesting on '''Selection of internet connection''', so leave it for default selection, then click on ''next''
Line 31: Line 42:
    * The Setup Wizard will allow you to create the program shortcut in the Start Menu by default or in any folder of your choice. To proceed, click on the Next button as usual.   I. In '''Desktop''' window, keep the '''Unix''' drop-down list choose '''Unix''' as default, and in '''KDE''' drop-down list choose '''Custom''', then click on '''Settings...''', then open a new '''Custom - Settings''' pop-up window
Line 33: Line 44:
    * A further dialog will enable you to create an additional shortcut to the application on your desktop. Confirm according to your personal preference.   I. In '''Application''' section, choose either
Line 35: Line 46:
    * The final dialog will ask you to confirm the installation of NX Client on your machine.   I. '''"Run the default X client..."''' or '''"Run the following command"''', in the filed below type in the command to be run on remote server, e.g. very possibly '''fvwm''' for our scenario
Line 37: Line 48:
    * Exit the installation If you want to exit the installation, please click on the Cancel button and click on Yes.   I. In '''Options''' section, choose '''new virtual desktop''' for the reason of display requirement.
Line 39: Line 50:
   2. NX Client Configuration:   I. After check the configuration of above, click on ''ok'' then go back to main window, and then click on ''next''
Line 41: Line 52:
     I. After the Installation, it will open an prompt window for nxclient configuration, if not, try find shortcut for access '''NX Client for Windows'''   I. In '''Configuration completed''' window, check the two check-boxes, and click on ''Finish'', then another main configuration window will pop-up.
Line 43: Line 54:
     * In '''NX Connection Wizard''' window, click on ''next'' then lead to "Session" window   I. In the top of the window, there are tabs named as '''General, Advanced, Services, Environment, About''', focus on '''General''' tab only at this stage.
Line 45: Line 56:
     * In '''Session''' box, type in the unique name of the server going to access to plus the terminal name of users,(e.g. Damro-lanka2, this is for user lanka2 to Damro server)   I. In the '''Server''' section, check '''Remember my password''', then check the '''Key...''' button, in the pop-up window '''Key Management''', the DSA key is the private key of the server key pair on the remote server, need to be copied from remote server, click on '''Import''' and locate the key then click '''Save'''
Line 47: Line 58:
     * in '''Host''' box, type in the server domain name or ip address which ever is accessible, in the '''Port''' box, leave '''22''' as a default value   I. Note: For step XIII you might need to copy the '''client.id_dsa.key''' file from '''server''' to '''client''' computer. To do that you need to login to '''abe''' and be''' root''' user. Then go into client's '''home directory''' where there will be '''hidden files ( ls -al).''' Then run this comannd to copy the file (''' # cp /etc/X11/xinit/Xclients .Xclients'''). Then to change access run this command ( '''# chown client:control .Xclients)
'''
Line 49: Line 61:
     * nothing very interesting on '''Selection of internet connection''', so leave it for default selection, then click on ''next''   I. Back to the '''General''' tab, in '''Display''' section in the drop-down list select whatever display mode fit to client side, then simple click on ''Save'' and ''Ok''
Line 51: Line 63:
     * In '''Desktop''' window, keep the '''Unix''' drop-down list choose '''Unix''' as default, and in '''KDE''' drop-down list choose '''Custom''', then click on '''Settings...''', then open a new '''Custom - Settings''' pop-up window   I. In small Login window
   .
||'''Login''' || ||
   ||'''Password''' || ||
   ||'''Session''' || ||
Line 53: Line 69:
     * In '''Application''' section, choose either   I. make sure they are correct corresponding to each other, then click on '''Ok''', the session will start connecting.
== Server FreeNX Installation ==
 * Prerequisite: sshd must be running as a daemon on port 22 (This can be modified later.)
=== Setup FreeNX on Fedora Core 5 or later ===
----
 a. Make sure you are up-to-date
  . #yum update
Line 55: Line 77:
     * '''"Run the default X client..."''' or '''"Run the following command"''', in the filed below type in the command to be run on remote server, e.g. very possibly '''fvwm''' for our scenario

     * In '''Options''' section, choose '''new virtual desktop''' for the reason of display requirement.

     * After check the configuration of above, click on ''ok'' then go back to main window, and then click on ''next''

     * In '''Configuration completed''' window, check the two check-boxes, and click on ''Finish'', then another main configuration window will pop-up.

     * In the top of the window, there are tabs named as '''General, Advanced, Services, Environment, About''', focus on '''General''' tab only at this stage.

     * In the '''Server''' section, check '''Remember my password''', then check the '''Key...''' button, in the pop-up window '''Key Management''', the DSA key is the private key of the server key pair on the remote server, need to be copied from remote server, click on '''Import''' and locate the key then click '''Save'''

     * Back to the '''General''' tab, in '''Display''' section in the drop-down list select whatever display mode fit to client side, then simple click on ''Save'' and ''Ok''

     * In small Login window
       || '''Login''' || ||
       || '''Password''' || ||
       || '''Session''' || ||

     * make sure they are correct corresponding to each other, then click on '''Ok''', the session will start connecting.

     * Please find all related files and keys on our Website http://www.crecom.com.au/freenx/

     * In directory '''config-files''' contains the configuration files for client ''"Damro-Sri-Lanka"'' and ''"Frathouse"'', just download the related files to your local folders, and/or create shortcut on desktop for them, then click on to use it.

     * In directory '''client-keys''' contains the corresponding private keys for the server to be connected, please refer to in only when create new client access to server.

== Server FreeNX Installation ==

 * Prerequisite: sshd must be running as a daemon on port 22 (This can be modified later.)

=== Setup FreeNX on Fedora Core 5 or later ===
----
   a. Make sure you are up-to-date
      #yum update

   * Install FreeNX and all dependencies
     #yum install freenx
----
 a. Install FreeNX and all dependencies
  . #yum install freenx
----
Line 96: Line 82:
---- 
   a. Make sure you are up-to-date
      #yum update
----
 a. Make sure you are up-to-date
  . #yum update
Line 100: Line 86:
   * Install NX rpm dependencies
     #yum install expect nc
 a. Install NX rpm dependencies
  . #yum install expect nc
Line 103: Line 89:
   * Grab a Freenx package  a. Grab a Freenx package
  i. Use this package for FC2, FC3, FC4, and xorg based distributions
   . #wget http://fedoranews.org/contributors/rick_stout/freenx/freenx-0.4.4-2.fdr.0.noarch.rpm
Line 105: Line 93:
    i. Use this package for FC2, FC3, FC4, and xorg based distributions
        #wget http://fedoranews.org/contributors/rick_stout/freenx/freenx-0.4.4-2.fdr.0.noarch.rpm
  i. Use this package for FC1, RH9, RHEL3 or XFree86 based distributions
   . #wget http://fedoranews.org/contributors/rick_stout/freenx/freenx-0.4.4-2.rh.0.noarch.rpm
Line 108: Line 96:
     * Use this package for FC1, RH9, RHEL3 or XFree86 based distributions
       #wget http://fedoranews.org/contributors/rick_stout/freenx/freenx-0.4.4-2.rh.0.noarch.rpm
 a. Next, grab an nx package
i. This package was built on FC4
   . #wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC4.1.i386.rpm
Line 111: Line 100:
   * Next, grab an nx package   i. This package was built on FC3
   . #wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC3.1.i386.rpm
Line 113: Line 103:
    i. This package was built on FC4
        #wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC4.1.i386.rpm
  i. This package was built on FC2
   . #wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC2.1.i386.rpm
Line 116: Line 106:
     * This package was built on FC3
       #wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC3.1.i386.rpm
  i. Use this package if you are using FC1, RH9, RHEL3 or a Redhat compatible distribution using XFree86
   . #wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC1.1.i386.rpm
Line 119: Line 109:
     * This package was built on FC2
       #wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC2.1.i386.rpm
 a. Install the RPM's
  I. #rpm -Uvh nx-1.5.0-4.FC4.1.i386.rpm
Line 122: Line 112:
     * Use this package if you are using FC1, RH9, RHEL3 or a Redhat compatible distribution using XFree86
       #wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC1.1.i386.rpm

   * Install the RPM's

    I. #rpm -Uvh nx-1.5.0-4.FC4.1.i386.rpm
    
    * #rpm -Uvh freenx-0.4.4-2.fdr.0.src.rpm
----
  I. #rpm -Uvh freenx-0.4.4-2.fdr.0.src.rpm
----
Line 133: Line 116:
----
   a. Since package installation successful, need to setup nx for FreeNX running
----
 a. Since package installation successful, need to setup nx for FreeNX running
  * set PATH including /usr/libexec/nx, in order that file '''''nxloadconfig''''' is searchable during setup
  * locate '''nxsetup''' file, and run it as root
   . #/PATH/TO/nxsetup
Line 136: Line 122:
     * set PATH including /usr/libexec/nx, in order that file '''''nxloadconfig''''' is searchable during setup  a. Configuration files location:
  .
||'''''/etc/nxserver/''''' ||
  ||node.conf.sample ||
  ||passwords.orig ||
  ||passwords ||
  ||server.id_dsa.pub.key ||
  ||client.id_dsa.key ||
  ||users.id_dsa.pub ||
  ||users.id_dsa ||
Line 138: Line 133:
     * locate '''nxsetup''' file, and run it as root
       #/PATH/TO/nxsetup
  * For FreeNX versions >=0.5.0 you might need to edit the file '''''/etc/nxserver/node.conf'''''
  * copy '''''node.conf''''' configuration file from sample
   . #cp -p node.conf.sample node.conf
  * Then edit file '''''node.conf''''' correspondingly, comment out the following lines, and edit similar as shown:
   1. DISPLAY_BASE=4000
   1. SESSION_LIMIT=200
   1. SESSION_USER_LIMIT=200
   1. DISPLAY_LIMIT=200
   1. NX_LOG_LEVEL=6
   1. NX_LOGFILE=/var/log/nx/nxserver.log
   1. SESSION_LOG_CLEAN=1
   1. USER_X_STARTUP_SCRIPT=.Xclients
Line 141: Line 146:
   * Configuration files location:
     || '''''/etc/nxserver/''''' ||
     || node.conf.sample ||
     || passwords.orig ||
     || passwords ||
     || server.id_dsa.pub.key ||
     || client.id_dsa.key||
     || users.id_dsa.pub ||
     || users.id_dsa ||
 a. '''Every time''' after edit configuration file '''''node.conf''', restart '''nxserver''': ''
  . #nxserver --restart
Line 151: Line 149:
     * For FreeNX versions >=0.5.0 you might need to edit the file '''''/etc/nxserver/node.conf'''''

     * copy '''''node.conf''''' configuration file from sample
       #cp -p node.conf.sample node.conf

     * Then edit file '''''node.conf''''' correspondingly, comment out the following lines, and edit similar as shown:

       1. DISPLAY_BASE=4000
       * SESSION_LIMIT=200
       * SESSION_USER_LIMIT=200
       * DISPLAY_LIMIT=200
       * NX_LOG_LEVEL=6
       * NX_LOGFILE=/var/log/nx/nxserver.log
       * SESSION_LOG_CLEAN=1
       * USER_X_STARTUP_SCRIPT=.Xclients

   * '''Every time''' after edit configuration file '''''node.conf''''', restart '''nxserver''':
     #nxserver --restart

   * '''Before''' nxclient is able to connect with nxserver, need to copy the '''PRIVATE KEY''' to client side for ssh authentication purpose.

     * The file is located at '''''/etc/nxserver/client.id_dsa.key'''''
 a. '''Before''' nxclient is able to connect with nxserver, need to copy the '''PRIVATE KEY''' to client side for ssh authentication purpose.
  * The file is located at '''''/etc/nxserver/client.id_dsa.key'''''

Freenx Installation

Client nxclient installation

Supported Platforms

  1. Windows
    • Windows 2000/XP/2003/Vista
  2. Linux i386
    1. Red Hat Enterprise Linux 4/5
    2. SuSe 10/10.1/10.2/Enterprise 10

    3. Mandriva 10.1/2005/2006/2007
    4. Fedora Core 3/4/5/6
    5. Fedora 7
    6. Debian GNU/Linux 4.0 Etch
    7. Ubuntu 5.10 Breezy Badger/6.05 Dapper Drake/6.10 Edgy Eft/7.04 Feisty Fawn
    8. Xandros 4.1

NX Client Installation on Windows Platforms

  1. Installing NX Client:
    • Double-click on the icon of the NX Client executable file you have downloaded from the NoMachine Web site http://www.nomachine.com/download:

    • the NX Setup Wizard will take you through the installation.
    • Select where to install NX Client and confirm by clicking on the Next button.
    • The Setup Wizard will allow you to create the program shortcut in the Start Menu by default or in any folder of your choice. To proceed, click on the Next button as usual.
    • A further dialog will enable you to create an additional shortcut to the application on your desktop. Confirm according to your personal preference.
    • The final dialog will ask you to confirm the installation of NX Client on your machine.
    • Exit the installation
      • If you want to exit the installation, please click on the Cancel button and click on Yes.
  2. NX Client Configuration:
    1. After the Installation, it will open an prompt window for nxclient configuration, if not, try find shortcut for access NX Client for Windows

    2. In NX Connection Wizard window, click on next then lead to "Session" window

    3. In Session box, type in the unique name of the server going to access to plus the terminal name of users,(e.g. Damro-lanka2, this is for user lanka2 to Damro server)

    4. in Host box, type in the server domain name or ip address which ever is accessible, in the Port box, leave 22 as a default value

    5. nothing very interesting on Selection of internet connection, so leave it for default selection, then click on next

    6. In Desktop window, keep the Unix drop-down list choose Unix as default, and in KDE drop-down list choose Custom, then click on Settings..., then open a new Custom - Settings pop-up window

    7. In Application section, choose either

    8. "Run the default X client..." or "Run the following command", in the filed below type in the command to be run on remote server, e.g. very possibly fvwm for our scenario

    9. In Options section, choose new virtual desktop for the reason of display requirement.

    10. After check the configuration of above, click on ok then go back to main window, and then click on next

    11. In Configuration completed window, check the two check-boxes, and click on Finish, then another main configuration window will pop-up.

    12. In the top of the window, there are tabs named as General, Advanced, Services, Environment, About, focus on General tab only at this stage.

    13. In the Server section, check Remember my password, then check the Key... button, in the pop-up window Key Management, the DSA key is the private key of the server key pair on the remote server, need to be copied from remote server, click on Import and locate the key then click Save

    14. Note: For step XIII you might need to copy the client.id_dsa.key file from server to client computer. To do that you need to login to abe and be root user. Then go into client's home directory where there will be hidden files ( ls -al). Then run this comannd to copy the file ( # cp /etc/X11/xinit/Xclients .Xclients). Then to change access run this command ( # chown client:control .Xclients)

  1. Back to the General tab, in Display section in the drop-down list select whatever display mode fit to client side, then simple click on Save and Ok

  2. In small Login window

Login

  • Password

    Session

  1. make sure they are correct corresponding to each other, then click on Ok, the session will start connecting.

Server FreeNX Installation

  • Prerequisite: sshd must be running as a daemon on port 22 (This can be modified later.)

Setup FreeNX on Fedora Core 5 or later


  1. Make sure you are up-to-date
    • #yum update
  2. Install FreeNX and all dependencies
    • #yum install freenx


Setup FreeNX on FC4 or earlier


  1. Make sure you are up-to-date
    • #yum update
  2. Install NX rpm dependencies
    • #yum install expect nc
  3. Grab a Freenx package
    1. Use this package for FC2, FC3, FC4, and xorg based distributions
    2. Use this package for FC1, RH9, RHEL3 or XFree86 based distributions
  4. Next, grab an nx package
    1. This package was built on FC4
    2. This package was built on FC3
    3. This package was built on FC2
    4. Use this package if you are using FC1, RH9, RHEL3 or a Redhat compatible distribution using XFree86
  5. Install the RPM's
    1. #rpm -Uvh nx-1.5.0-4.FC4.1.i386.rpm
    2. #rpm -Uvh freenx-0.4.4-2.fdr.0.src.rpm


Configuration after Installation


  1. Since package installation successful, need to setup nx for FreeNX running
    • set PATH including /usr/libexec/nx, in order that file nxloadconfig is searchable during setup

    • locate nxsetup file, and run it as root

      • #/PATH/TO/nxsetup
  2. Configuration files location:

/etc/nxserver/

  • node.conf.sample

    passwords.orig

    passwords

    server.id_dsa.pub.key

    client.id_dsa.key

    users.id_dsa.pub

    users.id_dsa

  • For FreeNX versions >=0.5.0 you might need to edit the file /etc/nxserver/node.conf

  • copy node.conf configuration file from sample

    • #cp -p node.conf.sample node.conf
  • Then edit file node.conf correspondingly, comment out the following lines, and edit similar as shown:

    1. DISPLAY_BASE=4000
    2. SESSION_LIMIT=200
    3. SESSION_USER_LIMIT=200
    4. DISPLAY_LIMIT=200
    5. NX_LOG_LEVEL=6
    6. NX_LOGFILE=/var/log/nx/nxserver.log
    7. SESSION_LOG_CLEAN=1
    8. USER_X_STARTUP_SCRIPT=.Xclients
  1. Every time after edit configuration file node.conf, restart nxserver:

    • #nxserver --restart
  2. Before nxclient is able to connect with nxserver, need to copy the PRIVATE KEY to client side for ssh authentication purpose.

    • The file is located at /etc/nxserver/client.id_dsa.key


Further details of freenx instructions will be updated shortly.

freenx (last edited 2013-09-18 06:09:33 by localhost)