public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] NX* recommendation / help
Date: Thu, 25 Jun 2009 10:54:01 -0500	[thread overview]
Message-ID: <58965d8a0906250854p7dfbdd5ej516c91e2837e0e0e@mail.gmail.com> (raw)
In-Reply-To: <tkrat.762ef72cd9d5ee9c@igpm.rwth-aachen.de>

On Thu, Jun 25, 2009 at 10:33 AM, Helmut
Jarausch<jarausch@igpm.rwth-aachen.de> wrote:
> On 25 Jun, Paul Hartman wrote:
>> On Thu, Jun 25, 2009 at 2:18 AM, Helmut
>> Jarausch<jarausch@igpm.rwth-aachen.de> wrote:
>>> I have been using net-misc/nxserver-freeedition / nxclient for quite
>>> some time and it was working great (over an DSL line)
>>>
>>> But, some time ago, all of a sudden, it stopped working (some task died)
>>
>> Check in your user ~/.nx/ directory and delete old sessions... I had
>> the problem where NX would connect and then timeout before ever
>> loading a desktop environment. Deleting all of the old sessions fixed
>> it for me.
>
> Thanks, but on one machine, at least, I get those errors messages which
> are driving me nuts
>
> NX> 203 NXSSH running with pid: 14256
> NX> 285 Enabling check on switch command
> NX> 285 Enabling skip of SSH config files
> NX> 285 Setting the preferred NX options
> NX> 200 Connected to address: 134.130.161.252 on port: 22
> NX> 202 Authenticating user: nx
> NX> 208 Using auth method: publickey
> NX> 204 Authentication failed.
>
> (I did nxsetup --clean --install --setup-nomachine-key --purge
> and with nxclient I've set the key to 'Default'
> I'm stuck.

Hi Helmut,

Be sure the "nx" user has a password set. Any password. It doesn't
matter what, as long as it has one. (it actually uses publickey so the
password is irrelevant, but sometimes it won't connect without one)

Otherwise I would double-check that your keys match. Check
/usr/NX/share/keys/default.id_dsa.key on the server and compare it to
the key you have in your nxclient.

Furthermore, if you have PAM authentication disabled in your sshd, you
need to use the internal user and password database and explicitly add
users and passwords to it. At least on my system that's what I had to
do.



      reply	other threads:[~2009-06-25 15:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25  7:18 [gentoo-user] NX* recommendation / help Helmut Jarausch
2009-06-25  8:47 ` David
2009-06-25 10:04   ` Helmut Jarausch
2009-06-25 13:17     ` David
2009-06-25 15:11 ` Paul Hartman
2009-06-25 15:33   ` Helmut Jarausch
2009-06-25 15:54     ` Paul Hartman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=58965d8a0906250854p7dfbdd5ej516c91e2837e0e0e@mail.gmail.com \
    --to=paul.hartman+gentoo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox