I have been trying to get various versions of NX server and NX client to connect for some time. I tried FreeNX with NX Client, and gave up on it in frustration. I installed nxclient-2.1.0-9.i386.tar.gz, nxnode-2.1.0-7.i386.tar.gz, and nxserver-2.1.0-9.i386.tar.gz on my Mandriva 2006 system. On my laptop I installed the .deb version of the client.
I added a NX user with the useradd command. When I try to connect with the client on Xubuntu 6.06 ( my laptop ) this is the error I always get.
NX> 203 NXSSH running with pid: 4885
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.1.21 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
It appears to me in is user NX that is failing. I don't have a clew how this authentication is supposed to work for this user. I created a password for my user, and enter that on the NX client.
I can not find much useful documentation on this product. I did some reading in the admin guide on NoMachines web site, but it doesn't explain much about adding users, managing keys, and how to trouble shoot this type of problem.
I guess the question is how do I fix user NX not authenticating? Is this some kind of a keys issue? If so, what is the correct way to create keys, and how to install them?
Just for the record, I can ssh from the laptop to the server, I have that working with RSA keys, so I don't have to enter a user or password. I can also ssh from the server to the laptop, I use a user and password in this direction. I have even forwarded the video from the laptop to the server, and run XMMS over the connection. Basically, ssh works. I know it has to for NX to work.