ラズパイ キーボード・マウス共有
キーボード・マウスをwindowsと共有して操作する。
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
キーボード・マウス共有は実際のケーブルでつなぐ製品があるよね。
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
番長が買ったもの貼り付けました。エレコムのはマウスとキーボードの切替で使用。IppinkanっていうのはHDMIまで切替ができます。Ippinkanのほうが切替がすごく速い。でも、切替はもう断然 ネットワークでマウスとキーボードの共有ができるBarrierというソフトのほうが速くて便利でスマート。ハードの方はゆっくりの切替でいいときだけ使うって感じになっちゃってます。
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
そんなちがうんだ
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
もちろんネットワーク接続だと不安定なときもあるんだけど、調子がいいとwindowsとラズパイとのコピペもしっかりできるしホントべんり。個々のマシンをしっかり使う場合はハードの方。X68000ZとWindows(遠隔VNCラズパイ)の切替にはハードの切替を使ってて、両方のマシンを頻繁に行き来する場合は Barrierかにゃー。
![](https://nekopom.jp/wp-content/uploads/2023/06/super-wide-monitor.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/super-wide-monitor.jpg)
番長んちは最近ハヤリのスーパーワイドモニターを使っています。DELLのやつ。画面をPBPという機能で2分割にでき超快適! ネットワークで画面映さない分VNCよりレスポンスが良いです!!
Barrierをラズパイにインストールする
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
タスクバーからターミナル起動にゃ。
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
コマンドについてwebを見てると よくコマンドに -y がついているのを見かけます。ちょっと調べてみました。コマンド実行時に 「はい/いいえ」の選択があった場合、全部「はい」で進めるオプションとのこと。
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
採用にゃ! 以下のコマンドをコピペで1つづつ入力するにゃ。
sudo apt update ※パッケージリストの更新
sudo apt upgrade -y ※インスト済のソフトを最新に更新
sudo apt install barrier -y ※barrierをインストール
sudo apt update
sudo apt upgrade -y
sudo apt install barrier -y
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
1行目、貼り付けて Enter
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal-barrier-commnd1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal-barrier-commnd1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal-barrier-commnd2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal-barrier-commnd2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
2行目、貼り付けて Enter …. こんな感じに3行目も貼り付けて Enter
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal-barrier-commnd3new.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal-barrier-commnd3new.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal-barrier-commnd4.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal-barrier-commnd4.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal-barrier-commnd5.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-Terminal-barrier-commnd5.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
ラズパイにインストール完了だにゃ!ターミナル閉じてOK。スタートメニューのアクセサリから起動します! 続いてセッティングにゃ。
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-menu-barrier-1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-menu-barrier-1.jpg)
Barrierのラズパイ版をクライアントとしてセットアップする
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
ラズパイにインストール完了!ターミナルは閉じてOKにゃ。スタートメニューのアクセサリから起動してセッティングしていきます。
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-welcome.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-welcome.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-language.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-language.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
ラズパイ側をクライアントとして設定します。windowsをサーバーにする予定で進行にゃ。
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-server-or-client.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-server-or-client.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-server-or-client-option4.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-server-or-client-option4.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-server-or-client-option2B.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-server-or-client-option2B.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
Enable SSL を ONにすると繋がらなかったので OFFにするにゃ。上の2つはチェックしたほうがスマートかにゃ。
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-server-or-client-option3-1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-server-or-client-option3-1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-server-or-client-option5.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-setup-server-or-client-option5.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
ラズパイ側の設定OKですね!
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
つぎはBarrierを自動起動させるセッティングするにゃ。常駐させとけばいつでも使えて便利!
Barrierを自動起動させる。
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
ラズパイのブラウザから ファイイルを落として解凍してね!
lxsession.zip をダウンロードしてダブルクリックしてファイルを展開
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-unzip-button-1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-unzip-button-1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-lxsession.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-lxsession.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
解凍されたフォルダを確認しつつ、もういっこ普通のファイルマネージャーを起動します。
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-lxsessiontemp.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-lxsessiontemp.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-w-1024x764.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-w-1024x764.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
先程の解凍されたフォルダをまるごと隠されているフォルダに移動するので「隠しファイルを表示する」を選択
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-w2-1024x761.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-w2-1024x761.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
隠しフォルダと隠しファイルのファイル名は ファイルの先頭に「 . 」 がついてます。隠しフォルダの「.config」を開き、「lxsession」フォルダをマウスで移動します!
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-w4-1024x762.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-w4-1024x762.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-w5-2-1024x763.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-w5-2-1024x763.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
ファイルマネージャーの隠しファイル表示設定をもとに戻しときましょ。ここで再起動すれば無事 Barrierが自動起動されます!!
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-wA-1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-wA-1.jpg)
ラズパイのプログラムの自動起動はどうやるの?(確認してみる)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
そういえばラズパイの自動起動はいろんな種類があるって書いてあったよ。今回やった以外の他の方法もあるのかしら?
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
番長がいろいろ試した結果、今回の方法がいちばんラクだったって。systemd っていって 起動するサービスを作って…とかも一応自動起動できたらしいけど、かなりめんどかったって言ってました。
Qiita @karaage0703さんの
Raspberry Piでプログラムを自動起動する5種類の方法を比較・解説を参考にさせていただきました。
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
Bariier 普通に自動起動されてるし、今回の方法はどうなってるか知りたいです!
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
ラズパイでこれからあそぶにあたって、自作Pythonファイルを自動起動したいことだってあるもんね。自動起動するファイルに簡単にいけるようにまずブックマークしちゃおうにゃ。
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
ファイルマネージャーを開き、表示→隠しファイルを表示するにして、
/home/pi/.config/lxsession/LXDE-pi をブックマークに追加。
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-bookmark-1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-bookmark-1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
隠しファイルを表示するをOFFにしても次から簡単に来れるにゃ。もし写真のように表示されてなかったら、ファイルマネージャーを再起動すると出てくると思うにゃよ。
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-bookmark-2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-bookmark-2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
ファイルを開きます。シンプルなテキストエディタを使うにゃ。見やすいし。
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-bookmark-3.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-bookmark-3.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
autostartの中身にゃ。/etc/xdg/lxsession/LXDE-pi に同じ autostartファイルがあって、それをコピーして使うとのことみたい。
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-wB.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-wB.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
あ。今回のBarrierだ。barrier って書いてある部分は番長が足したのね。
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
そうそう。元からのは上の3行。先頭の@ってなんにゃろ? と調べたら、https://wiki.archlinux.jp/ に、@の後のコマンドはクラッシュした際に自動的に再度実行されます。とあったにゃ。ということでbarrierにもつけときました。
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
/user/bin/barrier っていうのはどういう意味なの?
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
Linuxのシステムはいまだちんぷんかんぷんだけど、barrierを実行できるファイルはどれだー って探してたら /user/bin/ に発見。ダブルクリックしたら実行できたので /user/bin/ にある barrier起動 ってことで /user/bin/barrierにしたらうごきました。
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-w9.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-fileM-w9.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
なるほど。なんとなくわかってきた! じゃ、自作Pythonのファイル gogo.py が、/home/pi/ にあって、自動起動したいときは….
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
autostart に、/home/pi/gogo.py 追加記入で動くにゃ! @は好きでよさげにゃ。
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
おっけー!
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
あと、.sh っていうスクリプトファイル。簡単なプログラムファイルにゃね。 これを自動起動に追加して、ラズパイにスイッチをつけて ONのときはこのプログラム、OFFのときはこのプログラムっていうのも可能にゃ!
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
夢ひろがるねー!ちなみに最初の3行はなんなのかな。
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
/etc/xdg/lxsession/LXDE-pi に同じ autostartファイルがある、って話から、たぶん…たぶんです。今回作った /home/pi/.config/lxsession/LXDE-pi/autostart 。 こっちに作るとこっちのファイルから起動、起動時に必要な大切な命令の3つなんじゃないかな。panel, pcmanfm, screen というワードから画面に関するもののような…..。 よし、3行消して再起動してみよう。
自動起動に失敗!! どうしよう(リカバリ方法)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-blackout-1024x576.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-blackout-1024x576.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
ああああ 予想通りの展開! 適当にクリッククリック!! 華麗に右クリック!
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-blackout-recovery1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-blackout-recovery1.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
なんか出たにゃ。なんとかなりそうにゃ。Terminal emulator を起動して….
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-blackout-recovery2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-blackout-recovery2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
ファイルマネージャー起動して、さっきDLした lxsession.zip を再解凍して /home/pi/.config/lxsession/LXDE-pi/ の中の autostrat を移動して上書き。そしてTerminal emulator から再起動!
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-blackout-recovery3.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/RaspberryPi-blackout-recovery3.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
あぶないあぶない。復帰です! 最初の3行は消しちゃだめ。です。
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-vnc-remote-1024x590.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-vnc-remote-1024x590.jpg)
windowsにBarrierをインストールする
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
かなりそれましたがwindowsにBarrierをインストールするにゃよ!
windows版 Github Barrier のダウンロード 2023/06/06現在 BarrierSetup-2.4.0-release.exe をDL
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
ダウンロードしたファイルをダブルクリックして起動しましたよー
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier1-license.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier1-license.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier2-selectDestination.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier2-selectDestination.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier3-selectAdditional.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier3-selectAdditional.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier4-readyToInstall.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier4-readyToInstall.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier5-completiong.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier5-completiong.jpg)
windowsのBarrierを設定してラズパイと接続する
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
windowsタスクバーのここクリックしてこのBarrierのアイコンをダブルクリックするとBarrierのウインドウが出るにゃ。
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-taskbar-barrier.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-taskbar-barrier.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
出てきたwindows内のサーバーの構成設定をクリック!
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup1B.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup1B.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
マス内どこでも移動可能ぽい。気分で一番左に移動してみます。
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup4B.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup4B.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup4B2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup4B2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
右上のモニターからマウスで好きなとこに引っぱって設置。このモニターをラズパイモニターとして設定するにゃ。「名前なしモニター」をダブルクリックすると名前の変更ができるにゃ。ここに、ラズパイ側Barrierに表示されているモニターを記入。
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup3-2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup3-2.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup3B.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup3B.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
ラズパイ側のBarrierの画面の名前を念のため確認しますっ! 「raspberrypi」OKです!
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-name.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/raspberryPi-barrier-name.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup4.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/06/windows-barrier-setup4.jpg)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
![](https://nekopom.jp/wp-content/uploads/2023/05/pipoko.png)
「OK」 で閉じます。さくっと繋がりました!!
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
![](https://nekopom.jp/wp-content/uploads/2023/06/nekoppi.png)
次はwindowsとのファイル共有ができるsambaの設定にゃね!