[CentOS] freenx

Tue Jan 24 05:48:21 UTC 2006
Les Mikesell <lesmikesell at gmail.com>

On Mon, 2006-01-23 at 23:38, Craig White wrote:

> > > 15556 16:54:59 stat64("/var/lib/nxserver/home/.ssh/authorized_keys2",
> > > 0xbfe2f4d0) = -1 ENOENT (No such file or directory)
> > > 15556 16:54:59 lstat64("/var/lib/nxserver/home/.ssh/authorized_keys2",
> > > 0xbfe2f3c0) = -1 ENOENT (No such file or directory)
> > 
> > Doesn't that file exist?  Or is this really a SELinux access
> > error?
> ----
> yes it exists. No - not an SELinux error. Just the nonsense from a
> useless strace.

It's not nonsense.  The system call told the app the file
doesn't exist.

> I think I know the issue.
> 
> I copied client.id_dsa.key to
> lin-workstation:/home/craig/.ssh/authorized_keys2 and still can't use
> Pubkey authentication as user nx - which tells me that the underlying
> system on the server isn't getting the value of the public key
> from /var/lib/nxserver/home/.ssh/

That's not surprising if it is failing to read the files
there.  Are they owned by user nx?

-- 
  Les Mikesell
   lesmikesell at gmail.com