<p></p><p>
----- Melding fra 7th_sign@soy-geek.com ---------<br />
    Dato: Wed, 30 Jul 2008 13:31:18 -0500<br />
     Fra: 7th Sign <7th_sign@soy-geek.com><br />
Svar-til: User Support for FreeNX Server and kNX Client
<freenx-knx@kde.org><br />
    Emne: Re: [FreeNX-kNX] first contact, FreeNX<br />
     Til: User Support for FreeNX Server and kNX Client
<freenx-knx@kde.org><br />
<br />
<br />
> Thanks<br />
>  I followed the wiki and the FreeNX is installed on my Red Hat EL, but
when<br />
> I try to connect I get this message:<br />
><br />
> NX> 203 NXSSH running with pid: 10645<br />
> NX> 285 Enabling check on switch command<br />
> NX> 285 Enabling skip of SSH config files<br />
> NX> 285 Setting the preferred NX options<br />
> NX> 200 Connected to address: 192.168.1.247 on port: 22<br />
> NX> 202 Authenticating user: nx<br />
> NX> 208 Using auth method: publickey<br />
> NX> 204 Authentication failed.<br />
><br />
> any ideas?<br />
><br />
</p><p>Please take a look at the FAQ (look at the bottom of this mail) for
potential solution(s).</p><p>Qouted from this FAQ:</p><h3>Why is it trying to
authenticate user 'nx' (while I'm trying to connect with user 'frank') and why
does the authentication fail?</h3>
<dl><dd> The nx user is the special user that the NX Client and Server
use. The SSH session is set up for that user. Once it creates the ssh
session and talks to the client, it spawns another session for your
real user, 'Frank'. Someone put it well - the nx user is used to set up
a connection so you can get to a login prompt. This nx session gets the
login parameters and uses them to create the session for your user. The
key for the nx user that is distributed with the nomachine client must
match the key that is installed with the server. That's why it is
simpler to use the --setup-nomachine-key option. That way you do not
have to change the key for the client. So, what you can do is forget
about the nx stuff and just try to create an ssh connection with the
server for the nx user. So for a connection to server 192.168.1.6:
</dd></dl><pre> # ssh -i /usr/NX/share/client.id_dsa.key
nx@192.168.1.6</pre><dl><dd>If that doesn't work, then you probably have the
keys
messed up on the server. It is either the old key from your last
install, or maybe a permission problem. Try running:
</dd></dl><pre> # nxsetup --install --setup-nomachine-key --clean
--purge</pre><pre>Regards,</pre><pre>Terje</pre><p>
</p>