freenx-team team mailing list archive
-
freenx-team team
-
Mailing list archive
-
Message #00239
Re: [Bug 337103] [NEW] Cannot start nx sessions after update to 0.7.3+teambzr99-0
Are you sure the version you had installed was 0.7.3+teambzr99-0?
I think I had fixed this problem for this version. A "then" was missing
after the "elif"s lines.
Regards
Shima
--
Cannot start nx sessions after update to 0.7.3+teambzr99-0
https://bugs.launchpad.net/bugs/337103
You received this bug notification because you are a member of FreeNX
Team, which is the registrant for FreeNX Server.
Status in FreeNX open source NX Server: New
Bug description:
The client reports authentication failed when I try to establish a new nx session.
nxserver.log reports:
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
/usr/lib/nx/nxnode: line 360: syntax error near unexpected token `fi'
/usr/lib/nx/nxnode: line 360: ` fi'
expect: spawn id exp7 not open
while executing
"expect "NX> 1001 Bye.""
(file "/usr/lib/nx/nxnode-login" line 105)
I took a glance at /usr/lib/nx/nxnode but as my users where already anouncing to kill me, i decided to go back to 0.7.3+teambzr84-0.
Everything ist working fine again.
This is a diff of /usr/lib/nx/nxnode (84-0 vs 99-0)
309a310
> [ "$samba" = "1" -a "$ENABLE_CUPS_SERVER_EXPORT" = "1" ] && [ -d "$USER_FAKE_HOME/.nx/C-$sess_id/cups" ] && export CUPS_SERVER="$USER_FAKE_HOME/.nx/C-$sess_id/cups/cups.sock"
348c349
< else
---
> elif [ "$BOOTSTRAP_X_SESSION" = "1" ]
354c355,360
< NODE_APPLICATION=$DEFAULT_X_SESSION
---
> if [ "$login_method" = "GUEST" ]
> then
> NODE_APPLICATION=$COMMAND_GUEST_X_SESSION
> elif [ "$BOOTSTRAP_X_SESSION" = "1" ]
> NODE_APPLICATION=$DEFAULT_X_SESSION
> fi
733c739,747
< $COMMAND_SMBUMOUNT "$mpoint" >/dev/null 2>/dev/null
---
> for i in `seq 1 15` ; do
> if [ "$(mount | grep "$mpoint" | wc -l)" -ne 0 ] ; then
> $COMMAND_SMBUMOUNT "$mpoint" >/dev/null 2>/dev/null
> [ $? -ne 0 ] && $COMMAND_SMBUMOUNT -f "$mpoint" >/dev/null 2>/dev/null
> else
> break
> fi
> sleep 0.5s
> done
876d889
< echo "NX> 596 Error: Session $1 failed. Reason was: $line"
878a892
> echo "NX> 596 Error: Session $1 failed. Reason was: $line"
I have absolutely no time right at the moment to look at this. So I just report the bug.
Best regards
Manfred
Follow ups
References