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
  •  


New Juniper SRX345-SYS-JB-2AC Junos Router Firewall Services Gateway 16GbE SFP picture

New Juniper SRX345-SYS-JB-2AC Junos Router Firewall Services Gateway 16GbE SFP

$570.65



Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P picture

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P

$149.99



Juniper QFX5100-48T-AFO 48-port 1G/10G RJ-45 ports 6 QSFP ports picture

Juniper QFX5100-48T-AFO 48-port 1G/10G RJ-45 ports 6 QSFP ports

$519.99



Juniper Networks EX2200-C 12T-2G 12 Port Gigabit Switch Compact + Cord Tested picture

Juniper Networks EX2200-C 12T-2G 12 Port Gigabit Switch Compact + Cord Tested

$64.99



Juniper EX3400-48T-AFI Ethernet Network Switch 48x1GbE 4x10GbE SFP+ 2x40GbE QSFP picture

Juniper EX3400-48T-AFI Ethernet Network Switch 48x1GbE 4x10GbE SFP+ 2x40GbE QSFP

$139.00



Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact  Switch picture

Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact Switch

$179.99



Juniper EX4100-F-12P Switch 12x 1GbE PoE  2x 10GbE Uplinks 4x 10GbE Stack Ports picture

Juniper EX4100-F-12P Switch 12x 1GbE PoE 2x 10GbE Uplinks 4x 10GbE Stack Ports

$900.00



Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic picture

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic

$71.87



Juniper Networks AP33 Wireless Access Point Bluetooth WiFi 6 Cloud Managed NIB picture

Juniper Networks AP33 Wireless Access Point Bluetooth WiFi 6 Cloud Managed NIB

$54.99



Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch picture

Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch

$79.99