Fix Authentication Failed error: Get FreeNX NoMachine NX working on Mint 4.0 or likely any Ubuntu or Debian based Linux
Wednesday, April 23rd, 2008Well I didn’t have a good time getting the NXSERVER from NoMachine to work right after downloading the .deb debian package files from their website, the client, the node, and the server module.
(Windows NX client dies/exits with this error:)
NX> 200 Connected to address: xx.xx.xx.xx on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
Apparently NX server installs the ssh keys in the wrong place, when you try to login with the NX client it looks in some /usr/NX/share/ instead of /usr/NX/etc/keys and the easy fix is to simply run /usr/NX/bin/nxserver –keygen and it will recreate keys in the right place, then just go and recopy the key from inside the client .key file in the shared keys directory and paste it in your NX CLIENT and the connection will then complete successfully. If you don’t know where nxserver is just try to do a whereis nxserver or which nxserver or use locate or do a find / -name nxserver
Well, I hope this helps someone get their FreeNX remote control software working because I sure don’t want anyone suffering through the pitiful performance of VNC!
Might I add that I find Mint to be a wonderful Ubuntu/Debian based distribution, highly recommended especially for those who don’t just need it as a server but also as their primary DESKTOP operating system. This Mint OS has it all, plays all your music, movies, DVDs out of the box. You can still install Automatix or any other Debian .deb packages or use the built-in excellent Synaptic package manager or the unique MintInstall to install popular software with one click of a button off an ever-growing list on the website.
I run Mint 4.0 as a VM (VMWARE Virtual Machine) under 64-bit CentOS x86_64 4.2 and its nice to know FreeNX supports file/printer sharing and multimedia for rerouting AUDIO from the server to the client.
Software Developers will LOVE the one click install of the ECLIPSE IDE and Mono .Net platform. If you thought Ubuntu was great, think of this as a special MINT version!