Raspberry Pi の VNC サーバーに TightVNC で接続するとエラーになる
エラー内容
Error in TightVNC Viewer: No security types supported. Server sent security types, but we do not support any of their.
訳
TightVNC ビューアーのエラー: サポートされているセキュリティタイプがありません。サーバーはセキュリティタイプを送信しましたが、我々はその何れもサポートしていません。
環境
- Raspberry Pi type B
- Raspbian 8.0
- Windows 7 Pro. SP1 x64
- TightVNC Viewer 2.8.5
解決方法
/root/.vnc/config.d/vncserver-x11 に次の行を記述する。
Authentication=VncAuth
VNC パスワードを設定する。
$ sudo vncpasswd -service Password: Verify:
VNC サーバーを再起動する。
$ sudo systemctl restart vncserver-x11-serviced.service
参考文献
https://www.raspberrypi.org/documentation/remote-access/vnc/