[FreeNX-kNX] version 0.7.1: Problem with nxdialog
Fabian Franz
FabianFranz at gmx.de
Mon Oct 22 11:43:49 UTC 2007
> > 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.
Oops, that is bad.
> > The attached patch fixes it for me. Could you take a look at the
> > problem?
This is not a fix, but a workaround.
> > Wolfgang
>
> patch i use for archlinux
This is not the correct fix either, but gives me the idea that the problem lies in the requoting.
Fixed in SVN.
And patch I used is:
Index: nxdialog
===================================================================
--- nxdialog (Revision 396)
+++ nxdialog (Arbeitskopie)
@@ -71,10 +71,13 @@
# client does not like large databases like used when ENABLE_FOOMATIC=1.
#
# This seems to be because the used sorting algorithm scales in O(n^2).
+#
+# This is now fixed in NXClient 3.0.0, but still people sometimes use
+# older clients.
NXCLIENT="/usr/NX/bin/nxclient"
[ -x "$NXCLIENT" -a "$DIALOG_TYPE" != "printer" -a "$(file -bi $NXCLIENT)" != 'application/x-shellscript' ] \
- && exec ${NXCLIENT} "$@"
+ && exec ${NXCLIENT} $INPUTS
# FIXME: This should be COMMAND_XDIALOG, ...
if [ -x /usr/bin/Xdialog ]
Thanks for finding and fixing.
Lets see if there are more obvious bugs that I have overseen :-).
cu
Fabian
More information about the FreeNX-kNX
mailing list