[FreeNX-kNX] Problems with 7.0.3 installation on debian

jhonyl jhonyl at netscape.net
Tue Sep 16 02:22:08 UTC 2008


Hi

  I have been trying to install 7.0.3 on debian from source. I have 
followed the instructions in INSTALL, and everything went fine up to 
the point of nxsetup --install. Lots of WARNINGS were out there, and 
eventually the testing your connection failed:

---------------------------------------
Warning: Could not find nxdesktop in /usr/NX/bin. RDP sessions won't 
work.
Warning: Could not find nxviewer in /usr/NX/bin. VNC sessions won't 
work.
Warning: Invalid value 
"APPLICATION_LIBRARY_PRELOAD=/usr/NX/lib/libX11.so.6.2:/usr/NX/lib/libXex
t.so.6.4:/usr/NX/lib/libXcomp.so:/usr/NX/lib/libXcompext.so:/usr/NX/lib/l
ibXrender.so.1.2". /usr/NX/lib/libXrender.so.1.2 could not be found. 
Users will not be able to run a single application in non-rootless mode.
Warning: "/usr/lib/cups/backend/smb" is not executable.
         Users will not be able to enable printing.
Warning: Invalid value "DEFAULT_X_SESSION=/etc/X11/xdm/Xsession"
         Users might not be able to request a default X session.
Warning: Invalid value "COMMAND_START_KDE=startkde"
         Users will not be able to request a KDE session.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
         Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able 
to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be 
able to use SAMBA.

  Warnings occured during config check.
  To enable these features please correct the configuration file.

<---- done

----> Testing your nxserver connection ...
Permission denied (publickey).
Fatal error: Could not connect to NX Server.

Please check your ssh setup:

The following are _examples_ of what you might need to check.

        - Make sure "nx" is one of the AllowUsers in sshd_config.
    (or that the line is outcommented/not there)
        - Make sure "nx" is one of the AllowGroups in sshd_config.
    (or that the line is outcommented/not there)
        - Make sure your sshd allows public key authentication.
        - Make sure your sshd is really running on port 22.
         - Make sure your sshd_config AuthorizedKeysFile in sshd_config 
is set to authorized_keys2.
    (this should be a filename not a pathname+filename)
  - Make sure you allow ssh on localhost, this could come from some
    restriction of:
      -the tcp wrapper. Then add in /etc/hosts.allow: ALL:localhost
      -the iptables. add to it:
         $ iptables -A INPUT  -i lo -j ACCEPT
         $ iptables -A OUTPUT -o lo -j ACCEPT

----------------------------

I have tried to login from shell via ssh, and got this error:

---------------------------
root at Server:/home/jhonyl/freenx.7.0.3/src/freenx-server-0.7.3# ssh -i 
key nx at 10.0.0.1
HELLO NXSERVER - Version 3.2.0-73 OS (GPL, using backend: 3.2.0)
NX> 105 login
login
NX> 101 User: jhonyl
chaim
NX> 102 Password:
/usr/bin/nxserver: line 564: kill: (5651) - No such process
NX> 404 ERROR: wrong password or login
NX> 999 Bye
Connection to 10.0.0.1 closed.
------------------------

Please advise.





More information about the FreeNX-kNX mailing list