jonlee836 / neatx

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

Session didn't become ready in time #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using Windows NXClient (3.3.0-6) to connect, UNIX-GNOME, LAN speed, all
other options default

What is the expected output? What do you see instead?
NX> 203 NXSSH running with pid: 2992
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: xx.xx.xx.xx on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.3.0 - GPL
NX> 105 Hello nxclient - version 3.3.0
NX> 134 Accepted protocol: 3.3.0
NX> 105 Set SHELL_MODE: SHELL
NX> 105 Set AUTH_MODE: PASSWORD
NX> 105 Login
NX> 101 User: 
NX> 102 Password: **********
Could not find ':' in DISPLAY: 
NX> 103 Welcome to: xx.xx.com user: frtam
NX> 105 Listsession --user="frtam" --status="suspended,running"
--geometry="1280x1024x32+render" --type="unix-gnome"
NX> 127 Session list of user 'frtam':
Display Type             Session ID                       Options  Depth
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------

NX> 148 Server capacity: not reached for user: frtam
NX> 105 Start session with: --link="lan" --backingstore="1"
--encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1"
--strict="0" --composite="1" --media="0" --session="xxx-frtam"
--type="unix-gnome" --geometry="1280x994" --client="winnt"
--keyboard="pc102/en_US" --screeninfo="1280x994x32+render"
NX> 500 Session didn't become ready in time
NX> 999 Bye.
NX> 280 Exiting on signal: 15

What version of the product are you using? On what operating system?
neatx svn (r17).  Ubuntu 9.04

Please provide any additional information below.
Followed INSTALL doc to the tee.
./configure without additional options
/usr/local/etc/neatx.conf only has "loglevel = debug" and protocol version
3.3.0

Original issue reported on code.google.com by fcc...@gmail.com on 17 Jul 2009 at 12:35

GoogleCodeExporter commented 8 years ago
I am following the same process now, so sharing tips more than solutions...

The message you get actually is rather "generic" There are quite a few things 
that 
can go wrong and lead to that message in the NX client. 

Take a look at system log (/var/log/syslog in Debian, for example). There is a 
detailed log of what happened.

In my case, first the path to nxagent was configured wrong. Then, once it was 
configured right (hand-tweaked constants.py file in site-packages/neatx/) path 
to the 
libs that nxagent needed were not configured etc etc.

So, start looking at system log on the server.

Original comment by suslikr...@gmail.com on 18 Jul 2009 at 8:33

GoogleCodeExporter commented 8 years ago
Thanks suslikreal. This is most likely a duplicate of 
http://code.google.com/p/neatx/issues/detail?id=3 . Let me know if not, and we 
can 
investigate more.

Original comment by kormat on 20 Jul 2009 at 5:29

GoogleCodeExporter commented 8 years ago
Thanks suslikreal.  Like kormat said, this is exactly a duplicate of
http://code.google.com/p/neatx/issues/detail?id=3

The detail syslog is copied below:

Jul 16 19:51:23 xxxxx nxnode[10094]: INFO daemon:486 Starting program,
executable=None, args=['/usr/lib/nx/nxagent', '-D', '-name', u'Neatx -
frtam@xxxxxxxxx.com:239 - xxxxx-frtam', '-options',
'/usr/local/var/lib/neatx/sessions/4DC60D46F42406BB343424710355CA03/options',
'-nolisten', 'tcp', ':239']
Jul 16 19:51:23 xxxxx nxnode-wrapper[10092]: Traceback (most recent call last):
Jul 16 19:51:23 xxxxx nxserver[10043]: DEBUG session:248 Loading session
4DC60D46F42406BB343424710355CA03 from
/usr/local/var/lib/neatx/sessions/4DC60D46F42406BB343424710355CA03/neatx.data
Jul 16 19:51:23 xxxxx nxnode-wrapper[10092]:   File
"/usr/lib/python2.6/dist-packages/neatx/node.py", line 309, in __XAuthDone
Jul 16 19:51:23 xxxxx nxnode-wrapper[10092]:     self.__StartNxAgent()
Jul 16 19:51:23 xxxxx nxnode-wrapper[10092]:   File
"/usr/lib/python2.6/dist-packages/neatx/node.py", line 340, in __StartNxAgent
Jul 16 19:51:23 xxxxx nxnode-wrapper[10092]:     self.__nxagent.Start()
Jul 16 19:51:23 xxxxx nxnode-wrapper[10092]:   File
"/usr/lib/python2.6/dist-packages/neatx/agent.py", line 230, in Start
Jul 16 19:51:23 xxxxx nxnode-wrapper[10092]:     pid = 
daemon.Program.Start(self)
Jul 16 19:51:23 xxxxx nxnode-wrapper[10092]:   File
"/usr/lib/python2.6/dist-packages/neatx/daemon.py", line 512, in Start
Jul 16 19:51:23 xxxxx nxnode-wrapper[10092]:     **kwargs)
Jul 16 19:51:23 xxxxx nxnode-wrapper[10092]: glib.GError: Failed to execute 
child
process "/usr/lib/nx/nxagent" (No such file or directory)
Jul 16 19:51:23 xxxxx nxserver[10043]: DEBUG session:248 Loading session
4DC60D46F42406BB343424710355CA03 from
/usr/local/var/lib/neatx/sessions/4DC60D46F42406BB343424710355CA03/neatx.data
Jul 16 19:51:54 xxxxx last message repeated 29 times
Jul 16 19:51:54 xxxxx nxserver[10043]: ERROR nxserver:600 Session
4DC60D46F42406BB343424710355CA03 has not achieved waiting status within 30 
seconds
Jul 16 19:51:54 xxxxx nxserver[10043]: DEBUG protocol:172 >>> "NX> 500 Session 
didn't
become ready in time\n"
Jul 16 19:51:54 xxxxx nxserver[10043]: DEBUG protocol:172 >>> 'NX> 999 Bye.\n'
Jul 16 19:51:54 xxxxx nxserver[10043]: DEBUG nxserver:701 No nxagent port, not
starting netcat

Original comment by fcc...@gmail.com on 20 Jul 2009 at 6:23

GoogleCodeExporter commented 8 years ago

Original comment by kormat on 20 Jul 2009 at 8:24