树莓派开启远程登录,本来通过raspi-config就可以设置的,但是这里安装的镜像可能不是官方镜像,导致raspi-config设置不生效。早先的版本可能通过raspi-config选择 Interfacing Options ,选择 Enable VNC就可以安装realvnc-vnc-server,但是这个包仓库最近已经不提供下载了,即使通过apt install也无法安装,只能下载deb文件进行安装。
今天就介绍另一种远程服务安装方式的设置,vino-server。
1 apt安装vino
sudo apt install vino
2 修改配置/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.
</descr

最低0.47元/天 解锁文章
2820

被折叠的 条评论
为什么被折叠?



