[CentOS] freenx

Tue Jan 24 04:18:57 UTC 2006
Craig White <craigwhite at azapple.com>

On Mon, 2006-01-23 at 18:46 -0600, Johnny Hughes wrote:
> On Mon, 2006-01-23 at 17:07 -0700, Craig White wrote:
> > On Mon, 2006-01-23 at 16:54 -0700, Craig White wrote:
> > > On Tue, 2006-01-24 at 00:49 +0100, Deim Ágoston wrote:
> > > > >> Try strace -p freenxpid -f -t -o /tmp/logfile
> > > > > ----
> > > > > awesome idea...how do you figure out the pid when...
> > > > >
> > > > > # ps aux|grep nx
> > > > > root     15218  0.0  0.1  4600  664 pts/5    S+   16:32   0:00 grep nx
> > > > >
> > > > > doesn't show a process id?
> > > > 
> > > > it doesn't show that freenx is running! Are you sure it's started? Try to
> > > > start it manulay with strace -o /tmp/logfile -f -t /usr/sbin/freenx
> > > > 
> > > > (or wherever you installed the binaries)
> > > ----
> > > # nxserver --status
> > > NX> 100 NXSERVER - Version 1.4.0-44 OS (GPL)
> > > NX> 110 NX Server is running
> > > NX> 999 Bye
> > > 
> > > (hey - I'm just the dummy that started fooling with it).
> > > 
> > > # strace -o /tmp/logfile -f -t /usr/sbin/nxserver --restart
> > > -bash: strace: command not found
> > > 
> > > I will figure out where it comes from and install it I guess
> > ----
> > this was pointless - outside of the great log file it created...the
> > trace was only of the nxserver -restart and nothing beyond that so no
> > useful information could be derived. I haven't a clue on which process
> > it would be - I presume that it all starts with an ssh connection...
> > 
> 
> OK ... lets start over :)
> 
> remove everything on the server and then do this on the server:
> 
> yum install nx freenx
> 
> Then download and install the latest client from nomachine.org on the
> client.
> 
> then ssh into the server from the client and on the server edit the
> file:
> 
> /etc/nxserver/client.id_dsa.key and copy/paste it into the Window that
> shows up when you press the "Key" button, then press "Save".
> 
> Make sure to check the box that says "Enable encryption of all traffic"
> 
> That should do it...
----
and a for what it's worth commentary here...(perhaps a suggestion for
the post-remove script for nx package)

yum remove freenx nx

removes the packages but leaves
/etc/nxserver
/var/lib/nxserver/home/.ssh/ # a bunch of files here

and the user nx also remains in the system though the user was created
in the post-install script.

I therefore - to achieve a clean install...

yum remove freenx nx
userdel nx
rm -fr /etc/nxserver
rm -fr /var/lib/nxserver

and then did an install
yum install freenx nx

to make sure the cruft was gone....

then re-imported client.id_dsa.key
into the nxclient application on my workstation before trying to connect

Still the same issue

Craig