You are not logged in.

#1 2009-03-31 08:47:23

yossarianuk
Member
Registered: 2007-05-02
Posts: 103

freenx-0.7.3-3 completely breaks freenx server (solved)

Hi.

After happily running freenx for sometime (including installing various updates to it) the latest upgrade stops freenx working - freenx-0.7.3-3-i686.pkg.tar.gz

After going to back to the previous version  - freenx-0.7.3-2-i686.pkg.tar.gz it is o.k again.

When trying to connect to the freenx server after the upgrade the client I get this message :-

------------------------------------------------
NX> 203 NXSSH running with pid: 3946
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 194.216.112.15 on port: 3000
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
------------------------------------------------

Also I notice that the command nxservice gives (not sure what it did before)

# nxservice
nxservice: error while loading shared libraries: libXcomp.so.3: cannot open shared object file: No such file or directory

Also:-

root@winwinwinwin ~]# /opt/NX/bin/nxsetup  --test

----------------------------------------------------------------------
----> Testing your nxserver configuration ...
Warning: Could not find nxdesktop in /opt/NX/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /opt/NX/bin. VNC sessions won't work.
Warning: Invalid value "APPLICATION_LIBRARY_PRELOAD=/opt/NX/lib/libX11.so.6.2:/opt/NX/lib/libXext.so.6.4:/opt/NX/lib/libXcomp.so:/opt/NX/lib/libXcompext.so:/opt/NX/lib/libXrender.so.1.2". /opt/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: Invalid value "COMMAND_FOOMATIC=/usr/bin/foomatic-ppdfile"
         Users will not be able to use foomatic.
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_GNOME=gnome-session"
         Users will not be able to request a Gnome 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.
Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need version 1.2.
         Users will not be able to enable printing.
Error: Could not find 1.5.0 or 2.[01].0 or 3.[01].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012].0 backend is needed for this version of FreeNX.

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

<---- done

----> Testing your nxserver connection ...
Permission denied (publickey,password).
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 3000.
        - Make sure your sshd_config AuthorizedKeysFile in sshd_config is set to authorized_keys.
    (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

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

Anyone know how to fix this ?

cheers

Last edited by yossarianuk (2009-03-31 09:11:29)

Offline

Board footer

Powered by FluxBB