EDV:FreeNX/NX-3.2.0-freenx-0.7.2

From KIP Wiki
⧼kip-jumptonavigation⧽⧼kip-jumptosearch⧽

FreeNX 0.7.2 mit NX-3.2.0 backend

Dies ist nur eine Kurzanleitung.

vorher

aptitude install patch libc6-dev expect
aptitude install foomatic-db-engine foomatic-db
aptitude install smbfs
aptitude install x11vnc xvnc4viewer rdesktop

Download

Nomachine.com

Benötigt werden auch die Pakete von http://nomachine.com :

 wget http://64.34.161.181/download/3.2.0/Linux/FE/nxserver_3.2.0-11_i386.deb
 wget http://64.34.161.181/download/3.2.0/Linux/nxnode_3.2.0-8_i386.deb
 wget http://64.34.161.181/download/3.2.0/Linux/nxclient_3.2.0-9_i386.deb

FreeNX

FreeNX bekommt man von http://prdownload.berlios.de/freenx/freenx-server-0.7.2.tar.gz

wget http://download.berlios.de/freenx/freenx-server-0.7.2.tar.gz

oder über svn:

svn checkout svn://svn.berlios.de/freenx

NX-Installation

dpkg -i nx*.deb
chmod 755 /usr/lib/cups/backend/ipp

mv /usr/NX/bin/nxserver /usr/NX/bin/nxserver.nomachine
mv /usr/NX/bin/nxnode /usr/NX/bin/nxnode.nomachine

FreeNX-Installation 1.Schritt

tar-Paket

tar -xvf freenx-server-0.7.2.tar.gz
cd freenx-server-0.7.2

patch -p0 < gentoo-nomachine.diff
make
make install

svn

cd freenx/trunk/freenx-server/

patch -p0 < gentoo-nomachine.diff
make
make install

FreeNX Konfiguration

Nehmen wir die Beispiel-Konfigurationsdatei als Grundlage:

test -f /usr/NX/etc/node.conf || cp node.conf.sample /usr/NX/etc/node.conf
chmod 644 /usr/NX/etc/node.conf

Diese Konfig-Datei ändern wir, z.B.:

# grep -v "^#" /usr/NX/etc/node.conf | grep -v "^$"
NX_LOG_LEVEL=5
COMMAND_FOOMATIC=/usr/bin/foomatic-ppdfile
CUPS_IPP_BACKEND="$CUPS_BACKEND/nx"
COMMAND_START_KDE=/usr/bin/icewm-session
COMMAND_START_CDE=/usr/bin/icewm-session
COMMAND_XAUTH=/usr/bin/xauth
COMMAND_SMBMOUNT=/usr/bin/smbmount
COMMAND_SMBUMOUNT=/usr/bin/smbumount
COMMAND_NETCAT=/bin/netcat
COMMAND_MD5SUM="/usr/bin/md5sum"
COMMAND_RDESKTOP=/usr/bin/rdesktop
COMMAND_VNCVIEWER=/usr/bin/vncviewer
COMMAND_X11VNC=/usr/bin/x11vnc
ENABLE_EXTERNAL_NXDESKTOP="1"
ENABLE_EXTERNAL_NXVIEWER="1"
DEFAULT_X_SESSION=/etc/X11/Xsession

FreeNX-Installation 2.Schritt

touch /var/log/nxserver.log
( cd /usr/NX/lib && ln -s libXrender.so.1.2.2 libXrender.so.1.2 )

Testen wir die Konfiguration

# /usr/NX/bin/nxloadconfig --check
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.

  Warnings occured during config check.
  To enable these features please correct the configuration file.
ln -s /usr/NX/bin/nxclient /usr/local/bin/
ln -s /usr/NX/bin/nxsetup /usr/local/bin/
ln -s /usr/NX/bin/nxloadconfig /usr/local/bin/ 
ln -s /usr/NX/bin/nxserver /usr/local/bin/

Aktivierung der Installation

nxsetup --install --clean --purge