Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-20-2006, 01:43 PM   #1
Senior Member
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,966

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
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.
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: 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.
Old 11-20-2006, 03:05 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql client can't connect to server (5.0.22) scott.anderson Linux - Software 1 08-01-2006 03:32 PM
client cannot connect to server via http helpme0904 Linux - Newbie 7 07-07-2005 09:58 AM
can not connect to my pureftp server from Linux client, but i can from windows client bonito SUSE / openSUSE 5 03-16-2005 10:45 PM
Client wont connect to server odd Linux - Software 0 06-04-2004 05:49 PM
can't connect to linux server using X client netkepala Linux - Networking 7 01-06-2003 02:48 AM

All times are GMT -5. The time now is 02:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration