Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked
Date: Thu, 19 Mar 2009 15:03:37
Message-Id: 58965d8a0903190803l65afdb05lab53366f1d58f796@mail.gmail.com
In Reply to: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked by Joseph
1 On Wed, Mar 18, 2009 at 11:35 PM, Joseph <syscon780@×××××.com> wrote:
2 > Is anybody using nxserver-freenx?
3 > It compile fine but when I run a setup:
4 > nxsetup --install --setup-nomachine-key --clean --purge
5 > I get:
6 > ----> Testing your nxserver connection ...
7 > Permission denied (publickey,keyboard-interactive).
8 > Fatal error: Could not connect to NX Server.
9 >
10 > Please check your ssh setup:
11 >
12 > The following are _examples_ of what you might need to check.
13 >
14 > - Make sure "nx" is one of the AllowUsers in sshd_config.
15 > (or that the line is outcommented/not there)
16 > - Make sure "nx" is one of the AllowGroups in sshd_config.
17 > (or that the line is outcommented/not there)
18 > - Make sure your sshd allows public key authentication.
19 > - Make sure your sshd is really running on port 22.
20 > - Make sure your sshd_config AuthorizedKeysFile in sshd_config is set
21 > to authorized_keys2.
22 > (this should be a filename not a pathname+filename)
23 > - Make sure you allow ssh on localhost, this could come from some
24 > restriction of:
25 >
26 >
27 > log/messages prints:
28 > user nx not allowed because account is locked
29 >
30 > How to unlock the account?
31
32 passwd -u nx
33
34 I had to do the same thing.
35
36 Paul

Replies