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
  •  


1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE

$259.00



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



HPE ProLiant MicroServer Gen10 picture

HPE ProLiant MicroServer Gen10

$420.00



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.48



HP ProLiant MicroServer Gen10 Plus - 16GB RAM No HDD picture

HP ProLiant MicroServer Gen10 Plus - 16GB RAM No HDD

$500.00



SuperMicro SuperServer 5018A-FTN4 505-2 Intel Atom @ 2.4GHz 8GB w/ Ears  picture

SuperMicro SuperServer 5018A-FTN4 505-2 Intel Atom @ 2.4GHz 8GB w/ Ears

$174.99



Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD picture

Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD

$149.99



Super micro Server picture

Super micro Server

$168.00



Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail picture

Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail

$199.00