Jetson TX2设置VNC时DesktopSharing打不开
1.1) 编辑 org.gnome.Vino 来加入缺失的 “enabled” 参数
sudo gedit /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>
注意要加入到下面的位置:
<key name='disable-xdamage' type='b'>
<summary>Whether we should disable the XDamage extension of X.org</summary>
<description>
If true, do not use the XDamage extension of X.org. This extension does
not work properly on some video drivers when using 3D effects.
Disabling it will make Vino work in these environments, with slower
rendering as a side effect.
</description>
<default>false</default>
</key>
<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>
<key name='notify-on-connect' type='b'>
<summary>Notify on connect</summary>
<description>
If true, show a notification when a user connects to the system.
</description>
<default>true</default>
</key>
</schema>
</schemalist
2.编译 gnome 方案:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
这时候DesktopSharing就可以使用了
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)