Knowledge Base
Searching in : Article
ID: AR08K00684
Applies to: NX Server Products
Added on: 2013-08-08
Last Update: 2015-05-27

What to do when installing NX 3.5.0 on Suse 12.3 completes with "Error when trying to connect to NX server"

When installing NX Server 3.5.0 on openSuse 12.3, installation may finish with a warning like:

NX> 700 WARNING: Error when trying to connect to NX server, error is:
NX> 700 WARNING: nxsetup cannot validate the sanity of the current installation:
NX> 700 WARNING: the current system or NX configuration could be broken

In this case, the session fails to start.

The following workaround should help to make the server work properly.

1) First step

Edit the server configuration file, namely the /usr/NX/etc/server.cfg file in a default installation, and ensure that the value of the 'SSHAuthorizedKeys' key corresponds to the name of the SSH authorized keys file in use and specified in the SSHD configuration file.

Then restart nxserver by running from xterm or similar:

$ sudo /usr/NX/bin/nxserver --start

see also:  https://www.nomachine.com/AR10B00046


2)  Second step

Add the definition of  the hostname of your server machine in the /etc/hosts file:

IP hostname

For example, if your server is running on testdrive.nomachine.com host and has IP 153.10.1.23:

153.10.1.23  testdrive.nomachine.com