[CentOS] xterm clones on VNC problem

Mon Feb 15 04:43:20 UTC 2010
Les Mikesell <lesmikesell at gmail.com>

Emmanuel Noobadmin wrote:
> Just an update, finally got some spare time to try doing this again.
> 
> Nothing better than a clean install right?
> 
> So I  yum remove nx freenx and reinstalled it.
> 
> Then following the wiki instructions, I proceeded to cp the conf
> file... only to discover, there is no conf file. Although I
> distinctively remember seeing them in my last attempt.

There should be an /etc/nxserver/node.conf.sample that you can copy to node.conf 
if you want to change some defaults.  But it should work with the defaults.

> Repeated the uninstall install process again, still no conf file.
> 
> So next I tried downloading the .rpm from Nomachine just in case for
> some reason those in repos was missing the conf file by some accident.
> That made me realize that the Nomachine versions had 3 files,
> nxclient, nxnode and nxserver, but the Centos version seems to be
> missing nxnode?

$ rpm -q --whatprovides /usr/bin/nxnode
freenx-0.7.3-2.el5.centos

On some of my machines I have only:
freenx-0.7.3-2.el5.centos
nx-3.3.0-14.el5.centos
and some also have
nxclient-3.3.0-6 but it is not necessary.

> Nevertheless, after downloading and I installed the nxclient since
> nomachine says it contains tools used by nxnode which in turn contains
> tools used by nxserver. However when I got to nxserver, it failed with
> errors that the nx user already exist. After userdel nx, doing rpm
> erase and install of the package seem to work.
> 
> But i still have no conf file, and obviously freenx client still
> doesn't connect.

That's not 'obvious' because it should work with defaults.  What do you see in 
the detail after the error? The only  things that might keep you from connecting 
are not permitting both key and password authentication on ssh and not having 
the key for the nx user (from /etc/nxserver/client.id_dsa.key) installed in the 
client.  Maybe you need to:
service freenx-server start
I've forgotten if it starts by default.

-- 
   Les Mikesell
    lesmikesell at gmail.com