How do I enable freenx/nxserver?

Bjarne Wichmann Petersen freebsd.nospam at
Thu Sep 22 03:20:03 PDT 2005

I'm trying to get at nxserver running on my 5.4-box, but I'm totally confused 
now (been reading a ton of guides/howtos/tips that all say something 
different). Bottom line is: I can't get it to work.

I've installed freenx/nxserver from ports. I've tried running:

#/usr/X11R6/NX/bin/nxsetup --install --setup-nomachine-key --clean --purge

But it fails:
Generating public/private dsa key pair.
Your identification has been saved 
in /usr/X11R6/NX/etc/nxserver//users.id_dsa.
Your public key has been saved 
in /usr/X11R6/NX/etc/nxserver//
The key fingerprint is:
xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx root at xx.xx
Setting up /var/lib/nxserver/ ...done
Setting up /var/log/nxserver.log ...done
Setting up user nx option requires an argument -- g
pw: unknown switch

Now, what do I do?


More information about the freebsd-ports mailing list