[FreeNX-kNX] version 0.7.1: Problem with nxdialog

Wolfgang Schweer schweer at cityweb.de
Mon Oct 22 01:41:27 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Fabian,

when nomachine nxclient is installed on the server side as well, then
the nx connection wizzard is coming up instead of the suspend/resume message.

The attached patch fixes it for me. Could you take a look at the
problem?

Wolfgang

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHG//LnlCf5+ELaesRAuoQAJ9QPFbViC3JfuCT4BYImFAopIypHgCfVlAs
GaFQoa/xJ9tCN8cdPuE4TTk=
=lM6I
-----END PGP SIGNATURE-----
-------------- next part --------------
--- nxdialog.orig	2007-10-15 00:25:14.000000000 +0200
+++ nxdialog	2007-10-22 03:28:06.000000000 +0200
@@ -73,7 +73,7 @@
 # This seems to be because the used sorting algorithm scales in O(n^2).
 
 NXCLIENT="/usr/NX/bin/nxclient"
-[ -x "$NXCLIENT" -a "$DIALOG_TYPE" != "printer" -a "$(file -bi $NXCLIENT)" != 'application/x-shellscript' ] \
+[ -x "$NXCLIENT" -a "$DIALOG_TYPE" != "yesnosuspend" -a "$DIALOG_TYPE" != "printer" -a "$(file -bi $NXCLIENT)" != 'application/x-shellscript' ] \
 	&& exec ${NXCLIENT} "$@"
 
 # FIXME: This should be COMMAND_XDIALOG, ...


More information about the FreeNX-kNX mailing list