Results 1 to 2 of 2

Thread: HOWTO install NXServer - NXClient Knoppix 5.1

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Posts
    1

    HOWTO install NXServer - NXClient Knoppix 5.1

    System
    • Knoppix version 5.1.1

    • Linux 2.6.19 (Debian)

    • OpenSSH_4.3p2 Debian-8, OpenSSL 0.9.8c 05 Sep 2006



    ATTENTION!
    DO NOT install FreeNX ANY version!!
    Instead of that, download packets from http://www.nomachine.com and install them.


    Make sure that you are doing CLEAN installation.
    #apt-get remove --purge freenx nxserver nxnode nxclient
    Remove directories like:
    #rm -fR /usr/NX/ and /etc/nxserver/


    Start installation:

    dpkg --install nxclient_2.1.0-11_i386.deb

    dpkg --install nxnode_2.1.0-15_i386.deb
    Setting up nxnode (2.1.0-15) ...
    NX> 700 Starting: install node operation at: Tue Feb 13 10:11:43 2007.
    NX> 700 Autodetected system 'debian'.
    NX> 700 Install log is '/usr/NX/var/log/install'.
    NX> 700 Creating configuration in /usr/NX/etc/node.cfg.
    NX> 700 Inspecting local CUPS environment.
    NX> 700 Generating CUPS entries in: /usr/NX/etc/node.cfg.
    NX> 700 Installation of version: 2.1.0-15 completed.
    NX> 700 Bye.

    dpkg --install nxserver_2.1.0-18_i386.deb
    Setting up nxserver (2.1.0-1 ...
    NX> 700 Installing: server at: Tue Feb 13 10:12:58 2007.
    NX> 700 Autodetected system: debian.
    NX> 700 Install log is: /usr/NX/var/log/install.
    NX> 700 Creating configuration file: /usr/NX/etc/server.cfg.
    NX> 723 Cannot start NX statistics:
    NX> 709 NX statistics are disabled for this server.
    NX> 700 WARNING: Error when trying to connect to NX server, error is:
    NX> 700 WARNING: NX> 203 NXSSH running with pid: 10451
    NX> 200 Connected to address: 127.0.0.1 on port: 22
    NX> 202 Authenticating user: nx
    NX> 208 Using auth method: publickey
    NX> 204 Authentication failed..
    NX> 700 WARNING: nxsetup cannot validate the sanity of the current installation:
    NX> 700 WARNING: the current system or NX configuration could be broken.
    NX> 700 WARNING: If difficulties arise (for example sessions cannot be started),
    NX> 700 WARNING: it is advisable that you try to uninstall the NX server and the
    NX> 700 WARNING: NX client packages then install them again.
    NX> 700 WARNING: Search also the NoMachine Knowledge Base at the URL below:
    NX> 700 WARNING: http://www.nomachine.com/kb
    NX> 700 WARNING: for common errors encountered when performing a software update
    NX> 700 WARNING: and the related hints on how to solve them..
    NX> 700 Installation of NX server was completed with warnings.
    NX> 700 Please review the install log '/usr/NX/var/log/install'
    NX> 700 for further details.
    NX> 700 Showing file '/usr/NX/share/documents/server/install-notices':

    To activate the NX user and password DBs, you will have to edit the
    NX server configuration file by hand or use the NX Server Manager
    web tool available for download on the NoMachine Web site at:

    http://www.nomachine.com/download-manager.php


    root@knoppix-lnx:/usr/NX/home/nx/.ssh# ssh-keygen -t dsa -f nx_dsa -C "nx@knoppix-lnx"
    Generating public/private dsa key pair.
    Enter passphrase (empty for no passphrase): <empty for nx user>
    Enter same passphrase again:
    Your identification has been saved in nx_dsa.
    Your public key has been saved in nx_dsa.pub.
    The key fingerprint is:
    78:fd:99:94:f5:15:47:4c:50:e6:15:18:86:5f:95:dc nx@knoppix-lnx

    So,
    * nx_dsa = PRIVATE KEY (for clients)
    * nx_dsa.pub = PUBLIC KEY

    cat nx_dsa.pub >> /home/jormah/.ssh/authorized_keys

    Modified my /etc/ssh/sshd_config on the server to use
    AllowUsers nx jormah
    AuthorizedKeysFile %h/.ssh/authorized_keys # Important: use %h/...
    X11Forwarding yes
    PubkeyAuthentication yes
    PermitEmptyPasswords yes
    PasswordAuthentication yes
    UsePAM no


    passwd -u nx # Unlock account
    passwd -d nx # delete passwd

    /etc/init.d/ssh restart
    /usr/NX/bin/nxserver --restart

    TEST:
    ssh -i nx_dsa nx@knoppix-lnx

    HELLO NXSERVER - Version 2.1.0-18 - LFE
    NX> 105 login
    Login
    NX> 101 User: jormah
    NX> 102 Password: ********
    NX> 103 Welcome to: knoppix-lnx user: jormah
    NX> 105 exit
    Exit
    NX> 999 Bye.
    Connection to knoppix-lnx closed.

    So far, everything is ok!

    == Client side ==

    Download and install nxclient-2.1.0-16.exe (I use Windows XP version)
    • start NX Connection Wizard

    • apply configuration settings (name, host, post, type of connection)

    • enable SSH encryption of all traffix

    • show the advanced configuration dialog

    • press "Key" button

    • import DSA PRIVATE KEY == "nx_dsa" file created ssh-keygen in server side

    • save settings and login with your server user name and password



    Good luck!
    JormaH

    ----------------------------
    The hardest part of solving a problem is often formulating the right question.
    The answer is out there, somewhere.
    -- By Espen Andersen

  2. #2
    Junior Member
    Join Date
    May 2007
    Posts
    1

    PLEASE HELP!

    hi im running NXSERVER - Version 1.4.0-45-SVN and and windows client 2.1.0-17

    i pass the authentication part but when start the windows with the !M logo the window is closed and say that the server was shutdown

    i get an error. No response received from the server, the connection with the remote server was shutdown please check the state connection

    do you know or can any expect nomachine fan help/?

Similar Threads

  1. nxclient problem with knoppix 5
    By manzikki in forum Networking
    Replies: 0
    Last Post: 07-17-2006, 09:28 AM
  2. Knoppix 3.9 + NxServer - No X session
    By camorri in forum Networking
    Replies: 0
    Last Post: 06-20-2006, 06:57 PM
  3. howto install knoppix 3.7 on usb hd w/out messing mbr up
    By flippi in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 04-08-2005, 11:02 AM
  4. howto install knoppix without smp support
    By kurapikats in forum Hardware & Booting
    Replies: 0
    Last Post: 10-14-2004, 03:16 PM
  5. NXServer and Windows nxClient Out of sync with RSA Keys
    By jgroenke in forum General Support
    Replies: 2
    Last Post: 09-20-2004, 06:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W picture

Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W

$329.99



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$197.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$159.99



Dell PowerEdge R720xd 26HDD 300gb  2.5-inch E5-2697  X 2CPU 384RAM 7.2 Tb HDD  picture

Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 

$180.00



Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox

$320.00



Dell PowerEdge R640 1U 2x Xeon Gold 3.2GHz 192GB RAM | Dual Power Supply picture

Dell PowerEdge R640 1U 2x Xeon Gold 3.2GHz 192GB RAM | Dual Power Supply

$719.99



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 120Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 120Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$489.99



DELL PowerEdge R730 Server 2x E5-2698v4 2.2GHz =40 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2698v4 2.2GHz =40 Cores 128GB H730 4xRJ45

$601.00