Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Sep 2005 23:12:40 -0400
From:      dewey hylton <freenx@deweyonline.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: How do I enable freenx/nxserver?
Message-ID:  <1127704359.43376728002ee@webmail.hyltown.com>
In-Reply-To: <20050924120059.2425A16A420@hub.freebsd.org>
References:  <20050924120059.2425A16A420@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Fri, 23 Sep 2005 12:01:28 -0500
> From: Ryan Rempel <rgrempel@gmail.com>
> Subject: Re: How do I enable freenx/nxserver?
> To: dewey hylton <freenx@deweyonline.com>
> Cc: Bjarne Wichmann Petersen <freebsd.nospam@mekanix.dk>,
> 	freebsd-ports@freebsd.org
> Message-ID: <fb5ec423050923100150a6beab@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> On 9/23/05, dewey hylton <freenx@deweyonline.com> wrote:
> >
> > Quoting Bjarne Wichmann Petersen <freebsd.nospam@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@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.

a bugfix has been submitted to update the official ports tree:
http://www.freebsd.org/cgi/query-pr.cgi?pr=86560

sorry it took so long; i'm on a two-week holiday and am doing this work via
laptop in a hotel room :/

if you don't have the technical knowledge/ability to apply diffs (such as found
in the bug report above) and can't wait for the official ports tree to be
updated, you can get around the nxsetup problem by supplying both --uid and
--gid parameters during setup. for example:

/usr/X11R6/NX/bin/nxsetup --install --setup-nomachine-key \
   --clean --uid 5500 --gid 5500

thanks for all the reports.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1127704359.43376728002ee>