[FreeNX-kNX] nxnode-login breaks with various PAM modules
Marcus Better
marcus at better.se
Thu Mar 10 14:21:38 UTC 2005
Hi,
I am running freenx 0.2.8 on Debian sarge (package version 0.2.8-1).
When connecting with the NoMachine client, the login would just hang at
the "Waiting authentication..." stage.
I traced the problem to the expect script in /usr/bin/nxnode-login. It
expects a "Password:" prompt from SSH. Since I use PAM authentication
with ssh (either pam_unix or pam_krb5) I get lines such as
Password for user at host:
or
Password for user at REALM:
The following patch fixed the problem:
--- nxnode-login
+++ nxnode-login 2005-03-10 15:20:15.056405648 +0100
@@ -21,7 +21,7 @@
while {1} {
expect {
"Are you sure you want to continue connecting
(yes/no)?" { send"yes\r" }
- "Password:" { send "$password\r" }
+ "Password*:" { send "$password\r" }
"Permission denied*" { exit 1 }
"NX> 1000 NXNODE - Version" {
break
More information about the FreeNX-kNX
mailing list