解决问题:Jetson nano 分享桌面无法打开。
实现功能:VNC Viewer远程连接桌面
1、烧录镜像为 jetson-nano-jp46-sd-card-image.img
2、更新源、更新系统
# 更新源:
sudo apt-get update
# 更新系统
sudo apt-get upgrade
3、修复Desktop-sharing,在最下面加入
sudo nano /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>
4、修改保存后执行
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
/usr/lib/vino/vino-server
5、安装配置dconf-editor
sudo apt-get install dconf-editor
打开dconf-editor,在主机上执行,远程ssh不好使。
dconf-editor
选择:org > gnome > desktop > remote-access
改prompt-enabled 和 require-encryption 为OFF。
7、此时可以打开Desktop Sharing,并进行设置
8、设置vino-server开机启动
sudo gnome-session-properties
设置指令为
/usr/lib/vino/vino-server
9、win10 VNC Viewer连接