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

chris at ccburton.com chris at ccburton.com
Tue Feb 14 13:18:10 UTC 2012


freenx-knx-bounces at kde.org wrote on 14/02/2012 07:07:48:

> OK, I've been debugging it quite a bit, and here's what I've found:
> 
> /var/log/auth.log:
> 
> root ; COMMAND=/usr/sbin/service ssh start
> Feb 14 00:09:12 eric-desktop sshd[11262]: Server listening on 0.0.0.
> 0 port [removed].
> Feb 14 00:09:12 eric-desktop sshd[11262]: Server listening on :: 
> port [removed].
> Feb 14 00:09:29 eric-desktop sshd[11265]: Accepted publickey for nx 
> from 192.168.1.101 port 1371 ssh2
> Feb 14 00:09:29 eric-desktop sshd[11265]: pam_unix(sshd:session): 
> session opened for user nx by (uid=0)

nx logged in

> Feb 14 00:09:33 eric-desktop nxserver[11514]: (nx) Failed login for 
> user=eric from IP=192.168.1.101

"eric" didn't . . . we don't know why because the debug is missing

> Feb 14 00:09:33 eric-desktop sshd[11265]: pam_unix(sshd:session): 
> session closed for user nx

nx terminated

> Feb 14 00:10:38 eric-desktop gnome-keyring-daemon[1442]: unsupported
> key algorithm in certificate: 1.2.840.10045.2.1
> Feb 14 00:10:39 eric-desktop gnome-keyring-daemon[1442]: unsupported
> key algorithm in certificate: 1.2.840.10045.2.1
> Feb 14 00:10:42 eric-desktop sshd[11533]: Accepted password for eric
> from ::1 port 56082 ssh2
> Feb 14 00:10:42 eric-desktop sshd[11533]: pam_unix(sshd:session): 
> session opened for user eric by (uid=0)

"eric" logged in using password -good

> Feb 14 00:10:54 eric-desktop postfix/smtpd[11617]: sql_select option 
missing
[SNIP]
> Feb 14 00:11:00 eric-desktop postfix/smtpd[11622]: _sasl_plugin_load

 . . . don't really need smtpd . . .

> failed on sasl_auxprop_plug_init for plugin: sql
> Feb 14 00:11:11 eric-desktop sshd[11626]: Accepted publickey for nx 
> from 192.168.1.101 port 1376 ssh2
> Feb 14 00:11:11 eric-desktop sshd[11626]: pam_unix(sshd:session): 
> session opened for user nx by (uid=0)

nx logged in again . . .
        ( . . . then 11865 fell over, about here. . . )

> Feb 14 00:11:15 eric-desktop nxserver[11873]: (nx) Failed login for 
> user=eric from IP=192.168.1.101

"eric" didn't . . .

> Feb 14 00:11:15 eric-desktop sshd[11626]: pam_unix(sshd:session): 
> session closed for user nx
> 
> System Log:
> 
> Feb 14 00:11:13 eric-desktop kernel: [1330184.246969] sshd[11865]: 
> segfault at be9494a0 ip 0078bfea sp be949490 error 6 in libc-2.11.1.so
> [6e6000+153000]

11865 fell over . . . at 00:11:13

> 
> Some Settings and Information:
> 
> TEST2:
> 
> 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 [removed]
> debug3: /etc/ssh/sshd_config:9 setting Protocol 2
[SNIP]
> /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

So
 where is the rest of it ??

> 
> I can SSH into my machine via a terminal by using: ssh localhost

Well, that's what's needed by nxserver

> 
> I'm able to get in fine, and I don't have any errors via
> the command line.  Is there something wrong with my freenx
settings?   Anyone know what's going on?  All help is appreciated.

If you can connect the first time and continue until
you run FireFTP, it's unlikely to be a FreeNX issue.




Start a root terminal session

stop your sshd

run on the command line :-

/usr/sbin/sshd -d -d -d [ -f config-file-name-if-not-the-default ]

        you should get lots of debug on the terminal to copy

Try your NX connections until you get the segfault.
(you will need to run sshd again for each new session)

Look at the sshd debug for any failures or errors and
last few lines of the debug to see what it was doing
at the segfault . . .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20120214/498ae3e5/attachment.html>


More information about the FreeNX-kNX mailing list