Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Mac OSX client can not connect to my server. #62

Open
GoogleCodeExporter opened this issue Feb 1, 2016 · 2 comments
Open

The Mac OSX client can not connect to my server. #62

GoogleCodeExporter opened this issue Feb 1, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Fire up NX Client (OSX 3.4.8)
2. Try to connect to server.
3. Errors out.

What is the expected output? What do you see instead?

I expect a session to appear.

What version of the product are you using? On what operating system?

 neatx-server                          0.3.1+svn59-0~ppa1~lucid1

Please provide any additional information below.

Here's the client side log:

NX> 203 NXSSH running with pid: 6862
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: server.acme.com on port: 2225
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: bob
NX> 102 Password: **********
connect /tmp/launch-URGDRj/org.x port 6000: Connection refused
NX> 280 Exiting on signal: 15

Here's the server:

==> auth.log <==
Sep 19 16:10:00 5am-oob-srvr su[6737]: Successful su for bob by nx
Sep 19 16:10:00 5am-oob-srvr su[6737]: + /dev/pts/4 nx:bob
Sep 19 16:10:00 5am-oob-srvr su[6737]: pam_unix(su:session): session opened for 
user bob by (uid=115)
Sep 19 16:10:00 5am-oob-srvr sshd[6722]: channel 3: open failed: 
administratively prohibited: open failed
==> debug <==
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 
'hello NXCLIENT - Version 3.3.0\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'Hello nxclient - version 3.3.0\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG nxserver_login:111 Got 
client protocol version 3030000 ('3.3.0'), want 3030000
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
134 Accepted protocol: 3.3.0\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
105 '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 'SET 
SHELL_MODE SHELL\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'Set 
SHELL_MODE: SHELL\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
105 '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 'SET 
AUTH_MODE PASSWORD\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'Set 
AUTH_MODE: PASSWORD\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
105 '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 
'login\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'Login\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
101 User: '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 
'bob\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'bob\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
102 Password: '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:225 <<< 
[hidden]
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'**********\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG auth:50 Authenticating 
as 'bob', running ['/usr/lib/neatx/nxserver', '--proto=3030000', '--', 'bob']
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG auth:53 Auth command 
['/usr/lib/neatx/ttysetup', '/bin/su', 'bob', '-c', 'cd && 
/usr/lib/neatx/nxserver --proto=3030000 -- bob']
==> messages <==
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: INFO nxserver_login:253 
Trying login for user 'bob' using auth method 'su'
==> syslog <==
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 
'hello NXCLIENT - Version 3.3.0\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'Hello nxclient - version 3.3.0\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG nxserver_login:111 Got 
client protocol version 3030000 ('3.3.0'), want 3030000
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
134 Accepted protocol: 3.3.0\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
105 '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 'SET 
SHELL_MODE SHELL\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'Set 
SHELL_MODE: SHELL\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
105 '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 'SET 
AUTH_MODE PASSWORD\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'Set 
AUTH_MODE: PASSWORD\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
105 '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 
'login\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'Login\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
101 User: '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 
'bob\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'bob\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
102 Password: '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:225 <<< 
[hidden]
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'**********\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: INFO nxserver_login:253 
Trying login for user 'bob' using auth method 'su'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG auth:50 Authenticating 
as 'bob', running ['/usr/lib/neatx/nxserver', '--proto=3030000', '--', 'bob']
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG auth:53 Auth command 
['/usr/lib/neatx/ttysetup', '/bin/su', 'bob', '-c', 'cd && 
/usr/lib/neatx/nxserver --proto=3030000 -- bob']
==> user.log <==
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 
'hello NXCLIENT - Version 3.3.0\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'Hello nxclient - version 3.3.0\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG nxserver_login:111 Got 
client protocol version 3030000 ('3.3.0'), want 3030000
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
134 Accepted protocol: 3.3.0\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
105 '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 'SET 
SHELL_MODE SHELL\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'Set 
SHELL_MODE: SHELL\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
105 '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 'SET 
AUTH_MODE PASSWORD\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'Set 
AUTH_MODE: PASSWORD\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
105 '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 
'login\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'Login\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
101 User: '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:227 <<< 
'bob\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'bob\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 'NX> 
102 Password: '
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:225 <<< 
[hidden]
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG protocol:172 >>> 
'**********\n'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: INFO nxserver_login:253 
Trying login for user 'bob' using auth method 'su'
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG auth:50 Authenticating 
as 'bob', running ['/usr/lib/neatx/nxserver', '--proto=3030000', '--', 'bob']
Sep 19 16:09:59 5am-oob-srvr nxserver-login[6734]: DEBUG auth:53 Auth command 
['/usr/lib/neatx/ttysetup', '/bin/su', 'bob', '-c', 'cd && 
/usr/lib/neatx/nxserver --proto=3030000 -- bob']
==> auth.log <==
Sep 19 16:10:00 5am-oob-srvr sshd[6634]: pam_unix(sshd:session): session closed 
for user nx
==> debug <==
Sep 19 16:10:00 5am-oob-srvr nxserver[6747]: DEBUG protocol:172 >>> 'NX> 103 
Welcome to: server.acme.com user: bob\n'
Sep 19 16:10:00 5am-oob-srvr nxserver[6747]: DEBUG protocol:172 >>> 'NX> 105 '
==> messages <==
Sep 19 16:10:00 5am-oob-srvr nxserver[6747]: INFO nxserver:689 Starting 
nxserver for user bob
==> syslog <==
Sep 19 16:10:00 5am-oob-srvr nxserver[6747]: INFO nxserver:689 Starting 
nxserver for user bob
Sep 19 16:10:00 5am-oob-srvr nxserver[6747]: DEBUG protocol:172 >>> 'NX> 103 
Welcome to: server.acme.com user: bob\n'
Sep 19 16:10:00 5am-oob-srvr nxserver[6747]: DEBUG protocol:172 >>> 'NX> 105 '
==> user.log <==
Sep 19 16:10:00 5am-oob-srvr nxserver[6747]: INFO nxserver:689 Starting 
nxserver for user bob
Sep 19 16:10:00 5am-oob-srvr nxserver[6747]: DEBUG protocol:172 >>> 'NX> 103 
Welcome to: server.acme.com user: bob\n'
Sep 19 16:10:00 5am-oob-srvr nxserver[6747]: DEBUG protocol:172 >>> 'NX> 105 '

Original issue reported on code.google.com by mma...@gmail.com on 20 Sep 2010 at 6:55

@GoogleCodeExporter
Copy link
Author

My guess is your server is probably not setup correctly.  as I am running the 
lastest Neatex from SVN (r59 as your package is) and connecting to it fine from 
my Mac OS X desktop.  Now I am running on a Fedora 12 "server" (actually my 
work desktop) and building neatx direct from source (no extra patches).

Original comment by urkle0 on 21 Oct 2010 at 6:11

@GoogleCodeExporter
Copy link
Author

I have same exact problem.  Has there been any update on this issue?

Original comment by dmehrt...@gmail.com on 12 Apr 2011 at 5:18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant