<br><tt><font size=2>freenx-knx-bounces@kde.org wrote on 14/02/2012 07:07:48:<br>
<br>
> OK, I've been debugging it quite a bit, and here's what I've found:<br>
> <br>
> /var/log/auth.log:<br>
> <br>
> root ; COMMAND=/usr/sbin/service ssh start<br>
> Feb 14 00:09:12 eric-desktop sshd[11262]: Server listening on 0.0.0.<br>
> 0 port [removed].<br>
> Feb 14 00:09:12 eric-desktop sshd[11262]: Server listening on :: <br>
> port [removed].<br>
> Feb 14 00:09:29 eric-desktop sshd[11265]: Accepted publickey for nx
<br>
> from 192.168.1.101 port 1371 ssh2<br>
> Feb 14 00:09:29 eric-desktop sshd[11265]: pam_unix(sshd:session):
<br>
> session opened for user nx by (uid=0)<br>
</font></tt>
<br><tt><font size=2>nx logged in</font></tt>
<br>
<br><tt><font size=2>> Feb 14 00:09:33 eric-desktop nxserver[11514]:
(nx) Failed login for <br>
> user=eric from IP=192.168.1.101<br>
</font></tt>
<br><tt><font size=2>"eric" didn't . . . we don't know why because
the debug is missing</font></tt>
<br>
<br><tt><font size=2>> Feb 14 00:09:33 eric-desktop sshd[11265]: pam_unix(sshd:session):
<br>
> session closed for user nx<br>
</font></tt>
<br><tt><font size=2>nx terminated</font></tt>
<br>
<br><tt><font size=2>> Feb 14 00:10:38 eric-desktop gnome-keyring-daemon[1442]:
unsupported<br>
> key algorithm in certificate: 1.2.840.10045.2.1<br>
> Feb 14 00:10:39 eric-desktop gnome-keyring-daemon[1442]: unsupported<br>
> key algorithm in certificate: 1.2.840.10045.2.1<br>
> Feb 14 00:10:42 eric-desktop sshd[11533]: Accepted password for eric<br>
> from ::1 port 56082 ssh2<br>
> Feb 14 00:10:42 eric-desktop sshd[11533]: pam_unix(sshd:session):
<br>
> session opened for user eric by (uid=0)<br>
</font></tt>
<br><tt><font size=2>"eric" logged in using password -good</font></tt>
<br>
<br><tt><font size=2>> Feb 14 00:10:54 eric-desktop postfix/smtpd[11617]:
sql_select option missing<br>
[SNIP]<br>
> Feb 14 00:11:00 eric-desktop postfix/smtpd[11622]: _sasl_plugin_load<br>
</font></tt>
<br><tt><font size=2> . . . don't really need smtpd . . .</font></tt>
<br>
<br><tt><font size=2>> failed on sasl_auxprop_plug_init for plugin:
sql<br>
> Feb 14 00:11:11 eric-desktop sshd[11626]: Accepted publickey for nx
<br>
> from 192.168.1.101 port 1376 ssh2<br>
> Feb 14 00:11:11 eric-desktop sshd[11626]: pam_unix(sshd:session):
<br>
> session opened for user nx by (uid=0)<br>
</font></tt>
<br><tt><font size=2>nx logged in again . . .</font></tt>
<br><tt><font size=2> ( . . . then 11865
fell over, about here. . . )</font></tt>
<br>
<br><tt><font size=2>> Feb 14 00:11:15 eric-desktop nxserver[11873]:
(nx) Failed login for <br>
> user=eric from IP=192.168.1.101<br>
</font></tt>
<br><tt><font size=2>"eric" didn't . . .</font></tt>
<br>
<br><tt><font size=2>> Feb 14 00:11:15 eric-desktop sshd[11626]: pam_unix(sshd:session):
<br>
> session closed for user nx<br>
> <br>
> System Log:<br>
> <br>
> Feb 14 00:11:13 eric-desktop kernel: [1330184.246969] sshd[11865]:
<br>
> segfault at be9494a0 ip 0078bfea sp be949490 error 6 in libc-2.11.1.so<br>
> [6e6000+153000]<br>
</font></tt>
<br><tt><font size=2>11865 fell over . . . at 00:11:13</font></tt>
<br>
<br><tt><font size=2>> <br>
> Some Settings and Information:<br>
> <br>
> TEST2:<br>
> <br>
> debug2: load_server_config: filename /etc/ssh/sshd_config<br>
> debug2: load_server_config: done config len = 713<br>
> debug2: parse_server_config: config /etc/ssh/sshd_config len 713<br>
> debug3: /etc/ssh/sshd_config:5 setting Port [removed]<br>
> debug3: /etc/ssh/sshd_config:9 setting Protocol 2<br>
[SNIP]</font></tt>
<br><tt><font size=2>> /usr/lib/openssh/sftp-server<br>
> debug3: /etc/ssh/sshd_config:86 setting UsePAM yes<br>
> debug3: /etc/ssh/sshd_config:88 setting AllowUsers nx eric<br>
> debug1: sshd version OpenSSH_5.3p1 Debian-3ubuntu7<br>
</font></tt>
<br><tt><font size=2>So</font></tt>
<br><tt><font size=2> where is the rest of it ??</font></tt>
<br>
<br><tt><font size=2>> <br>
> I can SSH into my machine via a terminal by using: ssh localhost<br>
</font></tt>
<br><tt><font size=2>Well, that's what's needed by nxserver</font></tt>
<br>
<br><tt><font size=2>> <br>
> I'm able to get in fine, and I don't have any errors via</font></tt>
<br><tt><font size=2>> the command line. Is there something wrong
with my freenx</font></tt>
<br><tt><font size=2>settings? Anyone know what's going on?
All help is appreciated.<br>
</font></tt>
<br><tt><font size=2>If you can connect the first time and continue until</font></tt>
<br><tt><font size=2>you run FireFTP, it's unlikely to be a FreeNX issue.</font></tt>
<br>
<br>
<br>
<br>
<br><tt><font size=2>Start a root terminal session</font></tt>
<br>
<br><tt><font size=2>stop your sshd</font></tt>
<br>
<br><tt><font size=2>run on the command line :-</font></tt>
<br>
<br><tt><font size=2>/usr/sbin/sshd -d -d -d [ -f config-file-name-if-not-the-default
]</font></tt>
<br>
<br><tt><font size=2> you should get
lots of debug on the terminal to copy</font></tt>
<br>
<br><tt><font size=2>Try your NX connections until you get the segfault.</font></tt>
<br><tt><font size=2>(you will need to run sshd again for each new session)</font></tt>
<br>
<br><tt><font size=2>Look at the sshd debug for any failures or errors
and</font></tt>
<br><tt><font size=2>last few lines of the debug to see what it was doing</font></tt>
<br><tt><font size=2>at the segfault . . .</font></tt>
<br>