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
  •  


USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



(LOT of 8) Samsung 32GB 2Rx4 PC4-2666V-RB2-12 DDR4 Cisco Server RAM Tested 100% picture

(LOT of 8) Samsung 32GB 2Rx4 PC4-2666V-RB2-12 DDR4 Cisco Server RAM Tested 100%

$1299.99



SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory picture

SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory

$159.98



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



16GB Total of SK hynix PC3L-12800S  2 sticks of 8GB each = 16GB Laptop Memory picture

16GB Total of SK hynix PC3L-12800S 2 sticks of 8GB each = 16GB Laptop Memory

$27.95



Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB picture

Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB

$124.95



LOT OF 16 M321R4GA0PB2-CCP Samsung 32GB DDR5-6400MHz ECC REG RDIMM 1Rx4 Memory picture

LOT OF 16 M321R4GA0PB2-CCP Samsung 32GB DDR5-6400MHz ECC REG RDIMM 1Rx4 Memory

$24000.00



Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick picture

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick

$378.00



SK hynix 32GB 4x8GB PC4-2400T DDR4 ECC RDIMM Server RAM HMA41GR7AFR4N-UH picture

SK hynix 32GB 4x8GB PC4-2400T DDR4 ECC RDIMM Server RAM HMA41GR7AFR4N-UH

$125.00