Differences between revisions 2 and 29 (spanning 27 versions)
Revision 2 as of 2007-09-17 01:04:18
Size: 2726
Editor: LeiWang
Comment:
Revision 29 as of 2008-04-08 01:00:28
Size: 7440
Editor: rowlf
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
 * Client installation
'''''Supported Platforms'''''
== Client nxclient installation ==
=== Supported Platforms ===
 1. Windows
  * Windows 2000/XP/2003/Vista
Line 5: Line 7:
'''1.1 Windows'''  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 7: Line 22:
 * Windows 2000/XP/2003/Vista
'''1.2 Linux i386'''
  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 10: Line 24:
 * 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
'''''IMPORTANT'''''
  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 20: Line 26:
NoMachine's policy is to provide packages for the most recent versions of Linux which you can see listed above or on the download page: http://www.nomachine.com/download   I. The final dialog will ask you to confirm the installation of NX Client on your machine.
Line 22: Line 28:
Users of older Linux versions are pointed to a specific download page for the appropriate NX packages. Please note that, at the time of an NX release, it is possible that packages for the following older Linux distributions are slightly delayed:   I. Exit the installation
   * If you want to exit the installation, please click on the Cancel button and click on Yes.
Line 24: Line 31:
 * RedHat 7.2/7.3/8.0/9.0
 * SuSE Linux 7.2/7.3/8.0/8.1/8.2/9.0
 * Mandriva Linux 9.0/9.1/9.2/10.0
 * Fedora Core 1/2
 * Debian GNU/Linux 3.0 Woody/ 3.1 Sarge
 * Ubuntu 5.04 Hoary
 * Xandros 3.0
Linux x86_64
 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 33: Line 34:
 * 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
Mac OS X PPC
  I. In '''NX Connection Wizard''' window, click on ''next'' then lead to "Session" window
Line 43: Line 36:
 * 10.3
 * 10.4
Mac OS X i386
  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 47: Line 38:
 * 10.3
 * 10.4
Solaris SPARC
  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 51: Line 40:
 * 8/9/10
The list of the supported platforms and operating systems may be updated from time to time, so please refer to the download page to get the latest information:
  I. nothing very interesting on '''Selection of internet connection''', so leave it for default selection, then click on ''next''
Line 54: Line 42:
'''2. NX Client Installation Instructions for Windows Platforms '''   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 56: Line 44:
'''__2.1 Installing NX Client__''' 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 '''Application''' section, choose either
Line 58: Line 46:
__'''Step 1'''__   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 60: Line 48:
Select where to install NX Client and confirm by clicking on the Next button.   I. In '''Options''' section, choose '''new virtual desktop''' for the reason of display requirement.
Line 62: Line 50:
__'''Step 2'''__   I. After check the configuration of above, click on ''ok'' then go back to main window, and then click on ''next''
Line 64: Line 52:
 . 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 '''Configuration completed''' window, check the two check-boxes, and click on ''Finish'', then another main configuration window will pop-up.
Line 67: Line 54:
__'''Step 3'''__   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 69: Line 56:
A further dialog will enable you to create an additional shortcut to the application on your desktop.   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 71: Line 58:
Confirm according to your personal preference.   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 73: Line 61:
__'''Step 4'''__   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 75: Line 63:
 . 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.2 NX Client Configuration:'''
  I. In small Login window
   .
||'''Login''' || ||
   ||'''Password''' || ||
   ||'''Session''' || ||
Line 79: Line 69:
''' attachment:/mnt/home/usr/lei/freenxinstall/images/img52.gif
 '''
  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

 a. Install FreeNX and all dependencies
  . #yum install freenx
----

=== Setup FreeNX on FC4 or earlier ===
----
 a. Make sure you are up-to-date
  . #yum update

 a. Install NX rpm dependencies
  . #yum install expect nc

 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

  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

 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

  i. This package was built on FC3
   . #wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC3.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

  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

 a. Install the RPM's
  I. #rpm -Uvh nx-1.5.0-4.FC4.1.i386.rpm

  I. #rpm -Uvh freenx-0.4.4-2.fdr.0.src.rpm
----

=== Configuration after Installation ===
----
 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

 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 ||

  * 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

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

 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'''''
----
===== Further details of freenx instructions will be updated shortly. =====

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)