How do I enable freenx/nxserver?

Ryan Rempel rgrempel at gmail.com
Fri Sep 23 10:01:40 PDT 2005


On 9/23/05, dewey hylton <freenx at deweyonline.com> wrote:
>
> Quoting Bjarne Wichmann Petersen <freebsd.nospam at mekanix.dk>:
>
> > On Thursday 22 September 2005 15:49, dewey hylton wrote:
> >
> > > > 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//users.id_dsa.pub.
> > > > 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 ...pw: option requires an argument -- g
> > > > pw: unknown switch
> > > >
> > > > Now, what do I do?
> > > >
> > > > Bjarne
> > > what version of freenx are you running, and was it installed via
> package
> > or
> > > port or manually?
> >
> > Installed through ports (actually portinstall with the -P switch). The
> > version
> > is 0.4.4.
>
> i don't see anything in the code that should give your results; i'll setup
> another test box and install via packages to see if there are any
> differences.
> and of course if i locate the problem i'll submit an update.

 Just to add another data point, I'm seeing exactly the same issue on my own
FreeBSD 5.4 setup. I haven't spent much time troubeshooting, but it looked
as though the UID and GID paramter for some of the pw invocations wasn't
been set to anything -- I suppose I should have tried specifying them as
arguments to nxsetup.


More information about the freebsd-ports mailing list