[CentOS] Setting up a GUI remote access

Fri Apr 29 15:21:52 UTC 2011
Les Mikesell <lesmikesell at gmail.com>

On 4/29/2011 9:41 AM, Todd Cary wrote:
>
> I have FreeNX on my server now and NX Client from Nomachine on my
> XP desktop.  However my ssh is configured for PW access; not Key
> access.  My ssh clients work - that is I have access to the
> server.  However I cannot gain access via the Nomachine client.

First, why would you disable key authentication?  Or is it just failing 
because you don't have the right key?  Unlike the commercial NoMachine 
server, freenx generates a unique keypair so after the server install 
you have to get the contents of /etc/nxserver/client.id_dsa.key into the 
NX client key config.  You can either transfer the file and use the 
import button or get the text on the screen so you can paste it into the 
window and save it.

> My plan was to get FreeNX working with the password security
> first, and after that change the Nomachine client and the other
> ssh clients to Key access.  But I am stuck at the moment - not
> sure how to trouble shoot my inability to get access.

NX is designed to connect as the restricted nx user with passwordless 
key authentication, then use that encrypted channel to pass the real 
user credentials.  It might be possible to change that but it won't be 
easy.  If you have a real reason for disabling key authentication on the 
server in question, perhaps you could use some other computer on the LAN 
to host your desktop session, then use ssh x-forwarding to run what you 
need on the more restricted servers in windows on that desktop.

-- 
   Les Mikesell
    lesmikesell at gmail.com