[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freenx-knx
Subject:    Re: [FreeNX-kNX] version 0.7.1: Problem with nxdialog
From:       "Fabian Franz" <FabianFranz () gmx ! de>
Date:       2007-10-22 11:43:49
Message-ID: 20071022114349.311880 () gmx ! net
[Download RAW message or body]

> > 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
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:
  http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/ 

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX@kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic