FreeNX on debian

Share your own howto's etc. Not for support questions!

FreeNX on debian

Postby yanik » 2005-01-06 13:28

This is so cool, I took the instructions from the Ubuntu forum and I tested it. Take note that I'm on SID.
For those who don't know what FreeNX is, freeNX is a remote desktop protocol, like VNC. Unlike VNC, FreeNX compresses at the X protocol level, giving it a much better experience over low-bandwidth (and high bandwidth) line. To give you an idea of FreeNX's power, I can use Smooth Scrolling in Firefox over a dial-up line without excessive jerking. Over cable/dsl lines, you can barely notice that you're not actually at the system.

Server side (your desktop)

Let's add a line to /etc/apt/sources.list

Code: Select all
deb experimental main

Code: Select all
apt-get update

Code: Select all
apt-get install nxserver freenx

Code: Select all
nxsetup --setup-nomachine-key

Check to see if the server is running with

Code: Select all
nxserver --status

Now make sure you have ssh running

Code: Select all
/etc/init.d/ssh start

And make sure your firewall won't block anything. I don't know if this is necessary, but I did enable remote login in GDM.

Client side

Not much to do here. If it's a windows machine, get the client here or go here for any other ( I didn't tried any others)
You might want to enable SSL in your client.


As a reference, here is the thread
Note that I changed the apt source because the one provided in the thread now miss some packages.

Tell me if it works for you, I tried my best but I might have missed a step :roll:

Posts: 22
Joined: 2005-01-03 16:01
Location: Montreal, Québec, Canada

Postby Guest » 2005-09-15 13:14

Thanks for the tips you give here. Unfortunately, the repository you quote does not work anymore in debian. Do you know of a new one?



Postby pigah » 2005-09-15 13:55

I don't know about stable and experimental, but for unstable:
Code: Select all
deb unstable main
Posts: 189
Joined: 2005-03-29 23:20

Postby Guest » 2005-09-15 13:57

that's the problem with unofficial repos... It still supposed to be up, nothing on their site indicate they have shut it down.

I had forgotten about freenx. I now use x11vnc. Wanna try it?

x11vnc shares your current desktop (ie: display:0 ) on a vnc link. It's not that slow compared to freenx, but it is slower. Anyway, here's the how-to

let's install it
Code: Select all
nixbox:/home/yanik#apt-get install x11vnc

now create a password
Code: Select all
nixbox:/home/yanik#x11vnc strorepasswd xxxxxx .vncpass

if you use a firewall, make sure to open port 5900

now let's start the server:
Code: Select all
nixbox:/home/yanik#x11vnc -forever -q -bg -rfbauth /home/yanik/.vncpass -scale 1/2:n4 -display :0

-forever = don't stop the server after a client disconnect
-q = be quiet, not too many debug messages
-bg = go in sleep like mode if no one connects for a while
-rfbauth = use authentification
-scale = to downscale your display. I use 1600x1200, cut in half=800x600, makes it faster to draw and easier to work on older client. you can also try 3/4:n4. To be honest, I don't remember what the :n4 stand for!
-dispay = is which display you want to share.

On the client machine, you can use any regular vnc client, such as tightvnc or realvnc. Just point it to your IP. The default port is 5900, so you don't have to specify it.

Postby Guest » 2005-10-25 12:42

Anonymous wrote:that's the problem with unofficial repos... It still supposed to be up, nothing on their site indicate they have shut it down.

It's also the problem with repos that don't give out the package source.

commerical software now?

Postby Guest » 2006-02-17 16:56

i can't find where to download nxserver except from but it's commercial software now... Is there a free version somewhere?

Postby Guest » 2006-05-10 01:52

it's called freeNX and it's on the website..

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests