netzary / neatx

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

Unable to start session: #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Installed neatx-r59 from SVN, NXAgent 3.4.0 from sources. Connecting with 
NXClient 3.4.0
2.  Attempt connection to a VM running neatx
3.  Successful access to NX, but when the VM was terminated through libvirt the 
following happens:
Session is created properly in "sessions" folder, but NXClient gets the error 
"Session XXXX has status "terminated", aborting" and the server's 
/var/log/messages says "nxnode[1936]: ERROR agent:376 Agent error: Aborting 
session with 'Cannot establish any listening sockets - Make sure an X server 
isn't already running'.  There is no X server running, nor GDM, etc.

What version of the product are you using? On what operating system?
RHEL 5.5/SL 5.5

Please provide any additional information below.

From /var/log/messages on the server:

Sep 14 13:20:40 vmcgs49 sshd[1915]: Accepted publickey for nx from 
XXX.XXX.XXX.XXX port 45655 ssh2
Sep 14 13:20:41 vmcgs49 nxserver-login[1921]: INFO nxserver_login:253 Trying 
login for user 'user' using auth method 'su'
Sep 14 13:20:41 vmcgs49 nxserver[1927]: INFO nxserver:689 Starting nxserver for 
user user
Sep 14 13:20:45 vmcgs49 nxserver[1927]: INFO nxserver:377 Starting new session 
'DD32DD46E31A7D354C9B450DB263F7DE'
Sep 14 13:20:45 vmcgs49 nxserver[1927]: INFO node:514 Connecting to 
'/opt/neatx/var/lib/neatx/sessions/DD32DD46E31A7D354C9B450DB263F7DE/nxnode.sock'
Sep 14 13:20:45 vmcgs49 nxnode[1936]: INFO nxnode:266 Connection established
Sep 14 13:20:45 vmcgs49 nxnode[1936]: INFO nxnode:81 Received request: 'start', 
{'session': 'newsession', 'strict': '0', 'composite': '1', 'encryption': '1', 
'cache': '16M', 'geometry': '800x600+280+59', 'screeninfo': 
'800x600x24+render', 'client': 'linux', 'link': 'adsl', 'shmem': '1', 'media': 
'0', 'images': '64M', 'keyboard': 'pc105/us', 'type': 'unix-gnome', 'shpix': 
'1', 'backingstore': '1'}
Sep 14 13:20:45 vmcgs49 nxnode[1936]: INFO node:290 Starting xauth for [(':68', 
'0AD75731238ADAB0153F8069326E9B40'), ('localhost:68', 
'0AD75731238ADAB0153F8069326E9B40')]
Sep 14 13:20:45 vmcgs49 nxnode[1936]: INFO daemon:491 Starting program, 
executable=None, args=['/usr/bin/xauth', '-f', 
'/opt/neatx/var/lib/neatx/sessions/DD32DD46E31A7D354C9B450DB263F7DE/authority']
Sep 14 13:20:45 vmcgs49 nxnode[1936]: INFO daemon:519 Child 
/usr/bin/xauth[1940] started
Sep 14 13:20:45 vmcgs49 nxserver[1927]: INFO nxserver:594 Waiting for session 
'DD32DD46E31A7D354C9B450DB263F7DE' to achieve waiting status
Sep 14 13:20:46 vmcgs49 nxnode[1936]: INFO node:325 Starting nxagent
Sep 14 13:20:46 vmcgs49 nxnode[1936]: INFO daemon:491 Starting program, 
executable=None, args=['/usr/bin/nxagent', '-D', '-name', 'Neatx - 
user@vmcgs49.XXX.ca:68 - newsession', '-options', 
'/opt/neatx/var/lib/neatx/sessions/DD32DD46E31A7D354C9B450DB263F7DE/options', 
'-nolisten', 'tcp', ':68']
Sep 14 13:20:46 vmcgs49 nxnode[1936]: INFO daemon:519 Child 
/usr/bin/nxagent[1942] started
Sep 14 13:20:46 vmcgs49 nxnode[1936]: ERROR agent:376 Agent error: Aborting 
session with 'Cannot establish any listening sockets - Make sure an X server 
isn't already running'.
Sep 14 13:20:46 vmcgs49 nxnode[1936]: INFO agent:409 Nxagent changed status 
from 'created' to 'terminating'
Sep 14 13:20:46 vmcgs49 nxnode[1936]: INFO agent:409 Nxagent changed status 
from 'terminating' to 'terminated'
Sep 14 13:20:46 vmcgs49 nxnode[1936]: INFO agent:457 Nxagent terminated
Sep 14 13:20:46 vmcgs49 nxnode[1936]: ERROR daemon:583 /usr/bin/nxagent[1942] 
failed (status=1, signal=None)
Sep 14 13:20:46 vmcgs49 nxnode[1936]: INFO node:345 nxagent terminated
Sep 14 13:20:46 vmcgs49 nxserver[1927]: ERROR nxserver:586 Session 
'DD32DD46E31A7D354C9B450DB263F7DE' has status 'terminated'

Any help is much appreciated.

Original issue reported on code.google.com by drewbhar...@gmail.com on 14 Sep 2010 at 8:30