Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136240 - net-misc/nxserver-freenx -- Suggested README for quickstart setup
Summary: net-misc/nxserver-freenx -- Suggested README for quickstart setup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo NX Server project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-09 18:02 UTC by Clemmitt M. Sigler
Modified: 2007-04-19 22:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clemmitt M. Sigler 2006-06-09 18:02:57 UTC
Hi,

I've written a very short quickstart setup README for nxserver-freenx.  If you're interested in including this, I'd suggest it be installed as /usr/NX/share/documents/nxserver-freenx/README_setup.txt -- here it is:

---------------------------------------
/usr/NX/share/documents/nxserver-freenx/README_setup.txt --
   A quick-start guide to getting nxserver-freenx working.

==================================================================

Run the following commands as root:

1.) /usr/NX/bin/nxsetup --install --setup-nomachine-key --clean --purge

 -- This will set up the special user "nx", generate the necessary ssh
    keys, perform a few other set up tasks, and test your nxserver
    configuration

2.) /usr/NX/bin/nxserver --adduser your_nx_username
3.) /usr/NX/bin/nxserver --passwd your_nx_username

 -- This will add a regular user to the nxserver and set the password, so
    this user can log in using an NX client.

Now you're ready to go :)

==================================================================

The use of the NoMachine ssh keys for authentication (which are built into
the NX clients) is generally regarded as secure.  This makes it much easer to
connect from a client because you don't have to copy over any public keys to
get it to work.

However, you can take steps to try to make the setup more secure by
generating your own keys and distributing the public key(s) internally to
your NX users.  For more information on how to do this, see these URLs:

http://gentoo-wiki.com/HOWTO_FreeNX_Server  (IMHO, this HOWTO needs
                                             improvement)

http://madpenguin.org/cms/?m=show&opt=printable&id=5755
                                            (Excellent, see "Advanced setup")

http://applications.linux.com/article.pl?sid=06/05/05/1718238&tid=26&tid=47&tid=29
                                            (Look for "You can also use your
                                             own SSH keys for additional
                                             security.")
---------------------------------------

HTH.
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2006-11-04 16:55:06 UTC
Hi,

I'll add something to the NX Overlay wiki.

Best regards,
Stu
Comment 2 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2006-12-03 08:53:11 UTC
Changing bug state.
Comment 3 Bernard Cafarelli gentoo-dev 2007-04-19 22:32:32 UTC
> 1.) /usr/NX/bin/nxsetup --install --setup-nomachine-key --clean --purge
Good recommandation, this is now printed out by nxserver-freenx-0.6 ebuild at the installation end

> 2.) /usr/NX/bin/nxserver --adduser your_nx_username
> 3.) /usr/NX/bin/nxserver --passwd your_nx_username

It is now recommended to use real system users, which does make freenx work out of the box after the nxsetup step