FreeNX Setup on SuSE Linux Enterprise (SGI Altix 3000 Itanium 64bit)
I. FreeNX Server Setup
- Build NX Libraries
- Download NX sources
- Get all sources except nx-X11-compat.tar.gz from http://www.nomachine.com/sources.php
- Untar all sources, install all dependencies then do:
- $ cd nx-X11
- $ make World
- $ cd ..
- $ cd nxproxy
- $ ./configure && make
- Install the compiled libraries and binaries to /usr/local/freenx:
- $ NXPREFIX=/usr/local/freenx
- $ 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
- $ cp -a nx-X11/programs/Xserver/nxagent ${NXPREFIX}/bin
- $ cp -a nxproxy/nxproxy ${NXPREFIX}/bin
- *Note:* To compile those libraries, you need to have gtk-devel package installed.
- Build FreeNX Server
- Download FreeNX server source package:
- Download from: http://prdownload.berlios.de/freenx/freenx-server-0.7.3.tar.gz
- Compile FreeNX Server:
- $ cd freenx-
- $ patch -p0 < gentoo-nomachine.diff
- $ vi nxloadconfig
- NX_DIR=/usr/local/freenx
- PATH_BIN=$NX_DIR/bin
- PATH_LIB=$NX_DIR/lib
- $ export DESTDIR=/usr/local/freenx
- $ make
- $ make install
- $ cp node.conf.sample $DESTDIR/etc/node.conf
- Xdialog is required. You need to download and build from source.
- Download http://xdialog.free.fr/Xdialog-2.3.1.tar.bz2
- Follow the instructions to build and install it.
- Setup nxserver
- $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/freenx/lib
- $ export PATH=$PATH:/usr/local/freenx/bin
- $ nxsetup --install
- Fix sessreg
- $ vi /usr/local/freenx/etc/node.conf
- COMMAND_SESSREG="/usr/X11R6/bin/sessreg"
- Set font path on the server (NOTE: This is an import step, otherwise the Mac OS NX Clients cannot display the fonts properly.)
- $ vi /usr/local/freenx/etc/node.conf
- AGENT_EXTRA_OPTIONS_X="-nolisten tcp -fp /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi"
- Modify the display base:
- $ vi /usr/local/freenx/etc/node.conf
- See also:
- Install Free NX server
- Fonts and NX
II. FreeNX Server Administration
- Note: You need to operate as root and you need to export the env variables: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/freenx/lib; export PATH=$PATH:/usr/local/freenx/bin
- See also:NX Server Admin Guide
- Server management
- To start server:
- $ nxserver start
- To stop server:
- $ nxserver stop
- To restart server:
- $ nxserver restart
- User management
- To add a user
- $ nxserver --adduser <user>
- To delete a user
- $ nxserver --deluser <user>
- Replacing the Default SSH Key-Pair with Keys Generated for Your Server: See section 4.4. of NX Server Admin Guide
III. FreeNX Client Setup
- Windows Client:
- Download from: http://www.nomachine.com/download-client-windows.php
- Mac OS X Client:
- Download from: http://www.nomachine.com/download-client-macosx.php
- Linux Client:
- Download from: http://www.nomachine.com/download-client-linux.php
No comments:
Post a Comment