先给一张连接成功的图。
官网VNC连接的帖子:https://devtalk.nvidia.com/default/topic/1056629/jetson-nano/jetson-nano-vnc-headless-connections/
遇到的问题:
gsettings set org.gnome.Vino enabled true
该指令执行报错。
解决方式:http://baijiahao.baidu.com/s?id=1646393833889121079&wfr=spider&for=pc
sudo vim /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml
在里面添加
<key name='enabled' type='b'>
<summary>Enable remote access to the desktop</summary>
<description>
If true, allows remote access to the desktop via the RFB
protocol. Users on remote machines may then connect to the
desktop using a VNC viewer.
</description>
<default>false</default>
</key>
插入位置在
<schema id='org.gnome.Vino' path='/org/gnome/desktop/remote-access/'>
这一行的下面
之后
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
执行完按官方教程重新打了一遍代码,至此VNC配置完成。
出现问题:按官方的教程重启之后,使用VNC连接没有没有反应,显示VNC connect:Connection refused(10061)
在输入
/usr/lib/vino/vino-server --display=:0
打开VNC软件连接,这次可以连接成功了。
分辨率在连接成功之后,打开terminal输入xrandr --fb 800x600,或者其他分辨率即可。