FreeNX Error: nxagent failed to start with: Unrecognized option: 1

2006 年 8 月 23 日 | カテゴリー: 環境構築

2006082301.png

環境
FreeNX 0.4.4 on SUSE Linux 10.1
NX Client 2.0.0-98 on Windows XP

この環境で FreeNX をセットアップし NX Client からつなごうとするとエラーが発生します。

FreeNX Error: nxagent failed to start with: Unrecognized option: 1

原因は FreeNX 0.4.4 が NX Client 2.0.0 のリクエストに対応できないもよう。

FreeNX FAQ/Problem Solving – OpenFacts

Solutions for NX Clients versions 2.0.0 and FreeNX 0.4.x and 0.5.0.
If you have problem connecting with new NX Client ver. 2.0.0, there are 2 patch, which working for me with NX Client ver. 2.0.0-93:

接続できるようにするために二箇所修正を行います。

fake cookie authentication problem

/usr/bin/nxnode を vi で開き、 node_startsession() を編集します。

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
fi

Backingstore problem

node_start_agent() の [ -n "$backingstore" ] && B=”-bs $backingstore” の下に以下を追加します。

# backingstore = { "when_requested", "always", ... }
[ -n "$backingstore" -a "$ENABLE_2_0_0_BACKEND" != "1" -a "$backingstore" != "1" ] && B="-bs $backingstore"
# backingstore = 1 (new nxclient 2.0.0 doesn't send any strings in the option-string for backingstore anymore)
[ -n "$backingstore" -a "$ENABLE_2_0_0_BACKEND" != "1" -a "$backingstore" = "1" ] && B="+bs"
# backingstore = 1 and 2.0.0-Backend EXPERIMENTAL
[ -n "$backingstore" -a "$ENABLE_2_0_0_BACKEND" = "1" ] && B="-bs $backingstore"
  1. 神無月はづき
    2006 年 8 月 24 日 05:27

    こ、この絵は・・・しろさんの絵ですか??

  2. 2006 年 8 月 24 日 07:01

    よくご存知で。しろさん大好きなのですよー

    偶然にも初めてのコミケで買った本もしろさんのコピー誌だったという…(当時は知らずに、島をさまよってるときに買った)

  3. 神無月はづき
    2006 年 8 月 24 日 21:24

    ボクもしろさん大好きですー(*’-')b
    シンフォニック=レインでハマったので割と最近?からですが(^-^;
    あの穏やかな絵にほんわかしますーw
    もう最近は同人誌もしろさんのしか買ってませんよー(^-^;

    >コピー本
    マジデスカΣ(゚ロ゚;)
    それはかなり貴重な1品なのでは・・・(*’-')b