Raspberry Pi Zero WHにRetroPieをインストールした際のメモ
VNCの有効化
$ sudo raspi-config
5 Interfacing Options を選択
P3 VNC を選択
Would you like the VNC Server to be enabled?
で
<YES>または<はい>を選択
認証方式の変更
デフォルトの設定だとMacの画面共有で接続したときに「リモートコンピュータのソフトウェアが、このバージョンの画面共有と互換性がないようです。」というエラーが出る。WindowsのVNC Viewerでは「No matching security types 〇〇へ再接続しますか?」というエラーが出る。以下のように設定変更する。
$ sudo vi /root/.vnc/config.d/vncserver-x11
ファイル末尾に以下を追記する。
Authentication=VncAuth
Encryption=AlwaysOff
Password=
パスワードを設定する。
$ sudo vncpasswd -service
vncサービスを再起動する。
$ sudo systemctl restart vncserver-x11-serviced
以上
【参考サイト】