ComputerStuff > [[RemoteAccess]] > (([[NX]])) [[FreeNX]] est une implémentation serveur libre de (([[NX]])) en [[bash]]. http://freenx.berlios.de/ http://developer.berlios.de/projects/freenx/ ((http://osnews.com/story.php?news_id=8139 Interview: [[NX]] - Revolution of Network Computing?)) (traduction anglaise de l'((http://www.golem.de/0408/33026.html article en allemand))) Example: ((http://www.danka.de/printpro/[[NX]].html Amazing Konqueror Screenshots on [[Windows]] XP)) Sources: http://debian.tu-bs.de/knoppix/nx/freenx-0.4.0.tar.gz Packages (([[Debian]])) (outdated): ((http://www.kalyxo.org/twiki/bin/view/Main/[[FreeNX]] [[Debian]] unofficial packages)) at ~Kalyxo.org ((http://www.linuxcompatible.org/story33481.html Également accessible depuis)): <[The long awaited [[FreeNX]] server is finally here! Apt-get it from: deb http://www.freedesktop.org/~mornfall/debian/ experimental main you may try this link to found valid source: ((https://www.eng.uwaterloo.ca/twiki/bin/view/Linux/[[FreeNX]])) After installing it by apt-get install nxserver Run, as root nxsetup Then add your users (again as root), like nxserver --adduser username and "nxserver --passwd username The user must exist in the system database first. When you have done this, you can run nxclient (get it from http://www.nomachine.com).]> [[FreeNX]] est disponible sur (([[Knoppix]])) 3.6 (http://www.golem.de/0406/31957.html)). Il existe une ((https://mail.kde.org/mailman/listinfo/freenx-knx mailing list)). == Documentation == Pour LTSP: http://ltsp.criticalcontrol.com/freenx.html == Installation Serveur == === Packages === ==== [[Debian]] ==== J'ai un aptitude dist-upgrade sur ma Sarge, puis j'ai rajouté dans /etc/apt/sources.list la ligne: deb http://www.kalyxo.org/debian/ experimental main aptitude update donne une erreur: W: Couldn't stat source package list http://www.kalyxo.org experimental/main Packages (/var/lib/apt/lists/www.kalyxo.org_debian_dists_experimental_main_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to update the package lists to correct these missing files W: You may want to update the package lists to correct these missing files J'ai malgré cela fait aptitude install nxserver qui installe également les packages suivants: //libnxcomp0 libnxcompext0 nxagent nxproxy nxssh// Ensuite j'ai lancé nxsetup Puis j'ai crée un utilisateur //carl//: nxserver --adduser carl et je lui ai ensuite donné un mot de passe: nxserver --passwd carl J'ai commenté le repository sur kalyxo.org et fait aptitude update ==== Slackware ==== Sur http://www.linuxpackages.net/ rechercher freenx: wget http://ftp.scarlet.be/pub/linuxpackages/Slackware-10.0/X11/%20FreeNX_server/FreeNX_server-0.2.8-i486-1wo.tgz installpkg FreeNX_server-0.2.8-i486-1wo.tgz Installing package FreeNX_server-0.2.8-i486-1wo... PACKAGE DESCRIPTION: FreeNX_server: This is FreeNX server package. Read more about NX technology at FreeNX_server: www.nomachine.com (The oryginal autors of all backend libraries) FreeNX_server: This package was build from: FreeNX_server: nxcomp-1.4.0-30, nxcompext-1.4.0-3, nx-X11-1.4.0-10, nxauth-1.4.0 -2, FreeNX_server: nxagent-1.4.0-64, nxproxy-1.4.0-2, nxdesktop-1.4.0-61, FreeNX_server: nxviewer-1.4.0-4, freenx-0.28 FreeNX_server: Executing install script for FreeNX_server-0.2.8-i486-1wo... Run /opt/NX/bin/nxsetup to finnish setup of freeNX server Run nxsetup --help to see possible options If You have problems in authicate nx user with key-pair try to *SET* system password for nx user with passwd command This password *WILL NOT BE USED* so make it looong and tricky Unlike oryginal FreeNX, configuration of the server is located in /opt/NX/etc/node.conf file. Adjust it to suit Your needs You have set 'AllowTcpForwarding yes' in /etc/ssh/sshd_config This is serious security flaw when running NX server Set this patameter explicity to 'no' and restart sshd daemon === Depuis les sources === Procédure: http://fedoranews.org/contributors/rick_stout/freenx/freenx.txt Prérequis: Il faut les paquets suivants déjà installés: * openssh * expect * netcat (sous /Slackware, c'est nc) * perl * un serveur X (XFree ou XOrg) == Installation client non libre == J'ai d'abord essayé un client propriétaire de chez http://www.nomachine.be/ qui est packagé en .deb dpkg -i nxclient_1.3.2-7_i386.deb J'ai été voir avec Midnight Commander ce qu'il y avait dans le .deb, et j'ai trouvé des exécutables dans ///usr/[[NX]]/bin/// /usr/NX/bin/nxclient /usr/NX/bin/nxclient: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory Remède après recherche: aptitude install libstdc++2.10-dev The following NEW packages will be automatically installed: cpp-2.95 g++-2.95 gcc-2.95 libstdc++2.10-glibc2.2 J'ai ensuite lancé le client: /usr/NX/bin/nxclient & Et un wizard graphique démarre. Je suis les instructions et quand je lance, j'ai un splash screen de nomachine, puis un écran noir :( == Installation client libre: knx == Il faut récupérere les sources dans le ((http://developer.kde.org/source/anoncvs.html cvs de KDE)). un fois loggé, j'ai fait cvs co kdenonbeta/knx/ Ensuite, après avoir lu la doc cd kdenonbeta/knx/src make -f Makefile.cvs Et je dois installer d'autres packages: aptitude install autoconf automake1.6 Mais ça marche pas: make -f Makefile.cvs This Makefile is only for the CVS repository This will be deleted before making the distribution *** Creating list of subdirectories *** Creating configure.in make[2]: *** No rule to make target `configure.in'. Stop. make[1]: *** [cvs] Error 1 make: *** [all] Error 2 Alors j'essaye avec knoppix 3.6 qui a déjà le client installé. == Lectures == * ((http://www.linux-tip.net/cms/index.php?option=content&task=view&id=158 Remote access with [[FreeNX]] in 5 steps)), 30/01/2005 (pour Mandrake 10.1) * ((http://www.linux-tip.net/cms/content/view/177/6/ How to install [[FreeNX]] on Fedora Core3?)), 16/04/2005