配置树莓派VNC


sudo raspi-config

Interfacing Options -> VNC -> Yes

分辨率调整,修改SD卡的config.txt文件后便可更改分辨率.
RealVNC更改树莓派分辨率

修改config.txt:
hdmi_force_hotplug=1 Tells your Pi an HDMI display is attached.
hdmi_ignore_edid=0xa5000080
hdmi_group=2
hdmi_mode=16 Forces a resolution of 1024x768 at 60Hz. See here for more options.

如果各种无效尝试ssh以下方法

vncserver :7 -geometry 1024x768

vnc连接时使用 192.168.0.2:7