[FreeNX-kNX] Timing Out
Andrew Villano
AVillano at incentient.com
Thu Aug 20 18:45:13 UTC 2009
Also an strace shows
poll([{fd=7, events=POLLIN}], 1, 5000) = 0 (Timeout)
gettimeofday({1250793874, 701186}, NULL) = 0
poll([{fd=7, events=POLLOUT}], 1, 0) = 1 ([{fd=7, revents=POLLOUT}])
send(7, "==\1\0\0\1\0\0\0\0\0\0\4mail\nincentient\3com"..., 37,
MSG_NOSIGNAL) = 37
poll([{fd=7, events=POLLIN}], 1, 5000
Warmest Regards,
Andrew Villano
Systems Specialist
Incentient LLC
________________________________
From: Andrew Villano [mailto:AVillano at incentient.com]
Sent: Thursday, August 20, 2009 2:29 PM
To: User Support for FreeNX Server and kNX Client
Subject: Re: [FreeNX-kNX] Timing Out
tail -f /var/log/nxserver.log shows nothing.
However, I am seeing entries in /var/log/secure
Aug 20 14:14:48 barolo sshd[11425]: Accepted publickey for nx from
75.127.217.67 port 31185 ssh2
Aug 20 14:15:08 barolo sshd[11425]: pam_unix(sshd:session): session
opened for user nx by (uid=0)
Aug 20 14:15:30 barolo sshd[11416]: pam_unix(sshd:session): session
closed for user nx
Aug 20 14:15:46 barolo sshd[11419]: pam_unix(sshd:session): session
closed for user nx
Aug 20 14:16:08 barolo sshd[11425]: pam_unix(sshd:session): session
closed for user nx
My node.conf
Only options
SSHD_PORT=12019
ENABLE_SSH_AUTHENTICATION="1"
NX_LOG_LEVEL=6
NX_LOG_SECURE=1
NX_LOGFILE=/var/log/nxserver.log
I touch'd /var/log/nxserver.log and chmod 777'd it and chown'd it to
nx....
Strange.........
Warmest Regards,
Andrew Villano
Systems Specialist
Incentient LLC
________________________________
From: chris at ccburton.com [mailto:chris at ccburton.com]
Sent: Thursday, August 20, 2009 11:38 AM
To: spiro at spidee.com; User Support for FreeNX Server and kNX Client
Subject: Re: [FreeNX-kNX] Timing Out
Spiro Stathakis <spiro.stathakis at gmail.com> wrote on 20/08/2009
16:32:21:
> Hi Andrew,
>
> Maybe put a call out on the list about debugging nxssh. It looks like
> nothing is getting through to the server.
>
That's what we were doing with ssh keys etc actually . . .
> It should help in eliminating the possibilities whether it is nxssh ,
> routing / network problem or something else.
> Sorry couldn't be more help :(
>
>
>
>
>
> 2009/8/20 Andrew Villano <AVillano at incentient.com>:
> > Nxserver.log is showing nothing even after enabling log level to 6
> and specifying the location of the logfile in node.conf
> >
> > Warmest Regards,
> >
> >
> >
> > Andrew Villano
> >
> > Systems Specialist
> >
> > Incentient LLC
> >
> >
> > -----Original Message-----
> > From: Spiro Stathakis [mailto:spiro.stathakis at gmail.com
<mailto:spiro.stathakis at gmail.com> ]
> > Sent: Thursday, August 20, 2009 11:06 AM
> > To: Andrew Villano; User Support for FreeNX Server and kNX Client
> > Subject: Re: [FreeNX-kNX] Timing Out
> >
> > Can you see what is happening on the server ?
> >
> > Login to the server accepting connections and turn on
> > logging in the /etc/nxserver/node.conf
> >
> > then:
> > tail -f /var/log/nxserver.log
> >
> > Make your connection from the client and see if anything is
> > coming through. You should at least see the initial ssh
authentication
> > taking place.
> >
> > I am no NX expert at all but generally
> > if ssh is getting through thats all you should be worried
> > about network wise. If I am wrong please correct me.
> >
> > Unfortunately I am not sure where the time out is.
> > I had a look in the session config and it is not there.
> > It may be related to /etc/ssh_config but not sure....
> >
> > Good luck.
> >
> >
> >
> >
> >
> > 2009/8/20 Andrew Villano <AVillano at incentient.com>:
> >> I've deleted cache through the program. I don't see a directory
though.
> >>
> >> How do I increase the timeout?
> >>
> >> Warmest Regards,
> >>
> >>
> >>
> >> Andrew Villano
> >>
> >> Systems Specialist
> >>
> >> Incentient LLC
> >>
> >> -----Original Message-----
> >> From: Spiro Stathakis [mailto:spiro.stathakis at gmail.com
<mailto:spiro.stathakis at gmail.com> ]
> >> Sent: Thursday, August 20, 2009 9:37 AM
> >> To: User Support for FreeNX Server and kNX Client
> >> Subject: Re: [FreeNX-kNX] Timing Out
> >>
> >> Can you delete / move the NX cache folder on the client?
> >>
> >>
> >> 2009/8/20 Andrew Villano <AVillano at incentient.com>:
> >>> My client connects to FreeNX servers on a different subnet (of
> which are on
> >>> the same subnet).
> >>>
> >>>
> >>>
> >>> I can telnet to the server in question and connect
> instantaneously. They key
> >>> is the same.
> >>>
> >>>
> >>>
> >>> The only delay in logging on in SSH is after entering
> credentials, the delay
> >>> lasts about 45 secs.
> >>>
> >>>
> >>>
> >>> I was using the same user accounts on all attempts.
> >>>
> >>>
> >>>
> >>> Warmest Regards,
> >>>
> >>>
> >>>
> >>> Andrew Villano
> >>>
> >>> Systems Specialist
> >>>
> >>> Incentient LLC
> >>>
> >>> ________________________________
> >>>
> >>> From: chris at ccburton.com [mailto:chris at ccburton.com
<mailto:chris at ccburton.com> ]
> >>> Sent: Thursday, August 20, 2009 3:31 AM
> >>> To: User Support for FreeNX Server and kNX Client
> >>> Subject: Re: [FreeNX-kNX] Timing Out
> >>>
> >>>
> >>>
> >>> Andrew Villano <AVillano at incentient.com> wrote on 19/08/2009
20:26:33:
> >>>
> >>>> Linux client connects within a few seconds.
> >>>>
> >>>> Same network route.
> >>>>
> >>>> I can connect with the same windows client to other linux
machines
> >>>> on the same subnet (with identical configurations). The linux
CLIENT
> >>>> was on the SAME subnet though.
> >>>>
> >>>> 1) Copied the key several times, its identical
> >>>> 2) I don't know what routing issue there could be, the ssh
> >>>> port is forwarded to the machine
> >>>> 3) I'm using putty to connect to the machine and I'm
currently
> >>>> connected fine.
> >>>>
> >>>> Very strange....
> >>>
> >>>
> >>> OK
> >>>
> >>> Your client connects to FreeNX servers on the same subnet, but not
to the
> >>> server in question on a different subnet, though it has done
> previously, but
> >>> taking a minute to log in.
> >>>
> >>> You can however telnet to the server on a different subnet
usingputty. Is
> >>> the connection instantaneous ??
> >>>
> >>> A linux client on the same subnet as the server in question can
connect
> >>> instantly using FreeNX.
> >>>
> >>> The key on the windows client is the same as the key on the linux
client.
> >>>
> >>>
> >>>
> >>>
> >>> If you telnet to the sshd port ( 22 default ) on the server from
> the windows
> >>> machine you should get an ssh prompt instantly
> >>>
> >>> SSH-2.0-OpenSSH_x.y or whatever. If it takes a minute or so
> then that would
> >>> be something to look at . . .
> >>>
> >>>
> >>>
> >>> When tou were connecting using the linux client from the same
> subnet as the
> >>> server, were you using the same user account or does the problem
move
> >>> following user accounts ??
> >>>
> >>>
> >>>>
> >>>> Warmest Regards,
> >>>>
> >>>> Andrew Villano
> >>>> Systems Specialist
> >>>> Incentient LLC
> >>>>
> >>>> From: chris at ccburton.com [mailto:chris at ccburton.com
<mailto:chris at ccburton.com> ]
> >>>> Sent: Wednesday, August 19, 2009 3:15 PM
> >>>> To: User Support for FreeNX Server and kNX Client
> >>>> Subject: Re: [FreeNX-kNX] Timing Out
> >>>>
> >>>>
> >>>>
> >>>> Andrew Villano <AVillano at incentient.com> wrote on 19/08/2009
19:37:03:
> >>>>
> >>>> > I can get a full working session from a linux client.
> >>>> >
> >>>>
> >>>> Right, server and keys working then. How long does the Linux
client
> >>>> take to connect.
> >>>>
> >>>> Is this over the same network route . . .
> >>>>
> >>>>
> >>>> > I can connect with the windows client to clients on the same
IP.
> >>>>
> >>>> How do you mean?? Client software to client software ??
> >>>>
> >>>> >
> >>>> > I got the hello nxserver prompt from ssh.
> >>>>
> >>>> We know it works from Linux.
> >>>>
> >>>>
> >>>> In order I would look at
> >>>>
> >>>> key mismatch on the windows machine
> >>>>
> >>>> routing issue windows client to server - timeouts or filtering on
> >>>> the server or packets going two ways
> >>>>
> >>>> windows software issue - try a windows ssh client eg http:
> >>>> //sshwindows.sourceforge.net/ or just re-install the windows
client
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> >
> >>>> > Warmest Regards,
> >>>> >
> >>>> > Andrew Villano
> >>>> > Systems Specialist
> >>>> > Incentient LLC
> >>>> >
> >>>> >
________________________________________________________________
> >>>> Were you helped on this list with your FreeNX problem?
> >>>> Then please write up the solution in the FreeNX Wiki/FAQ:
> >>>>
> >>>>
http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FA
Q
<http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_F
AQ>
> >>>>
> >>>> Don't forget to check the NX Knowledge Base:
> >>>> http://www.nomachine.com/kb/
<http://www.nomachine.com/kb/>
> >>>>
> >>>> ________________________________________________________________
> >>>> FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
> >>>> https://mail.kde.org/mailman/listinfo/freenx-knx
<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://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FA
Q
<http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_F
AQ>
> >>>
> >>> Don't forget to check the NX Knowledge Base:
> >>> http://www.nomachine.com/kb/
<http://www.nomachine.com/kb/>
> >>>
> >>> ________________________________________________________________
> >>> FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
> >>> https://mail.kde.org/mailman/listinfo/freenx-knx
<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://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FA
Q
<http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_F
AQ>
> >>
> >> Don't forget to check the NX Knowledge Base:
> >> http://www.nomachine.com/kb/
<http://www.nomachine.com/kb/>
> >>
> >> ________________________________________________________________
> >> FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
> >> https://mail.kde.org/mailman/listinfo/freenx-knx
<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://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FA
Q
<http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_F
AQ>
>
> Don't forget to check the NX Knowledge Base:
> http://www.nomachine.com/kb/
<http://www.nomachine.com/kb/>
>
> ________________________________________________________________
> FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
> https://mail.kde.org/mailman/listinfo/freenx-knx
<https://mail.kde.org/mailman/listinfo/freenx-knx>
> ________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20090820/ec9aedfe/attachment.html>
More information about the FreeNX-kNX
mailing list