You are not logged in.

#1 2009-02-28 10:28:44

faidoc
Package Maintainer (PM)
From: Spain
Registered: 2009-02-18
Posts: 32
Website

FreeNX - Authentication failed.

Hi, I installed Freenx by pacman and I get this in a windows client:

NX> 203 NXSSH running with pid: 4856
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: 91.117.182.217 on port: 22
NX> 202 Authenticating user: nx

     NICE TO SEE YOU AGAIN FRIEND!!!

--
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.

I was looking in the freenx arch wiki post, but I cant solved my problem

Tell me what you need to help me, thanks

Offline

#2 2009-03-01 20:56:44

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: FreeNX - Authentication failed.

Ditto.

I actually created a new set of keys on the server and copied the client key over to my laptop. I still get the above sad

Is there something missing in the wiki? Followed the steps to the letter tongue

EDIT:

I use ssh using keys - that is working nicely (scratch head...)

Last edited by toad (2009-03-01 21:00:01)


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#3 2009-03-02 00:57:06

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: FreeNX - Authentication failed.

this happens to me every now and again and I have to reset the keys. The Wiki has a section on it under the Setup section. I think this is the command:

/opt/NX/bin/nxsetup --install --clean --purge

Also I only use the "default key", so regenerating it doesn't screw up any client keys or anything.


Matt

"It is very difficult to educate the educated."

Offline

#4 2009-03-02 11:44:48

faidoc
Package Maintainer (PM)
From: Spain
Registered: 2009-02-18
Posts: 32
Website

Re: FreeNX - Authentication failed.

I found this on the nomachine web

2.5. Getting the Node to Authenticate the Server

The NX Server public DSA Key must be added to the node to allow this server to connect to the node running on the remote host. Please note that in the current implementation, each node can be associated only to one server.

Copy the server public DSA key on the node host, for example:

 # scp /usr/NX/etc/keys/node.localhost.id_dsa.pub root@node_host:/tmp
 

The general form of the command to add the server public DSA key is:

 nxnode --keyadd KEY
 
 KEY is the path to the server public DSA key.
 
 For example: 
 
 nxnode --keyadd  /tmp/node.localhost.id_dsa.pub

I don't know if it works on FreeNX or even if this is the solution... I dont understand what to do

Offline

#5 2009-03-02 15:22:12

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: FreeNX - Authentication failed.

Ah, so that is the way to add a key? I'll try it 'cos even though I told my server to use the nomachine key as suggested by mrunion I didn't know how to do that on my client.

Will report back.


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#6 2010-06-23 05:39:18

gdw
Member
Registered: 2008-05-24
Posts: 7

Re: FreeNX - Authentication failed.

I had the same issue as the OP.  The solution was that the /home/NX/.ssh/authorized_keys file was owned by root, not by the user nx.  To fix, do a chown nx:nx authorized_keys.

Offline

Board footer

Powered by FluxBB