Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-20 Thread Paul Hartman
On Thu, Mar 19, 2009 at 6:29 PM, Joseph syscon...@gmail.com wrote: On 03/19/09 17:48, Paul Hartman wrote: Here is my understanding of how the NX bits all fit together: Think of it as a 2-step connection. The first step is connecting from the remote nxclient to the nxserver. For this step, it

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-20 Thread Joseph
On 03/20/09 10:07, Paul Hartman wrote: Hi, You need to copy the server's default key to the client. Copy /usr/NX/share/keys/default.id_dsa.key (NOT server.id_dsa.key) from the server into the nxclient (Configure - Keys - Import or paste it in). Thank you. Yes, I had that part correct. The

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Paul Hartman
On Wed, Mar 18, 2009 at 11:35 PM, Joseph syscon...@gmail.com wrote: Is anybody using nxserver-freenx? It compile fine but when I run a setup: nxsetup --install --setup-nomachine-key --clean --purge I get: Testing your nxserver connection ... Permission denied

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Joseph
On 03/19/09 10:03, Paul Hartman wrote: [snip] log/messages prints: user nx not allowed because account is locked How to unlock the account? passwd -u nx I had to do the same thing. Paul Yes, I tried it already: passwd -u nx passwd: unlocking the user would result in a passwordless

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Paul Hartman
On Thu, Mar 19, 2009 at 10:44 AM, Joseph syscon...@gmail.com wrote: On 03/19/09 10:03, Paul Hartman wrote: [snip] log/messages prints: user nx not allowed because account is locked How to unlock the account? passwd -u nx I had to do the same thing. Paul Yes, I tried it already:

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Paul Hartman
On Thu, Mar 19, 2009 at 10:51 AM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Thu, Mar 19, 2009 at 10:44 AM, Joseph syscon...@gmail.com wrote: On 03/19/09 10:03, Paul Hartman wrote: [snip] log/messages prints: user nx not allowed because account is locked How to unlock the

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Joseph
On 03/19/09 10:51, Paul Hartman wrote: Yes, I tried it already: passwd -u nx passwd: unlocking the user would result in a passwordless account. You should set password with usermod -p to unlock this user account. Password changed. What do you do next? When I try to run again: nxsetup

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Joseph
On 03/19/09 10:51, Paul Hartman wrote: So at this point I'm back to square one in log/messages I get: User nx not allowed because account is locked Oh, try to give user nx a password on your system. It uses ssh keys to login, so it doesn't even matter what the password is. Just don't make it

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Paul Hartman
On Thu, Mar 19, 2009 at 11:10 AM, Joseph syscon...@gmail.com wrote: On 03/19/09 10:51, Paul Hartman wrote: Yes, I tried it already: passwd -u nx passwd: unlocking the user would result in a passwordless account. You should set password with usermod -p to unlock this user account. Password

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Paul Hartman
On Thu, Mar 19, 2009 at 11:16 AM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Thu, Mar 19, 2009 at 11:10 AM, Joseph syscon...@gmail.com wrote: On 03/19/09 10:51, Paul Hartman wrote: Yes, I tried it already: passwd -u nx passwd: unlocking the user would result in a passwordless

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Joseph
On 03/19/09 11:16, Paul Hartman wrote: it accepted the password, now do I run the setup again: nxsetup --install --setup-nomachine-key --clean --purge If I try to login from another machine do I login as user nx? When I try to login from another machine on my network I get: Your guest account

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Joseph
On 03/19/09 11:29, Paul Hartman wrote: it accepted the password, now do I run the setup again: nxsetup --install --setup-nomachine-key --clean --purge If I try to login from another machine do I login as user nx? When I try to login from another machine on my network I get: Your guest account

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Paul Hartman
On Thu, Mar 19, 2009 at 11:38 AM, Joseph syscon...@gmail.com wrote: On 03/19/09 11:29, Paul Hartman wrote: it accepted the password, now do I run the setup again: nxsetup --install --setup-nomachine-key --clean --purge If I try to login from another machine do I login as user nx? When I try

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Joseph
On 03/19/09 13:07, Paul Hartman wrote: I think the user DB setting is in /usr/NX/etc/server.cfg No there is no such file or directory on the server; that is why I'm asking if after setting the password for user nx I should run this command again: nxsetup --install --setup-nomachine-key

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Paul Hartman
On Thu, Mar 19, 2009 at 2:17 PM, Joseph syscon...@gmail.com wrote: On 03/19/09 13:07, Paul Hartman wrote: I think the user DB setting is in /usr/NX/etc/server.cfg No there is no such file or directory on the server; that is why I'm asking if after setting the password for user nx I should

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Joseph
On 03/19/09 13:07, Paul Hartman wrote: In my sshd_config I've got: PermitRootLogin No RSAAuthentication no PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys PasswordAuthentication no PermitEmptyPasswords no ChallengeResponseAuthentication no UsePAM no Then in

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Paul Hartman
On Thu, Mar 19, 2009 at 5:29 PM, Joseph syscon...@gmail.com wrote: On 03/19/09 13:07, Paul Hartman wrote: In my sshd_config I've got: PermitRootLogin No RSAAuthentication no PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys PasswordAuthentication no

Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-19 Thread Joseph
On 03/19/09 17:48, Paul Hartman wrote: Here is my understanding of how the NX bits all fit together: Think of it as a 2-step connection. The first step is connecting from the remote nxclient to the nxserver. For this step, it uses the SSH key that you can put into nxclient. That only