Open GoogleCodeExporter opened 9 years ago
And some more info:
if I edited out the offending 'env=env' param, I get further, but it times out,
even if I extend the timeout to 60s:
ie change
child = pexpect.spawn(all_args[0], args=all_args[1:], env=env, timeout=30)
to
child = pexpect.spawn(all_args[0], args=all_args[1:], timeout=60)
Then the client reports:
NX> 203 NXSSH running with pid: 24354
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.200.15.20 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: hmangala
NX> 102 Password: **********
NX> 103 Welcome to: bduc-login.nacs.uci.edu user: hmangala
NX> 105 Listsession --user="hmangala" --status="suspended,running"
--geometry="1680x1050x24+render" --type="unix-gnome"
NX> 127 Session list of user 'hmangala':
Display Type Session ID Options Depth Screen
Status Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: hmangala
NX> 105 Start session with: --link="lan" --backingstore="1" --encryption="1"
--cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0"
--composite="1" --media="1" --mediahelper="esd" --imagecompressionmethod="3"
--imagecompressionlevel="-1" --render="1" --session="BDUC-login"
--type="unix-gnome" --geometry="1024x768+328+141" --client="linux"
--keyboard="pc105/us" --screeninfo="1024x768x24+render"
NX> 500 Session didn't become ready in time
NX> 999 Bye.
NX> 280 Exiting on signal: 15
The server says:
Jun 28 15:57:12 bduc-login nxserver-login[10293]: INFO nxserver_login:253
Trying login for user 'hmangala' using auth method 'su'
Jun 28 15:57:12 bduc-login nxserver[10304]: INFO nxserver:689 Starting nxserver
for user hmangala
Jun 28 15:57:16 bduc-login nxserver[10304]: INFO nxserver:377 Starting new
session '98B7666476B6AB90AB332BD1687D65E5'
Jun 28 15:57:16 bduc-login nxserver[10304]: INFO node:514 Connecting to
'/usr/local/var/lib/neatx/sessions/98B7666476B6AB90AB332BD1687D65E5/nxnode.sock'
Jun 28 15:57:16 bduc-login nxnode[10310]: INFO nxnode:266 Connection established
Jun 28 15:57:16 bduc-login nxnode[10310]: INFO nxnode:81 Received request:
'start', {'backingstore': '1', 'imagecompressionlevel': '-1', 'render': '1',
'strict': '0', 'composite': '1', 'encryption': '1', 'cache': '16M',
'mediahelper': 'esd', 'geometry': '1024x768+328+141', 'screeninfo':
'1024x768x24+render', 'session': 'BDUC-login', 'link': 'lan', 'shmem': '1',
'media': '1', 'images': '64M', 'keyboard': 'pc105/us', 'type': 'unix-gnome',
'shpix': '1', 'imagecompressionmethod': '3', 'client': 'linux'}
Jun 28 15:57:16 bduc-login nxnode[10310]: INFO node:290 Starting xauth for
[(':207', 'C3F4CB0563BBA2679CE2F0BB8457AB3B'), ('localhost:207',
'C3F4CB0563BBA2679CE2F0BB8457AB3B')]
Jun 28 15:57:16 bduc-login nxnode[10310]: INFO daemon:491 Starting program,
executable=None, args=['/usr/bin/xauth', '-f',
'/usr/local/var/lib/neatx/sessions/98B7666476B6AB90AB332BD1687D65E5/authority']
Jun 28 15:57:16 bduc-login nxnode[10310]: INFO daemon:519 Child
/usr/bin/xauth[10313] started
Jun 28 15:57:16 bduc-login nxserver[10304]: INFO nxserver:594 Waiting for
session '98B7666476B6AB90AB332BD1687D65E5' to achieve waiting status
Jun 28 15:57:16 bduc-login nxnode[10310]: INFO node:325 Starting nxagent
Jun 28 15:57:16 bduc-login nxnode[10310]: INFO daemon:491 Starting program,
executable=None, args=['/usr/local/bin/nxagent', '-D', '-name', 'Neatx -
hmangala@bduc-login.nacs.uci.edu:207 - BDUC-login', '-options',
'/usr/local/var/lib/neatx/sessions/98B7666476B6AB90AB332BD1687D65E5/options',
'-nolisten', 'tcp', ':207']
Jun 28 15:57:16 bduc-login nxnode[10310]: INFO daemon:519 Child
/usr/local/bin/nxagent[10314] started
Jun 28 15:57:17 bduc-login nxnode[10310]: ERROR daemon:583
/usr/local/bin/nxagent[10314] failed (status=127, signal=None)
Jun 28 15:57:17 bduc-login nxnode[10310]: INFO node:345 nxagent terminated
Jun 28 15:57:46 bduc-login nxserver[10304]: ERROR nxserver:600 Session
98B7666476B6AB90AB332BD1687D65E5 has not achieved waiting status within 30
seconds
Jun 28 15:57:46 bduc-login nxserver-login[10293]: INFO auth:142 Waiting for
authenticated program to finish
The server says that the nxagent failed, tho not why. (possibly bc it didn't
get passed the env?
Original comment by hjmanga...@gmail.com
on 28 Jun 2010 at 11:23
Original issue reported on code.google.com by
hjmanga...@gmail.com
on 28 Jun 2010 at 10:06