Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61505 - freeNX - freeNX server available
Summary: freeNX - freeNX server available
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Stuart Herbert (RETIRED)
Depends on:
Blocks: 61874 63757
  Show dependency tree
Reported: 2004-08-24 06:20 UTC by Michael Imhof (RETIRED)
Modified: 2005-02-17 02:35 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Imhof (RETIRED) gentoo-dev 2004-08-24 06:20:18 UTC
The free NX server has been released, source packages can be found on the provided url.
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2004-08-24 14:27:06 UTC
It's amusing to see the commercial NX component replaced with a set of shell scripts ;-)

I have two reservations about adding FreeNX right now:

a) it looks like it depends upon the NX-1.4.0 beta libraries.  I don't feel good about adding those libraries to Portage just yet, and I don't like adding versions that stand little chance of ever being marked as stable.
b) FreeNX is missing encrypted connection support, which surprises me.

I'll have a play on Friday night, and then decide whether to add FreeNX or not.  Of course, you're welcome to come join the nx herd, and help out ;-)

Best regards,
Comment 2 Michael Imhof (RETIRED) gentoo-dev 2004-08-25 06:48:16 UTC
a) yep, it depends on the 1.4.0 libs...

b) didn't knew that

the point is: if freeNX works, many people want to have and use it, as it's free. if nomachine had an entry version without charging for it it would imho be another situation, but as the charge even for the smallest server they offer...

i think if freeNW works we should consider adding it ;)

and yeah, it's amusing that the functionality of the server can be rebuild using bash *g*

Comment 3 JG 2004-08-25 08:44:02 UTC
(b) i though nx does everything over ssh? so why should it need an extra encryption support?

Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2004-08-25 13:20:48 UTC
Don't get me wrong - I'm very keen to get FreeNX into the tree.  I have no problem with the fact that NoMachine may lose sales because there is a free alternative.

As to the encryption ... if you want the full details, read the freenx scripts.  They're well commented.

Best regards,
Comment 5 Stuart Herbert (RETIRED) gentoo-dev 2004-08-28 03:40:29 UTC
I've started work on incorporating freenx into Gentoo.  I'll post news of my progress into this ebuild.

The work involves:

adding net-misc/nx-x11 package to Portage (it compiles, will be later today)
adding nxclient-1.4.0 to Portage (I have an ebuild for this ready to commit)
adding net-misc/nxserver-freenx to Portage (I'll be basing it on #61877, but it needs a different patch to fit the way I want to do it)

If you can't wait, and want to play, take a look at bugs #61874 and #61877.  I won't be committing those ebuilds, but there's nothing to stop you playing with those for now.

Best regards,
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2004-08-28 03:41:46 UTC
Bah.  I should have said the net-misc/nxserver-freenx will be based on bug #61874, and not #61877.
Comment 7 Martin Honermeyer 2004-08-28 13:25:28 UTC
One interesting fact from the forums ( 

"The client binary is semi-required for correct operation. Without nxclient installed, clicking on the close button of the connecting client will not do anything." 

I didn't know this. In order to get suspending and termination of sessions (via close button) working, the nxclient application has be installed on the _server_ as well!

Sounds strange, but this seems to be the way NoMachine did it.
Comment 8 Stuart Herbert (RETIRED) gentoo-dev 2004-08-29 14:14:35 UTC
It's been this way for the commercial server since NX 1.3.0 was released.  If you take a look at the nxserver-* 1.3.2 ebuilds, you'll see that they list nxclient as a dep.

Strangely, the Debian package doesn't build the nxviewer or nxkbd binaries, and it doesn't install the nxscripts package either.  

Best regards,
Comment 9 Alexander Weber 2004-09-02 01:40:48 UTC
It seems the ebuild does not set the ownership of /usr/NX to nx - what seems to be needed (see forum Accordingly to this thread the following steps seem to be needed for a running FreeNX-Server:

chown -R nx:root /usr/NX
chmod u+x /usr/NX/var/db/*
Comment 10 Stuart Herbert (RETIRED) gentoo-dev 2004-09-08 12:12:55 UTC
These changes are now in the tree.  Please test, and let me know how you get on.

Be warned - FreeNX suspend / resume sessions do not work yet!

Best regards,
Comment 11 Stuart Herbert (RETIRED) gentoo-dev 2005-02-17 02:35:27 UTC
Closing old bug.