SiD3WiNDR Gears  Hacker Emblem  
FreeNX on Debian Sarge
Date: October 5th, 2006 by SiD3WiNDR
Categories: Debian, Linux, Networking

I just set up FreeNX on my Sarge machine and it works really nice! I was hoping it would be able to "receive" remote desktop (rdc) connections and channel it to an X server (to use standard Windows CE/TS thin clients with a Linux server). I found the .deb’s too late, and as such followed another howto for Ubuntu .

Here’s how I did it on Sarge:

apt-get install cdbs autotools-dev patchutils autoconf bzip2 zlib1g-dev libpng12-dev libjpeg-dev xlibs-dev libfreetype6-dev libmikmod2-dev libssl-dev libxaw7-dev automake1.9 automake1.4 expect tcl8.4 netcat ssh build-essential dpatch

Add the following to /etc/apt/sources.list: deb-src http://debian.tu-bs.de/project/kanotix/unstable/ sid nx

apt-get source nx freenx
cd nx-1.4.92+1.5.0

sed -i s/debhelper\ \(\>=\ 5.0.0\)/debhelper\ \(\>=\ 4.2.0\)/ debian/control
export DH_COMPAT=4
dpkg-buildpackage

cd ../freenx-0.4.4+0.4.5

sed -i s/debhelper\ \(\>=\ 5.0.0\)/debhelper\ \(\>=\ 4.2.0\)/ debian/control
sed -i s/openssh-server,\ openssh-client/ssh/ debian/control
dpkg-buildpackage

cd ..; dpkg -i *deb 

Edit /etc/nxserver/node.conf and add the following line:

COMMAND_XAUTH=/usr/bin/X11/xauth

If you want to use SSH authentication instead of FreeNX’s own passdb backend put the following lines in there as well:

ENABLE_PASSDB_AUTHENTICATION="0"
ENABLE_SSH_AUTHENTICATION="1" 

Fetch the 1.5 client for Windows (2.0 from Nomachine doesn’t work). Enter the correct details (enable "encrypt all data" if you want it to work through firewalls and NATs — that way you just have to open up SSH and be done with it). Enjoy!


Incoming Links (via Technorati):
Nothing Reported

Comments are closed.

Weblog Calendar
November 2024
M T W T F S S
« Aug    
 123
45678910
11121314151617
18192021222324
252627282930  
Sales
Pages
Archives
Categories
Links
Meta
© 2002-2024, SiD3WiNDR - Proudly powered by WordPress - XHTML Compliant - RSS (Entries) - RSS (Comments)