Comments (1)
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 -
[email protected]: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 [email protected]
on 28 Jun 2010 at 11:23
from neatx.
Related Issues (20)
- Alt-Gr key keeps locked - keyboard scramble HOT 1
- Cannot start session
- DHCP vs Static HOT 3
- Incorrect using of su
- Unable to start session:
- The Mac OSX client can not connect to my server. HOT 2
- Tarball does not include RPM files for 'rpmbuild -ta'
- neatx.spec file has version 0.1, not 0.3.1, and other issues
- No multiple keyboard layout support HOT 4
- ib HOT 1
- "Authentication failed for user" if using fish shell
- Text is not recognised in Gnome/gtk programs in Ubuntu 10.10 HOT 2
- client crashing when trying to use shadow mode
- d /var/lib HOT 1
- After Python 2.6 upgrade on Ubuntu 10.10 log in fails
- var/lib HOT 1
- Reconnecting to session hangs with "Session didn't become ready in time" message HOT 2
- Create a distfile for to permit the ports creation for freebsd HOT 2
- Removing FreeNX To Install Neatx
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neatx.