[FreeNX-kNX] Authentication failure

Chetan Venkatesh chetan.venkatesh at gmail.com
Sun Sep 3 05:48:00 UTC 2006


I've ususally seen "Authentication failed" when the Keys were not setup up
correctly.  Suggest you use nxsetup using default nomachine key (on freenx
server and your client), get that working before you move to using your own
generated key pair.   The nexsetup help has the details on this








On 9/3/06, Yang <g07dgk502 at sneakemail.com> wrote:
>
> I didn't end up getting any useful responses for this thread (which I
> tried to resurrect once already), so I gave up on NX for a while, but
> today I decided to give it another go, and managed to get a tiny bit
> farther.
>
> The story up till now: I yum-installed freenx on an up-to-date FC5,
> and I can ssh in as user nx from my (Windows) client machine just
> fine, but the NX client fails to authenticate. The client is from
> http://www.nomachine.com/download-client-windows.php. It simply says
> "Authentication failed for user kunle" (the Details button is grayed
> out).
>
> Today I went ahead and did something that all the resources I'd found
> failed to mention:
>
> sudo nxserver --adduser kunle
> sudo nxserver --passwd kunle
>
> Now my client actually makes it all the way to "Authentication
> completed"! However, it stays at "Authentication completed" for more
> than half a minute before spitting out "Connection timeout." This time
> the Details button is enabled, so clicking on it shows the output I
> pasted below. (I also checked /var/log/nxserver.log but it was empty.)
>
> Does anybody have an idea what's going on? Any help would be greatly
> appreciated. Thanks in advance.
>
> Details:
>
> NX> 203 NXSSH running with pid: 3792
> 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: 128.30.76.188 on port: 22
> NX> 202 Authenticating user: nx
> NX> 208 Using auth method: publickey
> HELLO NXSERVER - Version 1.5.0-50 OS (GPL)
> NX> 105 hello NXCLIENT - Version 1.5.0
> NX> 134 Accepted protocol: 1.5.0
> NX> 105 SET SHELL_MODE SHELL
> NX> 105 SET AUTH_MODE PASSWORD
> NX> 105 login
> NX> 101 User: kunle
> NX> 102 Password:
> NX> 103 Welcome to: harvard.csail.mit.edu user: kunle
> NX> 105 listsession --user="kunle" --status="suspended,running"
> --geometry="1680x1050x16+render" --type="unix-gnome"
> NX> 127 Sessions list of user 'kunle' for reconnect:
>
> Display Type             Session ID                       Options
> Depth Screen         Status      Session Name
> ------- ---------------- -------------------------------- --------
> ----- -------------- ----------- ------------------------------
>
>
> NX> 148 Server capacity: not reached for user: kunle
> NX> 105 startsession  --link="wan" --backingstore="1" --nodelay="1"
> --encryption="1" --cache="8M" --images="32M" --media="0"
> --session="main" --type="unix-gnome" --geometry="1680x1020"
> --kbtype="pc102/en_US" --screeninfo="1680x1020x16+render"
>
> ssh_exchange_identification: Connection closed by remote host
> Killed by signal 15.
>
> On 8/29/06, Yang g07dgk502-at-sneakemail.com |freenx|
> <...> wrote:
> > Actually X forwarding is already enabled in my sshd_config. I also
> > just tested starting an xterm after ssh-ing into my regular account. I
> > don't know why it says that - perhaps the NX client is the one
> > disabling X forwarding?
> >
> > Yang
> >
> > On 8/29/06, Kevin Verheyen thepiano-at-telenet.be |freenx|
> > <...> wrote:
> > >
> > > You should enable X11 forwarding  in your sshd config file.
> > >
> > > Kevin
> > >
> > >
> > > Op 29-aug-06, om 06:23 heeft Yang het volgende geschreven:
> > >
> > >
> > > X11 forwarding disabled.
> > >
> > > ________________________________________________________________
> > >      Were you helped on this list with your FreeNX problem?
> > >     Then please write up the solution in the FreeNX Wiki/FAQ:
> > >
> > > http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
> > >          Don't forget to check the NX Knowledge Base:
> > >                  http://www.nomachine.com/kb/
> > >
> > > ________________________________________________________________
> > >        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
> > >       https://mail.kde.org/mailman/listinfo/freenx-knx
> > > ________________________________________________________________
> > >
> > >
> > ________________________________________________________________
> >      Were you helped on this list with your FreeNX problem?
> >     Then please write up the solution in the FreeNX Wiki/FAQ:
> >   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
> >          Don't forget to check the NX Knowledge Base:
> >                  http://www.nomachine.com/kb/
> >
> > ________________________________________________________________
> >        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
> >       https://mail.kde.org/mailman/listinfo/freenx-knx
> > ________________________________________________________________
> >
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/
>
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
>



-- 
______________________________________________________________________________________
To me, boxing is like a ballet, except there's no music, no choreography,
and the dancers hit each other.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20060903/c5debe2b/attachment.html>


More information about the FreeNX-kNX mailing list