[FreeNX-kNX] Re: libXcompext.so.3 missing due to libpng12.so.0 issue
cognitive.libertarian+ml at gmail.com
cognitive.libertarian+ml at gmail.com
Wed Apr 27 18:45:06 UTC 2011
* cognitive.libertarian+ml at gmail.com <cognitive.libertarian+ml at gmail.com> [2011-04-27 20:30]:
>
> > #!/bin/sh
> >
> > NXCOMMAND=$(basename $0)
> >
> > export LD_LIBRARY_PATH=/usr/lib/NX/lib${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}
> > exec /usr/lib/NX/$NXCOMMAND ${1+"$@"}
> >
> >
> > Should fix it.
> >
> > I do hope you are enjoying all this . . . ;)
>
> Thanks for the help. However, that wrapper only makes slight changes,
> and it does not turn out to make a difference. I still get:
>
> /usr/X11R6/bin/nxagent: error while loading shared libraries: libXcompext.so.3: cannot open shared object file: No such file or directory
>
I just realized I wasn't running your wrapper on that run. Now I am.
I do not have a /usr/lib/NX/ folder, but I have /usr/NX/lib/, so I
substituted that. And my wrapper is actually in /usr/X11R6/bin/. So
I had to modify your script to be:
#!/bin/sh
NXCOMMAND=$(basename $0)
export LD_LIBRARY_PATH=/usr/NX/lib${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}
exec /usr/X11R6/bin/$NXCOMMAND ${1+"$@"}
I don't understand the purpose of the recursion. Why is the wrapper
calling itself instead of nxagent? I was skeptical about running
that, because I expect it to get stuck in a loop of calling itself.
It does not get the nxagent error anymore, probably because nxagent is
not running. So it goes further without errors, but then ends with:
nxserver[3235]: ERROR nxserver:600 Session ECC124DBC1079BF2181F0AAB4361296D has not achieved waiting status within 30 seconds
nxserver[3235]: DEBUG protocol:172 >>> "NX> 500 Session didn't become ready in time\n"
nxserver[3235]: DEBUG protocol:172 >>> 'NX> 999 Bye.\n'
nxserver[3235]: DEBUG nxserver:701 No nxagent port, not starting netcat
nxserver-login[3227]: DEBUG auth:133 fdcopy exited (exitstatus=0, signum=None)
nxserver-login[3227]: INFO auth:142 Waiting for authenticated program to finish
nxserver-login[3227]: DEBUG auth:152 Authenticated program finished (exitstatus=0, signalstatus=None)
nxserver-login-wrapper[3223]: EOF on stderr, exiting
More information about the FreeNX-kNX
mailing list