[FreeNX-kNX] Trying to get FreeNX working...

William Ballum reddragonofearth at gmail.com
Wed May 10 16:17:55 UTC 2006


Hi All,

I am new to FreeNX.. but I have been using linux since Mandrake
7.2(currently I am using SimplyMEPIS [http://www.mepis.org/])

Here is my FreeNX install log that I have been keeping...

Install log follows......
===============================
Will's Install Notes for FreeNX
===============================

Following this guys install instructions...
http://lists.debian.org/debian-testing/2005/03/msg00149.html

Got the latest version(freenx-0.4.2.tar.gz) from...
http://developer.berlios.de/project/showfiles.php?group_id=2978&release_id=6659

Downloaded the latest nxserver(nxserver-1.5.0-91.i386.tar.gz) from...
http://www.nomachine.com/download.php

Downloaded two of the latest nxclients(nxclient-1.5.0-141.i386.tar.gz
& nxclient_1.5.0-141_i386.deb) for Debian here...
http://www.nomachine.com/download.php


Commands used to install NX...
==============================

  tar zxvf xserver-1.4.0-107.i386.tar.gz
  mv NX /usr

  tar zxvf freenx-0.4.2.tar.gz
  cd freenx-0.4.2/
 patch -p0 < *diff
 chown root:root *
  cp node.conf.sample /usr/NX/etc/node.conf
  cp nxkeygen nxnode nxnode-login nxserver nxsetup nxloadconfig /usr/NX/bin/

  cd /usr/NX/bin
 ./nxsetup --install

  chmod 640 /usr/NX/home/nx/.ssh/authorized_keys2

 apt-get install libstdc++2.10-glibc2.2
 (results with the following....)
 root at 5[bin]# apt-get install libstdc++2.10-glibc2.2
 Reading package lists... Done
 Building dependency tree... Done
 libstdc++2.10-glibc2.2 is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 apt-get install rpm
 (results with the following....)
 root at 5[bin]# apt-get install rpm
 Reading package lists... Done
 Building dependency tree... Done
 rpm is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 found here...
  ftp://mirror.switch.ch/mirror/suse/suse/i386/supplementary/X/NX/
 the following file...
  NX-1.5.0-16.1.i586.rpm
  - from /home/will/FreeNX-install
  rpm2cpio NX*rpm > cpio-archive
 then from...
  /home/will/FreeNX-install/usr/lib/NX/lib
  cp libXcomp.* /usr/NX/lib/

 apt-get install libpng3

  echo "/usr/NX/lib" >> /etc/ld.so.conf

  ldconfig -v

  cd /usr/NX/bin/4
  ./nxserver --adduser will
  ./nxserver --passwd will   (which then asked for a password)


Time to try it...

Result....
NX> 203 NXSSH running with pid: 7318
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 192.168.0.100 on port: 22
NX> 211 The authenticity of host '192.168.0.100 (192.168.0.100)' can't
be established.
RSA key fingerprint is ec:6e:0c:17:12:70:66:93:db:6c:d5:02:57:e3:79:be.
Are you sure you want to continue connecting (yes/no)?
Warning: Permanently added '192.168.0.100' (RSA) to the list of known hosts.
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.

HOWTO setup Freenx on Fedora(Helped me with importing the key)
http://fedoranews.org/contributors/rick_stout/freenx/

Now I get...
NXPROXY - Version 1.5.0
Copyright (C) 2001, 2005 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '7362'.
Info: Connecting to remote host '192.168.0.100:5000'.
Info: Connection to remote proxy '192.168.0.100:5000' established.
Info: Synchronizing local and remote caches.
Info: Handshaking with remote proxy completed.
Info: Not using NX delta compression.
Info: Using lan link parameters 16384/8/0/0.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde'.
Info: Not using ZLIB stream compression.
Info: Not using remote ZLIB stream compression.
Info: Not using persistent cache.
Info: Using remote server '192.168.0.100:5000'.
Info: Starting X protocol compression.
Warning: Cookie mismatch in the authentication data.
Info: End of session requested by remote proxy.
Info: Shutting down the link and exiting.
===============================

So that's where I am at now..

I think the "Warning: Cookie mismatch in the authentication data."
might be the clue..  sorry if I am missing something simple but as
stated this is my first experience with FreeNX..

Any advice?  Please and thanks.  :)



More information about the FreeNX-kNX mailing list