[FreeNX-kNX] I: New to FreeNX first problem... :(
David Goodwin
david at codepoets.co.uk
Tue Feb 20 14:35:35 UTC 2007
<snip>
> NX> 1004 Error: nxagent failed to start with: Unrecognized option: 1
<snip>
> Someone can help me? Or know an how-to to resolve this problem?
I'm using freeNX v 0.4.4+0.4.5-4ubuntu3 on an Ubuntu Dapper machine,
and experienced this problem when connecting from a Windows client.
(From a Linux client it worked fine).
The replies pointed to a Japanese (I presume) web page -
http://apribase.sakura.ne.jp/archives/2006/08/23_2318.php -
which was difficult to understand.
Anyway, here's a patch that works for me.
--- nxnode 2006-08-04 10:10:37.000000000 +0100
+++ /usr/lib/nx/nxnode 2007-02-20 13:53:49.000000000 +0000
@@ -229,7 +229,11 @@
[ -n "$keyboard" ] && K="-keyboard $keyboard"
[ -n "$kbtype" ] && K="-kbtype $kbtype"
B=""
- [ -n "$backingstore" ] && B="-bs $backingstore"
+ # Fix 2.0.0 compatibility issues; especially seen when windows clients
connect.
+ [ -n "$backingstore" -a "$ENABLE_2_0_0_BACKEND" != "1" -a
"$backingstore" != "1" ] && B="-bs $backingstore"
+ [ -n "$backingstore" -a "$ENABLE_2_0_0_BACKEND" != "1" -a
"$backingstore" = "1" ] && B="+bs"
+ [ -n "$backingstore" -a "$ENABLE_2_0_0_BACKEND" = "1" ] && B="-bs
$backingstore"
+
G=""
[ -n "$geometry" ] && G="-geometry $geometry"
R=""
@@ -679,7 +683,7 @@
proxy_cookie=$(echo $[$RANDOM*$RANDOM] | $COMMAND_MD5SUM | cut -d" "
-f1)
- if [ "$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.5.0" ]
+ if [ "$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.5.0" ] ||
[ "$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.4.0" ]
then
# enable fake cookie authentication
cookie=$proxy_cookie
Hope that's of some help.
thanks
David.
--
View this message in context: http://www.nabble.com/I%3A-New-to-FreeNX-first-problem...-%3A%28-tf3144090.html#a9062849
Sent from the freenx-knx mailing list archive at Nabble.com.
More information about the FreeNX-kNX
mailing list