[FreeNX-kNX] When will freenx for ubuntu 11.10 be ready?

Sandra Schlichting littlesandra88 at gmail.com
Wed Dec 14 10:15:16 UTC 2011


> As title. I had installed the freenx in ubuntu 11.04, the software runs
> well.
> But after trying to re-install the software in ubuntu 11.10, the
> installation fail.

I know there are feature requests to get FeeeNX into the official
Ubuntu repository, but for some reason this has never happened. It is
very strange that such a useful program isn't, when everything else
is.

Here is how to compile it for Ubuntu 11.10



Get all sources except nx-X11-compat.tar.gz from www.nomachine.com/sources.php

mkdir src
# wget all sources from www.nomachine.com/sources.php
rm src/nx-X11-compat-3.5.0-1.tar.gz
mkdir comp
cd comp
for f in ../src/*; do tar xzf $f;done

aptitude install build-essential

apt-get install expat fontconfig xterm zlib1g libgl1-mesa-dri
libgl1-mesa-glx libglu1-mesa libpng12-0 libdrm-intel1 libdrm-nouveau1a
libdrm-radeon1 libdrm2 libfreetype6

apt-get install zlib1g-dev libjpeg62 libjpeg62-dev libpng12-0-dev

cd nx-X11
make World
cd ../nxproxy
./configure && make
cd ..

mkdir -p /usr/NX/lib /usr/NX/bin

cp -a nx-X11/lib/X11/libX11.so* /usr/NX/lib
cp -a nx-X11/lib/Xext/libXext.so* /usr/NX/lib
cp -a nx-X11/lib/Xrender/libXrender.so* /usr/NX/lib
cp -a nxcomp/libXcomp.so* /usr/NX/lib
cp -a nxcompext/libXcompext.so* /usr/NX/lib
cp -a nxcompshad/libXcompshad.so* /usr/NX/lib

cp -a nx-X11/programs/Xserver/nxagent /usr/NX/bin
cp -a nxproxy/nxproxy /usr/NX/bin
cp -a programs/nxauth/nxauth /usr/NX/bin

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
#cp node.conf.sample /usr/NX/etc/node.conf
make
make install
/usr/NX/bin/nxsetup --install --setup-nomachine-key

chmod 744 /usr/NX/bin/nxshadowacl.sample

sed -i 's/COMMAND_MD5SUM="openssl md5"/COMMAND_MD5SUM="md5sum"/g'
/usr/NX/etc/node.conf

sed -i 's/NX_LOG_LEVEL=0/NX_LOG_LEVEL=7/g' /usr/NX/etc/node.conf

sed -i 's|#NX_LOGFILE=/var/log/nxserver.log|NX_LOGFILE=/var/log/nxserver.log|g'
/usr/NX/etc/node.conf

sed -i 's/#SESSION_LOG_CLEAN=1/SESSION_LOG_CLEAN=0/g' /usr/NX/etc/node.conf

chown root.root /usr/NX/bin/*
chmod 755 /usr/NX/bin/*



More information about the FreeNX-kNX mailing list