树莓派官方VNC文档 VNC (VIRTUAL NETWORK COMPUTING):
https://www.raspberrypi.org/documentation/remote-access/vnc/README.md
RealVNC官方针对树莓派发布的教程:
https://www.realvnc.com/en/connect/docs/raspberry-pi.html
树莓派官网视频输出相关说明:
https://www.raspberrypi.org/documentation/configuration/config-txt/video.md
本视频对树莓派接显示器和不接显示器两种情况下如何通过Windows电脑用VNC远程访问做了分享,其中树莓派不接显示器下打开VNC功能涉及到的配置如下:
在烧好Raspbian系统的TF卡boot分区新建 wpa_supplicant.conf 文件,内容如下(修改为自己的WIFI名和密码),保存后启动树莓派即可自动连接WIFI。
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="Your_wifi_ssid"
psk="Your_wifi_password"
}
在卡boot分区新建ssh或ssh.txt空文件,树莓派启动后即可打开ssh功能。
通过SSH登陆树莓派之后, 安装VNC server (最新版本默认已经安装)
sudo apt-get install realvnc-vnc-server
在图形界面打开VNC服务的方法:
Menu > Preferences > Raspberry Pi Configuration > Interfaces and make sure VNC is set to Enabled.
通过命行方式打开VNC服务折方法:
Run the command sudo raspi-config, navigate to Interfacing Options > VNC and select Yes.
相关视频:
HYVD #26 Windows下为树莓派安装系统Raspbian到TF卡(Raspberry Pi ): http://www.hardyun.com/192.html
HYVD #30 树莓派无屏通过SSH快速连接 (Raspberry Pi, SSH, PuTTY): http://www.hardyun.com/243.html
HYVD #29 Windows下通过SSH访问树莓派 (Raspberry Pi, SSH, PuTTY): http://www.hardyun.com/236.html
HYVD #15 树莓派是如何自动匹配显示器的(Raspberry Pi HDMI EDID): http://www.hardyun.com/112.html