Raspberry Pi 4B(树莓派4B)开启VNC服务正确流程(亲测有效)

系统版本:

Raspberry Pi OS (64-bit)
Raspberry Pi OS with desktop
Release date: October 10th 2023
System: 64-bit
Kernel version: 6.1

第一步:正常SSH登陆进去(干净系统,除了SSH什么都没配置)。

第二步:sudo raspi-config -> Advanced Options -> Wayland->选第一项

Raspberry Pi 4B(树莓派4B)开启VNC服务正确流程(亲测有效)_第1张图片

OK->OK->FINISH->YES

第三步:启动RealVNC服务:sudo systemctl start vncserver-x11-serviced

第四步:每次开机自动启动服务:sudo systemctl enable vncserver-x11-serviced

Raspberry Pi 4B(树莓派4B)开启VNC服务正确流程(亲测有效)_第2张图片

已可以正常使用。另:双击右上角图标就可以配置。

其他命令:

To start RealVNC Server now: 
           sudo systemctl start vncserver-x11-serviced

To start RealVNC Server at next boot, and every subsequent boot: 
           sudo systemctl enable vncserver-x11-serviced

To stop RealVNC Server: 
           sudo systemctl stop vncserver-x11-serviced

To prevent RealVNC Server starting at boot: 
           sudo systemctl disable vncserver-x11-serviced

 

参考原文:

https://help.realvnc.com/hc/en-us/articles/14110635000221-Raspberry-Pi-5-Bookworm-and-RealVNC-Connect#statement-0-0


https://help.realvnc.com/hc/en-us/articles/360002249917-VNC-Connect-and-Raspberry-Pi#setting-up-your-raspberry-pi-0-0
 

你可能感兴趣的:(树莓派,服务器,linux)