LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Can't get NX client to connect to Nx Server (https://www.linuxquestions.org/questions/linux-server-73/cant-get-nx-client-to-connect-to-nx-server-503324/)

camorri 11-20-2006 12:43 PM

Can't get NX client to connect to Nx Server
 
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.
Code:

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.

acid_kewpie 11-20-2006 02:05 PM

yeah it looks like the rsa keys are failing. when you configure the nxserver you need to take the clients rsa key and install it on the server. this is for the "NX" user though, not your own user account. this is all part of the client configuration and if i remember right the gui clients kindly provide you the key and tell you where to put it.


All times are GMT -5. The time now is 08:34 PM.