pombreda / neatx

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

Login re-launches nxserver-login-wrapper #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Attempt to login using NoMachine NX Client on both Mac and XP
2.
3.

What is the expected output? What do you see instead?
Instead of successful login, the client spends a long time on "Waiting
authentication" then fails with "Connection timeout".

What version of the product are you using? On what operating system?
@r59 from SVN on Ubuntu 10.04 Beta.

Please provide any additional information below.
As can be seen from the log output below, nxserver-login-wrapper is
re-launched rather than the nxserver.  Where I think the client should be
communicating with nxserver, it is in fact communicating with a fresh
nxserver-login process.  Whatever should be happening at this point appears
to not be happening and the client eventually times out.

Apr  9 17:37:47 lnelson-desktop nxserver-login-wrapper[3473]: Called with
args: 
Apr  9 17:37:47 lnelson-desktop nxserver-login-wrapper[3473]: Started
/usr/local/lib/neatx/nxserver-login 
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'HELLO NXSERVER - Version 3.3.0 - GPL\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 105 '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:227
<<< 'hello NXCLIENT - Version 3.3.0\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'Hello nxclient - version 3.3.0\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG
nxserver_login:111 Got client protocol version 3030000 ('3.3.0'), want 3030000
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 134 Accepted protocol: 3.3.0\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 105 '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:227
<<< 'SET SHELL_MODE SHELL\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'Set SHELL_MODE: SHELL\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 105 '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:227
<<< 'SET AUTH_MODE PASSWORD\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'Set AUTH_MODE: PASSWORD\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 105 '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:227
<<< 'login\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'Login\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 101 User: '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:227
<<< 'nx\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'nx\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 102 Password: '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:225
<<< [hidden]
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> '**********\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: INFO
nxserver_login:253 Trying login for user 'nx' using auth method 'su'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG auth:50
Authenticating as 'nx', running ['/usr/local/lib/neatx/nxserver',
'--proto=3030000', '--', 'nx']
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG auth:53 Auth
command ['/usr/local/lib/neatx/ttysetup', '/bin/su', 'nx', '-c', 'cd &&
/usr/local/lib/neatx/nxserver --proto=3030000 -- nx']
Apr  9 17:37:48 lnelson-desktop nxserver-login-wrapper[3490]: Called with
args: -c cd && /usr/local/lib/neatx/nxserver --proto=3030000 -- nx
Apr  9 17:37:48 lnelson-desktop nxserver-login-wrapper[3490]: Started
/usr/local/lib/neatx/nxserver-login -c cd && /usr/local/lib/neatx/nxserver
--proto=3030000 -- nx
Apr  9 17:37:48 lnelson-desktop nxserver-login[3493]: DEBUG protocol:172
>>> 'HELLO NXSERVER - Version 3.3.0 - GPL\n'
Apr  9 17:37:48 lnelson-desktop nxserver-login[3493]: DEBUG protocol:172
>>> 'NX> 105 '

After the above logging has been produced, the client persists in "Waiting
authentication" for some time until timing out.

Original issue reported on code.google.com by nelsono...@gmail.com on 9 Apr 2010 at 11:41