[FreeNX-kNX] Segfault Error 6 in libc-2.11.1.so When Attemtping to Login to My Server Remotely via NoMachine Client

Erk OwN-3m-All own3mall at gmail.com
Thu Feb 16 07:36:19 UTC 2012


Hey Chris, worked like a charm.  Here are the log files.* * There is a
segmentation fault in terminal 2.*

Terminal 1:
*
eric at eric-desktop:~$ sudo /usr/sbin/sshd -d -d -d -p 22457
[sudo] password for eric:
debug2: load_server_config: filename /etc/ssh/sshd_config
debug2: load_server_config: done config len = 713
debug2: parse_server_config: config /etc/ssh/sshd_config len 713
debug3: /etc/ssh/sshd_config:5 setting Port 22457
debug3: /etc/ssh/sshd_config:9 setting Protocol 2
debug3: /etc/ssh/sshd_config:11 setting HostKey /etc/ssh/ssh_host_rsa_key
debug3: /etc/ssh/sshd_config:12 setting HostKey /etc/ssh/ssh_host_dsa_key
debug3: /etc/ssh/sshd_config:14 setting UsePrivilegeSeparation yes
debug3: /etc/ssh/sshd_config:17 setting KeyRegenerationInterval 3600
debug3: /etc/ssh/sshd_config:18 setting ServerKeyBits 768
debug3: /etc/ssh/sshd_config:21 setting SyslogFacility AUTH
debug3: /etc/ssh/sshd_config:22 setting LogLevel INFO
debug3: /etc/ssh/sshd_config:25 setting LoginGraceTime 120
debug3: /etc/ssh/sshd_config:26 setting PermitRootLogin yes
debug3: /etc/ssh/sshd_config:27 setting StrictModes yes
debug3: /etc/ssh/sshd_config:29 setting RSAAuthentication yes
debug3: /etc/ssh/sshd_config:30 setting PubkeyAuthentication yes
debug3: /etc/ssh/sshd_config:31 setting AuthorizedKeysFile
%h/.ssh/authorized_keys2
debug3: /etc/ssh/sshd_config:34 setting IgnoreRhosts yes
debug3: /etc/ssh/sshd_config:36 setting RhostsRSAAuthentication no
debug3: /etc/ssh/sshd_config:38 setting HostbasedAuthentication no
debug3: /etc/ssh/sshd_config:43 setting PermitEmptyPasswords no
debug3: /etc/ssh/sshd_config:47 setting ChallengeResponseAuthentication no
debug3: /etc/ssh/sshd_config:62 setting X11Forwarding yes
debug3: /etc/ssh/sshd_config:63 setting X11DisplayOffset 10
debug3: /etc/ssh/sshd_config:64 setting PrintMotd no
debug3: /etc/ssh/sshd_config:65 setting PrintLastLog yes
debug3: /etc/ssh/sshd_config:66 setting TCPKeepAlive yes
debug3: /etc/ssh/sshd_config:73 setting AcceptEnv LANG LC_*
debug3: /etc/ssh/sshd_config:75 setting Subsystem sftp
/usr/lib/openssh/sftp-server
debug3: /etc/ssh/sshd_config:86 setting UsePAM yes
debug3: /etc/ssh/sshd_config:88 setting AllowUsers nx eric
debug1: sshd version OpenSSH_5.3p1 Debian-3ubuntu7
debug3: Not a RSA1 key file /etc/ssh/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: private host key: #0 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: private host key: #1 type 2 DSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: rexec_argv[2]='-d'
debug1: rexec_argv[3]='-d'
debug1: rexec_argv[4]='-p'
debug1: rexec_argv[5]='22457'
debug2: fd 3 setting O_NONBLOCK
debug1: Bind to port 22457 on 0.0.0.0.
Server listening on 0.0.0.0 port 22457.
debug2: fd 4 setting O_NONBLOCK
debug1: Bind to port 22457 on ::.
Server listening on :: port 22457.
debug3: fd 5 is not O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug3: send_rexec_state: entering fd = 8 config len 713
debug3: ssh_msg_send: type 0
debug3: send_rexec_state: done
debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8
debug1: inetd sockets after dupping: 3, 3
Connection from 192.168.76.105 port 4348
debug1: Client protocol version 2.0; client software version OpenSSH_4.7
debug1: match: OpenSSH_4.7 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu7
debug2: fd 3 setting O_NONBLOCK
debug2: Network child is on pid 9826
debug3: preauth child monitor started
debug3: mm_request_receive entering
debug3: privsep user:group 108:65534
debug1: permanently_set_uid: 108/65534
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug3: Wrote 784 bytes for a total of 823
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,
rijndael-cbc at lysator.liu.se
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,
rijndael-cbc at lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 at openssh.com
,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 at openssh.com
,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib at openssh.com
debug2: kex_parse_kexinit: none,zlib at openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,
rijndael-cbc at lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,
rijndael-cbc at lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 at openssh.com
,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 at openssh.com
,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib at openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib at openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
debug3: mm_request_send entering: type 0
debug3: mm_choose_dh: waiting for MONITOR_ANS_MODULI
debug3: monitor_read: checking request 0
debug3: mm_request_receive_expect entering: type 1
debug3: mm_answer_moduli: got parameters: 1024 1024 8192
debug3: mm_request_receive entering
debug3: mm_request_send entering: type 1
debug2: monitor_read: 0 used once, disabling now
debug3: mm_request_receive entering
debug3: mm_choose_dh: remaining 0
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug3: Wrote 152 bytes for a total of 975
debug2: dh_gen_key: priv key bits set: 130/256
debug2: bits set: 504/1024
debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
debug2: bits set: 514/1024
debug3: mm_key_sign entering
debug3: mm_request_send entering: type 5
debug3: monitor_read: checking request 5
debug3: mm_answer_sign
debug3: mm_key_sign: waiting for MONITOR_ANS_SIGN
debug3: mm_request_receive_expect entering: type 6
debug3: mm_request_receive entering
debug3: mm_answer_sign: signature 0x216d32f0(271)
debug3: mm_request_send entering: type 6
debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: Wrote 720 bytes for a total of 1695
debug2: monitor_read: 5 used once, disabling now
debug3: mm_request_receive entering
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug3: Wrote 48 bytes for a total of 1743
debug1: userauth-request for user nx service ssh-connection method none
debug1: attempt 0 failures 0
debug3: mm_getpwnamallow entering
debug3: mm_request_send entering: type 7
debug3: mm_getpwnamallow: waiting for MONITOR_ANS_PWNAM
debug3: mm_request_receive_expect entering: type 8
debug3: mm_request_receive entering
debug3: monitor_read: checking request 7
debug3: mm_answer_pwnamallow
debug3: Trying to reverse map address 192.168.76.105.
debug2: parse_server_config: config reprocess config len 713
debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
debug3: mm_request_send entering: type 8
debug2: monitor_read: 7 used once, disabling now
debug3: mm_request_receive entering
debug2: input_userauth_request: setting up authctxt for nx
debug3: mm_start_pam entering
debug3: mm_request_send entering: type 50
debug3: mm_inform_authserv entering
debug3: mm_request_send entering: type 3
debug2: input_userauth_request: try method none
debug3: mm_auth_password entering
debug3: mm_request_send entering: type 11
debug3: mm_auth_password: waiting for MONITOR_ANS_AUTHPASSWORD
debug3: mm_request_receive_expect entering: type 12
debug3: mm_request_receive entering
debug3: monitor_read: checking request 50
debug1: PAM: initializing for "nx"
debug1: PAM: setting PAM_RHOST to "192.168.76.105"
debug1: PAM: setting PAM_TTY to "ssh"
debug2: monitor_read: 50 used once, disabling now
debug3: mm_request_receive entering
debug3: monitor_read: checking request 3
debug3: mm_answer_authserv: service=ssh-connection, style=, role=
debug2: monitor_read: 3 used once, disabling now
debug3: mm_request_receive entering
debug3: monitor_read: checking request 11
debug3: mm_answer_authpassword: sending result 0
debug3: mm_request_send entering: type 12
debug3: mm_auth_password: user not authenticated
debug3: Wrote 64 bytes for a total of 1807
Failed none for nx from 192.168.76.105 port 4348 ssh2
debug3: mm_request_receive entering
debug1: userauth-request for user nx service ssh-connection method
publickey
debug1: attempt 1 failures 0
debug2: input_userauth_request: try method publickey
debug3: mm_key_allowed entering
debug3: mm_request_send entering: type 21
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
debug3: mm_request_receive_expect entering: type 22
debug3: mm_request_receive entering
debug3: monitor_read: checking request 21
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0x216d9718
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: temporarily_use_uid: 116/126 (e=0/0)
debug1: trying public key file
/var/lib/nxserver/home//.ssh/authorized_keys2
debug1: fd 4 clearing O_NONBLOCK
debug3: secure_filename: checking '/var/lib/nxserver/home/.ssh'
debug3: secure_filename: checking '/var/lib/nxserver/home'
debug3: secure_filename: terminating check at '/var/lib/nxserver/home'
debug2: key_type_from_name: unknown key type
'no-port-forwarding,no-agent-forwarding,command="/usr/lib/nx/nxserver"'
debug3: key_read: missing keytype
debug2: user_key_allowed: check options:
'no-port-forwarding,no-agent-forwarding,command="/usr/lib/nx/nxserver"
ssh-dss
AAAAB3NzaC1kc3MAAACBAJe/0DNBePG9dYLWq7cJ0SqyRf1iiZN/IbzrmBvgPTZnBa5FT/0Lcj39sRYt1paAlhchwUmwwIiSZaON5JnJOZ6jKkjWIuJ9MdTGfdvtY1aLwDMpxUVoGwEaKWOyin02IPWYSkDQb6cceuG9NfPulS9iuytdx0zIzqvGqfvudtufAAAAFQCwosRXR2QA8OSgFWSO6+kGrRJKiwAAAIEAjgvVNAYWSrnFD+cghyJbyx60AAjKtxZ0r/Pn9k94Qt2rvQoMnGgt/zU0v/y4hzg+g3JNEmO1PdHh/wDPVOxlZ6Hb5F4IQnENaAZ9uTZiFGqhBO1c8Wwjiq/MFZy3jZaidarLJvVs8EeT4mZcWxwm7nIVD4lRU2wQ2lj4aTPcepMAAACANlgcCuA4wrC+3Cic9CFkqiwO/Rn1vk8dvGuEQqFJ6f6LVfPfRTfaQU7TGVLk2CzY4dasrwxJ1f6FsT8DHTNGnxELPKRuLstGrFY/PR7KeafeFZDf+fJ3mbX5nxrld3wi5titTnX+8s4IKv29HJguPvOK/SI7cjzA+SqNfD7qEo8=
root at nettuno
'
debug1: matching key found: file
/var/lib/nxserver/home//.ssh/authorized_keys2, line 1
Found matching DSA key: 4b:9b:38:6b:24:33:6b:48:e4:f8:c4:5b:c9:f1:fd:98
debug1: restore_uid: 0/0
debug3: mm_answer_keyallowed: key 0x216d9718 is allowed
debug3: mm_append_debug: Appending debug messages for child
debug3: mm_request_send entering: type 22
debug3: mm_send_debug: Sending debug: Port forwarding disabled.
debug3: Wrote 64 bytes for a total of 1871
debug3: mm_send_debug: Sending debug: Agent forwarding disabled.
debug3: Wrote 64 bytes for a total of 1935
debug3: mm_send_debug: Sending debug: Forced command: /usr/lib/nx/nxserver
debug3: Wrote 80 bytes for a total of 2015
debug3: mm_key_verify entering
debug3: mm_request_send entering: type 23
debug3: mm_key_verify: waiting for MONITOR_ANS_KEYVERIFY
debug3: mm_request_receive_expect entering: type 24
debug3: mm_request_receive entering
debug3: mm_request_receive entering
debug3: monitor_read: checking request 23
debug1: ssh_dss_verify: signature correct
debug3: mm_answer_keyverify: key 0x216d2978 signature verified
debug3: mm_request_send entering: type 24
debug2: userauth_pubkey: authenticated 1 pkalg ssh-dss
debug3: mm_do_pam_account entering
debug3: mm_request_send entering: type 51
debug3: mm_request_receive_expect entering: type 52
debug3: mm_request_receive entering
debug3: mm_request_receive_expect entering: type 51
debug3: mm_request_receive entering
debug1: do_pam_account: called
debug3: PAM: do_pam_account pam_acct_mgmt = 0 (Success)
debug3: mm_request_send entering: type 52
debug3: mm_do_pam_account returning 1
debug3: Wrote 32 bytes for a total of 2047
debug3: mm_send_keystate: Sending new keys: 0x216d2e68 0x216ca9e0
debug3: mm_newkeys_to_blob: converting 0x216d2e68
debug3: mm_newkeys_to_blob: converting 0x216ca9e0
debug3: mm_send_keystate: New keys have been sent
debug3: mm_send_keystate: Sending compression state
debug3: mm_request_send entering: type 25
debug3: mm_send_keystate: Finished sending state
Accepted publickey for nx from 192.168.76.105 port 4348 ssh2
debug1: monitor_child_preauth: nx has been authenticated by privileged
process
debug3: mm_get_keystate: Waiting for new keys
debug3: mm_request_receive_expect entering: type 25
debug3: mm_request_receive entering
debug3: mm_newkeys_from_blob: 0x216db200(118)
debug2: mac_setup: found hmac-md5
debug3: mm_get_keystate: Waiting for second key
debug3: mm_newkeys_from_blob: 0x216db200(118)
debug2: mac_setup: found hmac-md5
debug3: mm_get_keystate: Getting compression state
debug3: mm_get_keystate: Getting Network I/O buffers
debug3: mm_share_sync: Share sync
debug3: mm_share_sync: Share sync end
debug1: PAM: establishing credentials
debug3: PAM: opening session
debug3: PAM: sshpam_store_conv called with 1 messages
User child is on pid 9889
debug3: mm_request_receive entering
debug1: SELinux support disabled
debug1: PAM: establishing credentials
debug1: permanently_set_uid: 116/126
debug2: set_newkeys: mode 0
debug2: set_newkeys: mode 1
debug1: Entering interactive session for SSH2.
debug2: fd 7 setting O_NONBLOCK
debug2: fd 8 setting O_NONBLOCK
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 2097152 max
32768
debug1: input_session_request
debug1: channel 0: new [server-session]
debug2: session_new: allocate (allocated 0 max 10)
debug3: session_unused: session id 0 unused
debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: server_input_channel_open: confirm session
debug3: Wrote 48 bytes for a total of 2095
debug1: server_input_channel_req: channel 0 request x11-req reply 0
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req x11-req
debug2: fd 9 setting O_NONBLOCK
debug3: fd 9 is O_NONBLOCK
debug1: channel 1: new [X11 inet listener]
debug2: fd 10 setting O_NONBLOCK
debug3: fd 10 is O_NONBLOCK
debug1: channel 2: new [X11 inet listener]
debug1: server_input_channel_req: channel 0 request shell reply 0
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req shell
debug1: Forced command (key option) '/usr/lib/nx/nxserver'
debug2: fd 3 setting TCP_NODELAY
debug2: fd 13 setting O_NONBLOCK
debug2: fd 12 setting O_NONBLOCK
debug2: fd 15 setting O_NONBLOCK
debug3: Wrote 48 bytes for a total of 2143
debug2: channel 0: read 104 from efd 15
debug2: channel 0: rwin 2097152 elen 104 euse 1
debug2: channel 0: sent ext data 104
debug3: Wrote 144 bytes for a total of 2287
debug2: channel 0: read 44 from efd 15
debug2: channel 0: rwin 2097048 elen 44 euse 1
debug2: channel 0: sent ext data 44
debug3: Wrote 96 bytes for a total of 2383
debug2: channel 0: read 107 from efd 15
debug2: channel 0: rwin 2097004 elen 107 euse 1
debug2: channel 0: sent ext data 107
debug3: Wrote 160 bytes for a total of 2543
debug2: channel 0: read 13 from efd 15
debug2: channel 0: rwin 2096897 elen 13 euse 1
debug2: channel 0: sent ext data 13
debug3: Wrote 64 bytes for a total of 2607
debug2: channel 0: read 10 from efd 15
debug2: channel 0: rwin 2096884 elen 10 euse 1
debug2: channel 0: sent ext data 10
debug3: Wrote 48 bytes for a total of 2655
debug2: channel 0: read 13 from efd 15
debug2: channel 0: rwin 2096874 elen 13 euse 1
debug2: channel 0: sent ext data 13
debug3: Wrote 64 bytes for a total of 2719
debug2: channel 0: read 31 from efd 15
debug2: channel 0: rwin 2096861 elen 31 euse 1
debug2: channel 0: sent ext data 31
debug3: Wrote 80 bytes for a total of 2799
debug2: channel 0: read 79 from efd 15
debug2: channel 0: rwin 2096830 elen 79 euse 1
debug2: channel 0: sent ext data 79
debug3: Wrote 128 bytes for a total of 2927
debug2: channel 0: read 20 from efd 15
debug2: channel 0: rwin 2096751 elen 20 euse 1
debug2: channel 0: sent ext data 20
debug3: Wrote 64 bytes for a total of 2991
debug2: channel 0: read 26 from efd 15
debug2: channel 0: rwin 2096731 elen 26 euse 1
debug2: channel 0: sent ext data 26
debug3: Wrote 64 bytes for a total of 3055
debug2: channel 0: read 39 from efd 15
debug2: channel 0: rwin 2096705 elen 39 euse 1
debug2: channel 0: sent ext data 39
debug3: Wrote 80 bytes for a total of 3135
debug2: channel 0: read 58 from efd 15
debug2: channel 0: rwin 2096666 elen 58 euse 1
debug2: channel 0: sent ext data 58
debug3: Wrote 96 bytes for a total of 3231
debug2: channel 0: read 25 from efd 15
debug2: channel 0: rwin 2096608 elen 25 euse 1
debug2: channel 0: sent ext data 25
debug3: Wrote 64 bytes for a total of 3295
debug2: channel 0: read 19 from efd 15
debug2: channel 0: rwin 2096583 elen 19 euse 1
debug2: channel 0: sent ext data 19
debug3: Wrote 64 bytes for a total of 3359
debug2: channel 0: read 82 from efd 15
debug2: channel 0: rwin 2096564 elen 82 euse 1
debug2: channel 0: sent ext data 82
debug3: Wrote 128 bytes for a total of 3487
debug2: channel 0: read 50 from efd 15
debug2: channel 0: rwin 2096482 elen 50 euse 1
debug2: channel 0: sent ext data 50
debug3: Wrote 96 bytes for a total of 3583
debug2: channel 0: read 48 from efd 15
debug2: channel 0: rwin 2096432 elen 48 euse 1
debug2: channel 0: sent ext data 48
debug3: Wrote 96 bytes for a total of 3679
debug2: channel 0: read 50 from efd 15
debug2: channel 0: rwin 2096384 elen 50 euse 1
debug2: channel 0: sent ext data 50
debug3: Wrote 96 bytes for a total of 3775
debug2: channel 0: read 40 from efd 15
debug2: channel 0: rwin 2096334 elen 40 euse 1
debug2: channel 0: sent ext data 40
debug3: Wrote 80 bytes for a total of 3855
debug2: channel 0: read 81 from efd 15
debug2: channel 0: rwin 2096294 elen 81 euse 1
debug2: channel 0: sent ext data 81
debug3: Wrote 128 bytes for a total of 3983
debug3: Wrote 112 bytes for a total of 4095
debug3: Wrote 80 bytes for a total of 4175
debug3: Wrote 80 bytes for a total of 4255
debug3: Wrote 48 bytes for a total of 4303
debug3: Wrote 64 bytes for a total of 4367
debug3: Wrote 48 bytes for a total of 4415
debug3: Wrote 64 bytes for a total of 4479
debug3: Wrote 48 bytes for a total of 4527
debug3: Wrote 48 bytes for a total of 4575
debug3: Wrote 48 bytes for a total of 4623
debug3: Wrote 48 bytes for a total of 4671
debug3: Wrote 64 bytes for a total of 4735
debug3: Wrote 48 bytes for a total of 4783
debug3: Wrote 96 bytes for a total of 4879
debug3: Wrote 144 bytes for a total of 5023
debug3: Wrote 48 bytes for a total of 5071
debug2: channel 0: read failed
debug2: channel 0: close_read
debug2: channel 0: input open -> drain
debug2: channel 0: read 0 from efd 15
debug2: channel 0: closing read-efd 15
debug2: channel 0: ibuf empty
debug2: channel 0: send eof
debug2: channel 0: input drain -> closed
debug2: notify_done: reading
debug1: Received SIGCHLD.
debug1: session_by_pid: pid 9890
debug1: session_exit_message: session 0 channel 0 pid 9890
debug2: channel 0: request exit-status confirm 0
debug1: session_exit_message: release channel 0
debug2: channel 0: write failed
debug2: channel 0: close_write
debug2: channel 0: send eow
debug2: channel 0: output open -> closed
debug2: channel 0: send close
debug3: Wrote 128 bytes for a total of 5199
debug3: channel 0: will not send data after close
Connection closed by 192.168.76.105
debug1: channel 0: free: server-session, nchannels 3
debug3: channel 0: status: The following connections are open:
  #0 server-session (t4 r0 i3/0 o3/0 fd -1/-1 cfd -1)

debug3: channel 0: close_fds r -1 w -1 e -1 c -1
debug1: channel 1: free: X11 inet listener, nchannels 2
debug3: channel 1: status: The following connections are open:

debug3: channel 1: close_fds r 9 w 9 e -1 c -1
debug1: channel 2: free: X11 inet listener, nchannels 1
debug3: channel 2: status: The following connections are open:

debug3: channel 2: close_fds r 10 w 10 e -1 c -1
debug1: session_close: session 0 pid 0
debug3: session_unused: session id 0 unused
debug1: do_cleanup
debug3: PAM: sshpam_thread_cleanup entering
Transferred: sent 4408, received 1968 bytes
Closing connection to 192.168.76.105 port 4348
debug3: mm_request_send entering: type 65
debug3: monitor_read: checking request 65
debug3: mm_answer_term: tearing down sessions
debug1: PAM: cleanup
debug1: PAM: closing session
debug1: PAM: deleting credentials
eric at eric-desktop:~$ exit
exit

Script done on Thu 16 Feb 2012 12:40:39 AM MST
*

Terminal 2:

*Script started on Thu 16 Feb 2012 12:39:37 AM MST
eric at eric-desktop:~$ sudo /usr/sbin/sshd -d -d -d -p 1000
[sudo] password for eric:
debug2: load_server_config: filename /etc/ssh/sshd_config
debug2: load_server_config: done config len = 713
debug2: parse_server_config: config /etc/ssh/sshd_config len 713
debug3: /etc/ssh/sshd_config:5 setting Port 22457
debug3: /etc/ssh/sshd_config:9 setting Protocol 2
debug3: /etc/ssh/sshd_config:11 setting HostKey /etc/ssh/ssh_host_rsa_key
debug3: /etc/ssh/sshd_config:12 setting HostKey /etc/ssh/ssh_host_dsa_key
debug3: /etc/ssh/sshd_config:14 setting UsePrivilegeSeparation yes
debug3: /etc/ssh/sshd_config:17 setting KeyRegenerationInterval 3600
debug3: /etc/ssh/sshd_config:18 setting ServerKeyBits 768
debug3: /etc/ssh/sshd_config:21 setting SyslogFacility AUTH
debug3: /etc/ssh/sshd_config:22 setting LogLevel INFO
debug3: /etc/ssh/sshd_config:25 setting LoginGraceTime 120
debug3: /etc/ssh/sshd_config:26 setting PermitRootLogin yes
debug3: /etc/ssh/sshd_config:27 setting StrictModes yes
debug3: /etc/ssh/sshd_config:29 setting RSAAuthentication yes
debug3: /etc/ssh/sshd_config:30 setting PubkeyAuthentication yes
debug3: /etc/ssh/sshd_config:31 setting AuthorizedKeysFile
%h/.ssh/authorized_keys2
debug3: /etc/ssh/sshd_config:34 setting IgnoreRhosts yes
debug3: /etc/ssh/sshd_config:36 setting RhostsRSAAuthentication no
debug3: /etc/ssh/sshd_config:38 setting HostbasedAuthentication no
debug3: /etc/ssh/sshd_config:43 setting PermitEmptyPasswords no
debug3: /etc/ssh/sshd_config:47 setting ChallengeResponseAuthentication no
debug3: /etc/ssh/sshd_config:62 setting X11Forwarding yes
debug3: /etc/ssh/sshd_config:63 setting X11DisplayOffset 10
debug3: /etc/ssh/sshd_config:64 setting PrintMotd no
debug3: /etc/ssh/sshd_config:65 setting PrintLastLog yes
debug3: /etc/ssh/sshd_config:66 setting TCPKeepAlive yes
debug3: /etc/ssh/sshd_config:73 setting AcceptEnv LANG LC_*
debug3: /etc/ssh/sshd_config:75 setting Subsystem sftp
/usr/lib/openssh/sftp-server
debug3: /etc/ssh/sshd_config:86 setting UsePAM yes
debug3: /etc/ssh/sshd_config:88 setting AllowUsers nx eric
debug1: sshd version OpenSSH_5.3p1 Debian-3ubuntu7
debug3: Not a RSA1 key file /etc/ssh/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: private host key: #0 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: private host key: #1 type 2 DSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: rexec_argv[2]='-d'
debug1: rexec_argv[3]='-d'
debug1: rexec_argv[4]='-p'
debug1: rexec_argv[5]='1000'
debug2: fd 3 setting O_NONBLOCK
debug1: Bind to port 1000 on 0.0.0.0.
Server listening on 0.0.0.0 port 1000.
debug2: fd 4 setting O_NONBLOCK
debug1: Bind to port 1000 on ::.
Server listening on :: port 1000.
debug3: fd 5 is not O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug3: send_rexec_state: entering fd = 8 config len 713
debug3: ssh_msg_send: type 0
debug3: send_rexec_state: done
debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8
debug1: inetd sockets after dupping: 3, 3
Connection from 127.0.0.1 port 48318
debug1: Client protocol version 2.0; client software version OpenSSH_5.3p1
Debian-3ubuntu7
debug1: match: OpenSSH_5.3p1 Debian-3ubuntu7 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu7
debug2: fd 3 setting O_NONBLOCK
debug2: Network child is on pid 10064
debug3: preauth child monitor started
debug3: mm_request_receive entering
debug3: privsep user:group 108:65534
debug1: permanently_set_uid: 108/65534
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug3: Wrote 784 bytes for a total of 823
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,
rijndael-cbc at lysator.liu.se
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,
rijndael-cbc at lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 at openssh.com
,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 at openssh.com
,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib at openssh.com
debug2: kex_parse_kexinit: none,zlib at openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,
rijndael-cbc at lysator.liu.se
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,
rijndael-cbc at lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 at openssh.com
,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 at openssh.com
,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib at openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib at openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
debug3: mm_request_send entering: type 0
debug3: monitor_read: checking request 0
debug3: mm_answer_moduli: got parameters: 1024 1024 8192
debug3: mm_request_send entering: type 1
debug2: monitor_read: 0 used once, disabling now
debug3: mm_request_receive entering
debug3: mm_choose_dh: waiting for MONITOR_ANS_MODULI
debug3: mm_request_receive_expect entering: type 1
debug3: mm_request_receive entering
debug3: mm_choose_dh: remaining 0
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug3: Wrote 152 bytes for a total of 975
debug2: dh_gen_key: priv key bits set: 128/256
debug2: bits set: 544/1024
debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
debug2: bits set: 492/1024
debug3: mm_key_sign entering
debug3: mm_request_send entering: type 5
debug3: mm_key_sign: waiting for MONITOR_ANS_SIGN
debug3: mm_request_receive_expect entering: type 6
debug3: monitor_read: checking request 5
debug3: mm_request_receive entering
debug3: mm_answer_sign
debug3: mm_answer_sign: signature 0x223ef2e8(271)
debug3: mm_request_send entering: type 6
debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: Wrote 720 bytes for a total of 1695
debug2: monitor_read: 5 used once, disabling now
debug3: mm_request_receive entering
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug3: Wrote 48 bytes for a total of 1743
debug1: userauth-request for user eric service ssh-connection method none
debug1: attempt 0 failures 0
debug3: mm_getpwnamallow entering
debug3: mm_request_send entering: type 7
debug3: mm_getpwnamallow: waiting for MONITOR_ANS_PWNAM
debug3: mm_request_receive_expect entering: type 8
debug3: mm_request_receive entering
debug3: monitor_read: checking request 7
debug3: mm_answer_pwnamallow
debug3: Trying to reverse map address 127.0.0.1.
debug1: do_cleanup
debug3: PAM: sshpam_thread_cleanup entering
Segmentation fault
eric at eric-desktop:~$ exit
exit

Script done on Thu 16 Feb 2012 12:40:35 AM MST
*
*
On Tue, Feb 14, 2012 at 1:07 PM, <chris at ccburton.com> wrote:

>
> freenx-knx-bounces at kde.org wrote on 14/02/2012 17:45:42:
>
>
> > Thanks for the information Chris.  I'll give it another shot, but
> > I'm unable to even get into my machine with the nxclient from my
> > Windows machines.  The server experiences the segfault and says
> > authentication failed.  I think the problem started when I was last
> > able to remote in and started a session where I was using Firefox
> > and FireFTP.  I closed the session (didn't terminate it), and I've
> > not been able to get back in since.
> >
> > I'll get you more information, and I really appreciate your help this
> far.
>
>
> Actually I've just had a look through your debug again.
>
> NOTE
> NX makes two ssh connections, a remote using rsa and then
> another to localhost using password.
>
> On yours the second one fails, but running sshd in debug mode
> means you only get one connection.
>
> so
>
> to debug this second connection you will need to run
> a separate sshd in debug mode.
> and
> tell FreeNX to use that one using SSHD_PORT=
>
>
> It's just as easy to run two in debug mode so
> you get a full picture
>
>
>
>
> You will need two "root" terminal sessions on your server.
>
>
> Stop the ssh service
>
> In terminal 1 run
>
>         /usr/sbin/sshd -d -d -d -p 22
>
>         If you have changed from port 22 to another one
>                  - use the other one.
>
> In terminal 2
>
>         edit /etc/nxserver/node.conf and change
>         #SSHD_PORT=22 (or whater you use)
>                 to a different port eg.1000
>         & uncomment it if necessary
>         SSHD_PORT=1000
>
> then run
>
>         /usr/sbin/sshd -d -d -d -p 1000-or-whatever
>
> to start the second sshd in term2
>
>
> Then you can try your nxclient
>         (against the sshd on the port in t1)
>
> and see if it falls over . . .
>
>
> I note the sshd pid from the segfault does not
> correspond to any of the sshd pids in your debug.
>
> Are you sure they are related ??
>
>
>
> ________________________________________________________________
>     Were you helped on this list with your FreeNX problem?
>    Then please write up the solution in the FreeNX Wiki/FAQ:
>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
>
>         Don't forget to check the NX Knowledge Base:
>                 http://www.nomachine.com/kb/
>
> ________________________________________________________________
>       FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>      https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20120216/fb334ac5/attachment.html>


More information about the FreeNX-kNX mailing list