netzary / neatx

Automatically exported from code.google.com/p/neatx
0 stars 0 forks source link

Connection lost after some minutes #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open new session
2. Wait some minutes
3. Screen freezes
4. Connection lost

What version of the product are you using? On what operating system?

Gentoo x86, 32-bit
# eix -I neatx
[I] net-misc/neatx
     Available versions:  (~)0.3.1_p43-r1
     Installed versions:  0.3.1_p43-r1(00:55:36 11/15/09)
     Homepage:            http://code.google.com/p/neatx/
     Description:         Google implementation of NX server

# eix -I netcat
[I] net-analyzer/netcat
     Available versions:  110-r8 {crypt ipv6 static}
     Installed versions:  110-r8(12:54:16 11/21/09)(crypt ipv6 -static)
     Homepage:            http://nc110.sourceforge.net/
     Description:         the network swiss army knife

Windows nx client from nomachine, latest version.
KDE4 remote session.

Please provide any additional information below.

# grep nx /var/log/messages  | tail -n 50
Nov 21 13:06:09 light nxserver[7996]: INFO nxserver:714 Starting netcat
(localhost:4826)
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Accepted connection from '127.0.0.1'.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Connection with remote proxy completed.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using WAN link parameters 768/24/1/1.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using agent parameters 5000/5/50/1/0.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using pack method 'none' with session 'application'.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using product 'Neatx-GPL'.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using ZLIB data compression 1/1/32.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using ZLIB stream compression 1/1.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: No suitable cache file found.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Listening to X11 connections on display ':826'.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Established X client connection.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using shared memory parameters 1/1/0/0K.
Nov 21 13:06:10 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using local device configuration changes.
Nov 21 13:06:13 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Screen [0] resized to geometry [1914x1031].
Nov 21 13:06:13 light nxnode[7478]: DEBUG session:288 Writing session
'7470B9418318BC8DE07B26305B9EA423' to
'/var/lib/neatx/sessions/7470B9418318BC8DE07B26305B9EA423/neatx.data'
Nov 21 13:06:13 light nxnode[7478]: INFO agent:388 Matched info geometry
change, new is '1914x1031'
Nov 21 13:06:13 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Session: Session resumed at 'Sat Nov 21 13:06:13 2009'.
Nov 21 13:06:13 light nxnode[7478]: INFO agent:407 Nxagent changed status
from 'waiting' to 'running'
Nov 21 13:06:13 light nxnode[7478]: DEBUG session:288 Writing session
'7470B9418318BC8DE07B26305B9EA423' to
'/var/lib/neatx/sessions/7470B9418318BC8DE07B26305B9EA423/neatx.data'
Nov 21 13:06:48 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Warning: No data received from remote proxy within 30 seconds.
Nov 21 13:06:48 light nxnode[7478]: WARNING agent:381 Agent warning: No
data received from remote proxy within 30 seconds.
Nov 21 13:08:18 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Error: No data received from remote proxy within 120 seconds.
Nov 21 13:08:18 light nxnode[7478]: ERROR agent:376 Agent error: No data
received from remote proxy within 120 seconds.
Nov 21 13:08:18 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Session: Display failure detected at 'Sat Nov 21 13:08:18 2009'.
Nov 21 13:08:18 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Session: Suspending session at 'Sat Nov 21 13:08:18 2009'.
Nov 21 13:08:18 light nxnode[7478]: INFO agent:407 Nxagent changed status
from 'running' to 'suspending'
Nov 21 13:08:18 light nxnode[7478]: DEBUG session:288 Writing session
'7470B9418318BC8DE07B26305B9EA423' to
'/var/lib/neatx/sessions/7470B9418318BC8DE07B26305B9EA423/neatx.data'
Nov 21 13:08:18 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Session: Session suspended at 'Sat Nov 21 13:08:18 2009'.
Nov 21 13:08:18 light nxnode[7478]: INFO agent:407 Nxagent changed status
from 'suspending' to 'suspended'
Nov 21 13:08:18 light nxnode[7478]: DEBUG session:288 Writing session
'7470B9418318BC8DE07B26305B9EA423' to
'/var/lib/neatx/sessions/7470B9418318BC8DE07B26305B9EA423/neatx.data'

Original issue reported on code.google.com by real...@gmail.com on 21 Nov 2009 at 7:20

GoogleCodeExporter commented 9 years ago
So, nxagent thinks it hasn't received any data from the client in 30s, and shuts
down. I've seen this sort of thing before, with both neatx and NoMachine's 
nxserver.
It comes down to either a network issue, or a bug in nxserver, but we were 
never able
to prove anything conclusive either way i'm afraid.

Original comment by kormat on 6 Dec 2009 at 12:47