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

List:       freenx-knx
Subject:    Re: [FreeNX-kNX] I: New to FreeNX first problem... :(
From:       David Goodwin <david () codepoets ! co ! uk>
Date:       2007-02-20 14:35:35
Message-ID: 9062849.post () talk ! nabble ! com
[Download RAW message or body]


<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.

________________________________________________________________
     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