<br><br><div class="gmail_quote">On Sat, Jul 27, 2013 at 4:32 AM, <span dir="ltr"><<a href="mailto:chris@ccburton.com" target="_blank">chris@ccburton.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><tt><font><a href="mailto:freenx-knx-bounces@kde.org" target="_blank">freenx-knx-bounces@kde.org</a> wrote on 27/07/2013 04:50:24:<br>
<br>
[SNIP]</font></tt>
<br><div class="im">
<br><tt><font><br>
> Last login: Fri Jul 26 20:43:23 2013 from localhost.localdomain<br>
> [user@localhost ~]$ exit<br>
> logout<br>
> Connection to 127.0.0.1 closed.<br>
> -bash-4.1$<br>
> <br>
> So, that worked.<br>
</font></tt>
<br></div><tt><font>YUP - ssh is ok by the sound of it.</font></tt>
<br><tt><font>and</font></tt>
<br><tt><font>that means you have</font></tt>
<br><tt><font> the PASSDB
private key</font></tt>
<br><tt><font> and</font></tt>
<br><tt><font> permissions</font></tt>
<br><tt><font> correctly set up in your</font></tt>
<br><tt><font> ~/.ssh/authorized_keys</font></tt>
<br><tt><font>file.</font></tt>
<br>
<br>
<br><tt><font>So next you need to check the PASSDB password database
file</font></tt>
<br><tt><font>so</font></tt>
<br><tt><font>what is in:-</font></tt>
<br><tt><font> /etc/nxserver/passwords</font></tt>
<br><tt><font>????</font></tt>
<br>
<br><tt><font>NOTE:-</font></tt>
<br><tt><font>it ought to contain your username and md5 hashed password
in format:-</font></tt>
<br>
<br><tt><font>. . .</font></tt>
<br><tt><font>user-name:md5-hashed-password</font></tt>
<br><tt><font>. . .</font></tt>
<br><tt><font>other-user-name1:md5-hashed-password1</font></tt>
<br><tt><font>other-user-name2:md5-hashed-password1</font></tt>
<br><tt><font>other-user-name3:md5-hashed-password1</font></tt>
<br><tt><font>. . etc . .</font></tt>
<br>
<br><tt><font>*** so be careful what you do with it ***</font></tt>
<br>
<br>
<br>
<br><tt><font>If you run</font></tt>
<br>
<br><tt><font> echo "mypassword"|md5sum|cut
-d" " -f1</font></tt>
<br>
<br><tt><font>the output should match the hashed password field.</font></tt>
<br>
<br>
<br>
<br><tt><font>***** WATCH OUT FOR DUPLICATE ENTRIES etc *****</font></tt>
<br>
<br>
<br>
<br>
<br>
<br><tt><font>I'm not sure how you have organized your passwords.</font></tt>
<br>
<br><tt><font>The password hashed in the PASSDB file needs to be
the</font></tt>
<br>
<br><tt><font> SAME ONE you use
in the nxclient</font></tt>
<br>
<br><tt><font>but</font></tt>
<br><tt><font> needn't be the
same as your user password in Linux/FreeNX</font></tt>
<br>
<br><tt><font>because you are using key authentication to set up
your user session.</font></tt>
<br>
<br><tt><font>This is why it's such a mess cos there are</font></tt>
<br>
<br><tt><font> two password/databases</font></tt>
<br>
<br><tt><font>to track/sync/de-sync/keep secure</font></tt>
<br>
<br>
<br><tt><font>[SNIP]</font></tt>
<br>
<br>
<br><tt><font>good luck. Let us know how you get on.</font></tt>
<br></blockquote><div><br>The hashes match for the password. The permissions on the "passwords" file are 600 owned by nx:root<br><br>Yeah, I'm a bit baffled here as to why it's not working. My NXClient states that "The NX service is not available or the NX access was disabled on host x.x.x.x", and when you click on "Detail" it shows:<br>
<br>"Permission denied (publickey, gssapi-keyex,gssapi-with-mic).<br>NX> 280 Exiting on signal: 15 <br></div></div>