1

I had a remote server that I used to connect via NX client from a Windows XP machine.

Suddenly it stopped working and the quick fix option for me was to restore the remote server from a previous image where everything was working. I did that, but now the previous user's setup is failing authentication (including root). I had the system passwords reset, yet NX client would fail authentication. Does anyone have a clue about this behavior?

To solve that problem, I am trying to reinstall NXserver on the remote Linux Ubuntu 11.X.X server.

I am not a Linux techie (to be specific, I am an ASP.Net Project Manager), so please bear with me.

I get the following error on installing the NXServer .deb file for amd64:

# sudo dpkg -i nxserver_3.5.0-9_amd64.deb
Selecting previously deselected package nxserver.
(Reading database ... 138791 files and directories currently installed.)
Unpacking nxserver (from nxserver_3.5.0-9_amd64.deb) ...
dpkg: dependency problems prevent configuration of nxserver:
 nxserver depends on nxclient (>= 3.5.0); however:
  Package nxclient is not installed.
 nxserver depends on nxnode (>= 3.5.0); however:
  Package nxnode is not installed.
dpkg: error processing nxserver (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nxserver

Should I be downloading and installing the NXClient and NXNode on this server?

I want to be sure, because I don't want to mess up this server and as I can't handle the command line world that I am forced into right now.

Gareth
  • 19,080

1 Answers1

0

Yes, as you already figured out, you need to also install the nxnode and nxclient packages. That's what the error messages from dpkg were telling you.

nx does seem to be being stupid about failing its installation just because the nx user already exists. Try running deluser nx, and then running the installation again.

About the authentication failure you mentioned: nx can be configured to use the system user/password database, or its own database. Look for the EnablePasswordDB and EnableUserDB options in /usr/NX/etc/server.cfg, and read about those options in section 4 of the NX server admin guide, and also How does the NX login work? If NX is using its own user/password database, then you may have to reset that too.