[FreeNX-kNX] Cannot use Windows Desktop

Daniel Houlbrooke lists at dantech.net.nz
Thu Feb 26 22:55:58 UTC 2009


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



More information about the FreeNX-kNX mailing list