日記/2014-06-22
をテンプレートにして作成
ホーム
検索
最終更新
テスト
リンク
ヘルプ
新規
pukiwiki-official
pukiwiki-dev
ヘルプ
プラグインヘルプ
開始行:
**X-window(Cygwin/X)を活用 [#e1b93bd7]
ircddbgateway + dummyrepeater を1PC上で走らせ、Win7のPC...
X-window(server/client)機能は、UNIXの醍醐味としてはじめた...
+構成
>host側 ircddbgatewayd + dummyrepeater on raspi (192.168...
<
>client側 Cygwin/x on Windows7 (192.168.0.11)
<
+手順
++client側でxterminalを開き
$ ssh -XC testuser@192.168.0.10
$ xauth list
raspi/unix:10 MIT-MAGIC-COOKIE-1 yyyyyyyyyyyyyyyyyyy
$ echo $DISPLAY
localhost:10.0
などと(これは例として)表示されることを確認する。次にsu...
$ su -
Password:
# xauth list
raspi/unix:10 MIT-MAGIC-COOKIE-1 yyyyyyyyyyyyyyyyyyy
# echo $DISPLAY
localhost:10.0
この時、もし
zauth: file /root/root/.Xauthority does not exist
と表示した場合は、そのまま次のように追加する。
# xauth add raspi/unix:10 MIT-MAGIC-COOKIE-1 yyyyyyyyyyy...
# export DISPLAY=localhost:10.0
++DummyRepeaterを起動
client側Terminal内で、root からexitしてuserに戻し、
$ sudo dummyrepeater &
[1] 4842
Windows7のデスクトップ画面にdummyrepeaterのGUI画面が現れる↓
&ref(Dummy_Xhost.JPG,,30%);
++ircddbgatewaydを起動
host側のircddbgatewaydをclient側のTerminal上から
$ sudo ircddbgatewayd &
以上でhost側のスピーカーからnot linked が流れてくればOK
+今後
上記手順をスクリプト化していく予定。
yyyyyyyyyyyyyyyyyyyの部分がログインするたびに異なる。これ...
&color(Red){''予定変更''};
# ssh -Y root@192.168.xxx.yyy
# dummyrepeater
これでOKであることがわかった。
&color(Red){''更にGood な News''};
+構成変更
>host側 ircddbgatewayd on raspi (192.168.0.10)
<
>client側 DummyRpeater on Windows7 (192.168.0.11)
<
raspiのPreference( /etc/ircddbgateway )の変更箇所
>・
hbAddress=0.0.0.0 ← 127.0.0.1 を
・
repeaterBand1=A
repeaterType1=0
repeaterAddress1=192.168.0.11 ← 127.0.0.1 を
repeaterPort1=20011
・
<
Win7 上のDummyRepeater のPreference を次のように変更すれ...
>(Preference of dummyrepeater)
Network tab Changes to;
1.Gateway Address: 192.168.0.10 ← ircddbgateway's running
2.Gateway Port: 20010
3.Local Address: 0.0.0.0 ← this point (before 127.0.0.1)
4.Local Port: 20011 (ex. Repeater1)
<
#clear
#comment
#navi(日記)
終了行:
**X-window(Cygwin/X)を活用 [#e1b93bd7]
ircddbgateway + dummyrepeater を1PC上で走らせ、Win7のPC...
X-window(server/client)機能は、UNIXの醍醐味としてはじめた...
+構成
>host側 ircddbgatewayd + dummyrepeater on raspi (192.168...
<
>client側 Cygwin/x on Windows7 (192.168.0.11)
<
+手順
++client側でxterminalを開き
$ ssh -XC testuser@192.168.0.10
$ xauth list
raspi/unix:10 MIT-MAGIC-COOKIE-1 yyyyyyyyyyyyyyyyyyy
$ echo $DISPLAY
localhost:10.0
などと(これは例として)表示されることを確認する。次にsu...
$ su -
Password:
# xauth list
raspi/unix:10 MIT-MAGIC-COOKIE-1 yyyyyyyyyyyyyyyyyyy
# echo $DISPLAY
localhost:10.0
この時、もし
zauth: file /root/root/.Xauthority does not exist
と表示した場合は、そのまま次のように追加する。
# xauth add raspi/unix:10 MIT-MAGIC-COOKIE-1 yyyyyyyyyyy...
# export DISPLAY=localhost:10.0
++DummyRepeaterを起動
client側Terminal内で、root からexitしてuserに戻し、
$ sudo dummyrepeater &
[1] 4842
Windows7のデスクトップ画面にdummyrepeaterのGUI画面が現れる↓
&ref(Dummy_Xhost.JPG,,30%);
++ircddbgatewaydを起動
host側のircddbgatewaydをclient側のTerminal上から
$ sudo ircddbgatewayd &
以上でhost側のスピーカーからnot linked が流れてくればOK
+今後
上記手順をスクリプト化していく予定。
yyyyyyyyyyyyyyyyyyyの部分がログインするたびに異なる。これ...
&color(Red){''予定変更''};
# ssh -Y root@192.168.xxx.yyy
# dummyrepeater
これでOKであることがわかった。
&color(Red){''更にGood な News''};
+構成変更
>host側 ircddbgatewayd on raspi (192.168.0.10)
<
>client側 DummyRpeater on Windows7 (192.168.0.11)
<
raspiのPreference( /etc/ircddbgateway )の変更箇所
>・
hbAddress=0.0.0.0 ← 127.0.0.1 を
・
repeaterBand1=A
repeaterType1=0
repeaterAddress1=192.168.0.11 ← 127.0.0.1 を
repeaterPort1=20011
・
<
Win7 上のDummyRepeater のPreference を次のように変更すれ...
>(Preference of dummyrepeater)
Network tab Changes to;
1.Gateway Address: 192.168.0.10 ← ircddbgateway's running
2.Gateway Port: 20010
3.Local Address: 0.0.0.0 ← this point (before 127.0.0.1)
4.Local Port: 20011 (ex. Repeater1)
<
#clear
#comment
#navi(日記)
ページ名: