[FreeNX-kNX] How to compile FreeNX?
Sandra Schlichting
littlesandra88 at gmail.com
Fri Dec 2 13:20:44 UTC 2011
>> NXPREFIX=/usr/NX
>> mkdir -p ${NXPREFIX}/lib ${NXPREFIX}/bin
>>
>> cp -a nx-X11/lib/X11/libX11.so* ${NXPREFIX}/lib
>> cp -a nx-X11/lib/Xext/libXext.so* ${NXPREFIX}/lib
>> cp -a nx-X11/lib/Xrender/libXrender.so* ${NXPREFIX}/lib
>> cp -a nxcomp/libXcomp.so* ${NXPREFIX}/lib
>> cp -a nxcompext/libXcompext.so* ${NXPREFIX}/lib
>
> You need to set up the sonames properly
Does that mean that I should change "${NXPREFIX}" with "/usr/NX" for
all the commands?
>> cp -a nx-X11/programs/Xserver/nxagent ${NXPREFIX}/bin
>> cp -a nxproxy/nxproxy ${NXPREFIX}/bin
>
> You need to set up the wrappers with LD_LIBRARY_PATH
Does that mean
echo "/usr/NX/lib" > /etc/ld.so.conf.d/nx.conf
>> apt-get install subversion patch xutils-dev
>> svn checkout svn://svn.berlios.de/freenx/trunk
>> cd /root/trunk/freenx-server
>> patch -p0 < gentoo-nomachine.diff
>
> ????
I got that from trunk/freenx-server/INSTALL.
>> ----> Testing your nxserver configuration ...
>> 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/libXext.so.6.4:/usr/NX/lib/libXcomp.so:
>> /usr/NX/lib/libXcompext.so:/usr/NX/lib/libXrender.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.
>
> You need to set up the sonames and
> "# Where can different nx components be found"
> in nxloadconfig ifits changed.
If sonames is fixed as described above, do I then do to do something here?
> let me guess, you only want gnome
Yes =)
> sudo atp-get install expect
> but
> don't you have it as standard?? is it elsewhere ??
>
> try which expect
I needed to install it myself on Ubuntu Alternate 11.10 64bit
>> 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.
>
> mising binary or wrappers not set up correctly see above . . .
Replacing "${NXPREFIX}" with "/usr/NX" solved it, so I assume that was
correct. Why it worked, I don't understand.
> You don't compile FreeNX - its a series of scripts with
> an already compiles binary for named pipes.
Very impressive.
> You just unzip it into the correct location.
>
> 32 bit and 64 bit are the same unless you use /usr/lib64/NX
Does "make install" take care of all that?
> You need
>
> nxagent
> nxauth
> nxcomp
> nxcompext
> nxcompshad
> nxproxy
> nx-X11
>
> so you are missing a few.
>
> There's no advantage to using 64 bit over 32 bit.
No I see. When I downloaded all the source packages, and unpacked them
some of then (e.g. nxagent and nxauth) put its files in nx-X11 and got
compiled from there. So this step should be fine =)
More information about the FreeNX-kNX
mailing list