[FreeNX-kNX] Error trying to start nxserver

Doug Burks mubley at gmail.com
Wed Oct 6 13:45:12 UTC 2004


It appears that the nx user account is configured correctly and has
the necessary permissions because we see the following in
/var/log/messages:
Oct  4 17:50:11 cleopatra sshd[17835]: Accepted publickey for nx from
192.168.1.1 port 2800 ssh2

However, there's nothing after that; no "accepted password for laura"
or "failed password for laura".

My understanding of the NX login process is as follows (someone please
correct me if I'm wrong):
1.  NX client connects to SSH port of NX server.
2.  NX client attempts to login as user nx with publickey (either
NoMachine's key or the one generated by nxsetup and copied to the NX
client).
3.  If nx user login successful, nxserver is executed as user nx.
4.  NX client transmits username and password to nxserver, which
passes these credentials to nxnode-login.
5.  nxnode-login uses these credentials to SSH to localhost
(127.0.0.1) and attempt to login.

You're definitely getting through step 2 successfully.  We should
manually test the rest of the steps to see if there is a failure
somewhere.

Here's the nxnode-login code from nxserver:
echo "$PASS" | $NX_DIR/bin/nxnode-login "$USER at 127.0.0.1"
"-p$SSHD_AUTH_PORT" --check

You can manually test this step of the process by doing the following:
(assumes username is "laura" and password is "lauraspassword")
echo lauraspassword | /usr/NX/bin/nxnode-login "laura at 127.0.0.1" "-p22" --check

Then do:
tail /var/log/messages
tail /var/log/secure

and capture the output to see if nxnode-login is able to login as laura or not.

Thanks,
Doug


On Tue, 5 Oct 2004 14:52:00 -0400, Laura Thurber <laura.thurber at trx.com> wrote:
> I've no idea if it's auth differences, or just that when I connect something involved in  the nxserver is having authorization problems.  I recall seeing somewhere during one of my initial attempts to get Nx running that the system required a user 'nx', and at that point I created one.  However, I removed that user before starting on the quest to compile from source, and any user by that name now must have been created by nxsetup.
> 
> I don't believe that there is a precompiled binary - I use Slackware 9.0.
> 
> What permissions should the nx user have?  Perhaps I can check things that way.
> Thanks!
> -Laura
> 
> 
> 
> 
> -----Original Message-----
> From: Christian Fischer [mailto:Christian.Fischer at fischundfischer.com]
> Sent: Tuesday, October 05, 2004 3:12 PM
> To: Doug Burks
> Cc: freenx-knx at kde.org; Laura Thurber
> Subject: Re: [FreeNX-kNX] Error trying to start nxserver
> 
> On Tuesday 05 October 2004 20:13, Doug Burks wrote:
> > Hi Christian,
> >
> > Thanks for pointing that out.  I've only used FreeNX on Knoppix and
> > Redhat-derivatives, so I was unaware of this diff.  So it appears that
> > /usr/NX/home/nx/ is a valid path for Laura's installation.
> >
> > Do you have any experience with the problems that Laura is seeing?
> No. I don't use windows, i don't know nothig about the auth differences
> _______________________________________________
> FreeNX-kNX mailing list
> FreeNX-kNX at kde.org
> https://mail.kde.org/mailman/listinfo/freenx-knx
>



More information about the FreeNX-kNX mailing list