On Sun, Aug 15, 2010 at 11:17 AM, gaohu <tigerheight@xxxxxxxxx> wrote:
> I have installed freenx with this article
>
> http://wiki.centos.org/HowTos/FreeNX
>
> but when I use freenx-client on windows to connect to server,
> I always get an "freenx Authentication failed."
You appear to have missed a step or configured the auth bits
incorrectly. The NX user is the user who authenticates via ssh, and
you authenticate via nx to the proper session. Go through the steps in
the wiki again carefully and double check the logs to see who you're
attempting to authenticate as. I'd bet you're trying to auth as your
user instead of as the nx user and since the wiki states that only the
nx user is authorized (via the AllowUsers nx statement) auth is
failing for that reason.
--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos ==========================================================================
My config as follows:
1. config sshd config, I
add
PasswordAuthentication no AllowUsers nx ---> nx is not an actual user in my system. 2. add user, I config
nxserver --add user gaohu <--- gaohu is a
common user on my system, and can connect via ssh with isa
key
, (and password also works before I use ssh key to audit.)
then re config sshd config file,
set
AllowUsers nx
gaohu
one thing I
can not understand is sshd default use /home/myuser/.ssh/authorized_keys, file but nxserver generate the key at/home/myuser/.ssh/authorized_keys2 file, should I do other settingsin sshd config file to support this?3.then I install the client and copy /etc/nxserver/client.id_dsa.key file contentto the key window.That's all.but when I run nxserver --test ? I just got permission denied ? why?following is my sshd_config file, Could any one help?==================== ===================================== |
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos