EDV:FreeNX/NX-3.1.0-freenx-0.7.2

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

FreeNX 0.7.2 mit NX-3.1.0 backend

Dies ist nur eine Kurzanleitung.

vorher

aptitude install foomatic-db-engine foomatic-db
aptitude install smbfs
aptitude install x11vnc xvnc4viewer rdesktop

Download

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 

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

 wget http://64.34.161.181/download/3.1.0/Linux/nxclient_3.1.0-6_i386.deb
 wget http://64.34.161.181/download/3.1.0/Linux/nxnode_3.1.0-6_i386.deb
 wget http://64.34.161.181/download/3.1.0/Linux/FE/nxserver_3.1.0-5_i386.deb

NX-Installation

dpkg -i nxclient_3.1.0-6_i386.deb nxnode_3.1.0-6_i386.deb nxserver_3.1.0-5_i386.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 -xvf freenx-server-0.7.2.tar.gz
cd freenx-server-0.7.2

patch -p0 < gentoo-nomachine.diff
make

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"
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

FreeNX-Installation 2.Schritt

make install

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.
Warning: Invalid value "COMMAND_START_GNOME=gnome-session"
         Users will not be able to request a Gnome session.

  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