[FreeNX-kNX] Cannot use Windows Desktop

jim.sifferle at tektronix.com jim.sifferle at tektronix.com
Fri Feb 27 00:16:58 UTC 2009


Hi Daniel,

Thanks for your patch.  It worked fine, however check out Marcelo's posted patch.  It seems to fix nxdesktop_helper so it will run applications as well.

Thanks,

Jim Sifferle
Danaher T&M / Tektronix Network Services
Work: 503-627-5364
Mobile: 503-860-5558
Jim.sifferle at tektronix.com



-----Original Message-----
From: Daniel Houlbrooke [mailto:lists at dantech.net.nz] 
Sent: Thursday, February 26, 2009 2:56 PM
To: User Support for FreeNX Server and kNX Client
Subject: Re: [FreeNX-kNX] Cannot use Windows Desktop

Hi Jim,

On Fri, 27 Feb 2009 11:20:56 am jim.sifferle at tektronix.com wrote:
> When I connect using FreeNX / Terminal Services, I get logged
> into the Windows server, then receive an error "The system cannot find the
> path specified.  This initial program cannot be started:
> /usr/bin/nxdesktop_helper.  Please consult Help for more information." 

I have struck this problem also. For some reason rdesktop is being called with 
-s /usr/bin/nxdesktop_helper. As a quick fix you can patch nxdesktop_helper 
with the below:

--- nxdesktop_helper.orig       2008-08-06 10:52:30.000000000 +1200
+++ nxdesktop_helper    2009-02-27 11:46:33.986651279 +1300
@@ -13,6 +13,7 @@

 # Workaround for NXClient 3.2.0, sending wrong keyboard layout
 [ "$agent_keyboard" = "ch" ] && agent_keyboard="de-ch"
+[ "$agent_keyboard" = "us" ] && agent_keyboard="en-us"

 # URL Decode
 url_decode()
@@ -38,7 +39,7 @@
 agent_password=$(url_decode "$agent_password")

 # setup commandline
-set -- -u "$agent_user" -k "$agent_keyboard" -d "$agent_domain" -f -s 
"$windows_app" $AGENT_EXTRA_OPTIONS_RDP "$agent_server"
+set -- -u "$agent_user" -k "$agent_keyboard" -d "$agent_domain" -f 
$AGENT_EXTRA_OPTIONS_RDP "$agent_server"

 if [ -n "$agent_password" ]
 then


Note that with this patch you will only be able to bring up the desktop 
instead of running a specific application on log in.

Hope this helps.

Cheers,


-- 
Daniel
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
  
         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/ 

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





More information about the FreeNX-kNX mailing list