[FreeNX-kNX] error while opening terminal

ginzzer ginzzer at gmail.com
Sat Jun 27 04:53:47 UTC 2009


In the previous email, I report that there are lots of errors shown
whenever I open and run command in the terminal after my logging in via
nx client

ERROR: ld.so: object '/usr/lib//libnxredir.so.0' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib//libnxredir.so.0' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib//libnxredir.so.0' from LD_PRELOAD cannot be preloaded: ignored.

So I run "nxloadconfig --check", it shows

--------------------------------------------------------------------------------------------------------------------
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
Warning: Invalid value "APPLICATION_LIBRARY_PRELOAD=/usr/lib/libX11.so.6.2:/usr/lib/libXext.so.6.4:/usr/lib/libXcomp.so.2:/usr/lib/libXcompext.so:/usr/lib/libXrender.so.1.2". /usr/lib/libX11.so.6.2 could not be found. Users will not be able to run a single application in non-rootless mode.
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_CDE=cdwm"
         Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
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.
-----------------------------------------------------------------------------------------------------------------------

I don't know why it complain about nxdesktop and nxviewer, shouldn't it
included in the package? 

For the third warning  "APPLICATION_LIBRARY_PRELOAD= ...", I looking the
whole system to find out some related library, here is what I get

ask for                                         I have
/usr/lib/libX11.so.6.2                   /usr/lib64/NX/lib/libX11.so.6.2 
/usr/lib/libXext.so.6.4                  /usr/lib64/NX/lib/libXext.so.6.4
/usr/lib/libXcomp.so.2                 /usr/lib64/NX/lib/libXcomp.so.3
/usr/lib/libXcompext.so               /usr/lib64/NX/lib/libXcompext.so.3
/usr/lib/libXrender.so.1.2              /usr/lib64/NX/lib/libXrender.so.1.2.2

So I make a link in /usr/lib linking to those library in /usr/lib64/NX/lib/, now if I
run "nxloadconfig --check" again, it shows

--------------------------------------------------------------------------------------------------------
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
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_CDE=cdwm"
         Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
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.
--------------------------------------------------------------------------------------------------------

What I am really confusing is why is said "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."
What is it asking for? What do I need to install to remove this error? Anyway, even
with this error, I can still logon and run application, but the main problem is
wheven I open terminal or run any command, it returns: ERROR: ld.so: object '/usr/lib//libnxredir.so.0' from LD_PRELOAD cannot be preloaded: ignored.
sometimes repeats 10 times.



More information about the FreeNX-kNX mailing list