Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

FreeNX on debian

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
yanik
Posts: 22
Joined: 2005-01-03 16:01
Location: Montreal, Québec, Canada

FreeNX on debian

#1 Post by yanik »

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 http://archive.kalyxo.org/ 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 http://www.nomachine.com/download_fil2.php?Prod_Id=16 or go here for any other ( I didn't tried any others) http://www.nomachine.com/download.php
You might want to enable SSL in your client.

Conclusion

As a reference, here is the thread http://www.ubuntuforums.org/showthread. ... ght=freenx
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:

Yanik

Guest

#2 Post by Guest »

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?

Thanks

RJ

pigah
Posts: 189
Joined: 2005-03-29 23:20

#3 Post by pigah »

I don't know about stable and experimental, but for unstable:

Code: Select all

deb http://debian.bootsplash.de unstable main

Guest

#4 Post by Guest »

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.

Guest

#5 Post by Guest »

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.

Guest

commerical software now?

#6 Post by Guest »

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

Guest

#7 Post by Guest »

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

Post Reply