個人メモ
Jetson nano のVNCServerの初期設定に少々躓いたので,メモする.
@iwatake2222 さんの記事が非常に参考になった.
https://qiita.com/iwatake2222/items/a3bd8d0527dec431ef0f
問題
一通り初期設定は済み,クライアント側からJetson NanoにVNC接続することは出来た.
しかし,Jetson Nanoに接続しているHDMIケーブルを外して接続を試みたところ,解像度が低くなり,クライアント側の画面に収まらなくなるという症状が確認された.
解決策
フレームバッファが確保されないためのようだ.
https://devtalk.nvidia.com/default/topic/995621/jetson-tx1/jetson-tx1-desktop-sharing-resolution-problem-without-real-monitor/
/etc/X11/xorg.conf ファイルの末尾に以下のように記述するとよい.
Section "Monitor"
Identifier "DSI-0"
Option "Ignore"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Default Device"
SubSection "Display"
Depth 24
Virtual 1280 800
EndSubSection
EndSection