LoginSignup
5
7

More than 5 years have passed since last update.

Raspberry PiにVNCでリモートアクセスする

Posted at

rasbperrypi.orgにドキュメントがある
https://www.raspberrypi.org/documentation/remote-access/vnc/

RaspbianでVNCサーバを起動する

  1. tightvncserverをインストールする
    • sudo apt-get install tightvncserver
  2. TightVNCサーバーを起動し表示用のパスワードを入力する
    • tightvncserver
    • パスワードを再設定する場合は vncpasswd を実行する
  3. VNCサーバーを起動する
    • vncserver :1 -geometry 1920x1080 -depth 24

piユーザ以外でVNCサーバを実行する場合 audio グループを追加しないとクライアントで表示した際にメニューバーが表示されない。sudo usermod -a -G audio your_user
参考: New Raspbian Interface Taskbar issue when not "pi"

MacでVNCクライアントを起動する

MacにはデフォルトでVNCクライアントがインストールされている。

  1. Finderのメニューで 移動 > サーバーへ接続... を選択する (⌘ + K)
  2. vnc://{PiのIPアドレス}:5901 を入力する
    • ポートは5900 + ディスプレイ番号になる
5
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
7