Raspberry Pi VNC Remote Operation


insert image description here

Click image to buy

foreword

The previous article talked about how to install the desktop operating system of Raspberry Pi. This time, I will explain how to enable remote control (within a local area network).
After turning on the remote control, we can use our computer to operate the Raspberry Pi in the local area network, and we can also operate the Raspberry Pi under the premise of using the computer, which also saves the trouble of attaching a screen to the Raspberry Pi. Without further ado, let's get started!

Material preparation

  1. Raspberry Pi 3B+/4B for the system
  2. monitor
  3. HDMI cable
  4. wifi/wired LAN
  5. VNC Viewer

Raspberry Pi configuration

  1. After turning on VNC and turning on
    the Raspberry Pi, click the Raspberry Pi icon in the upper left corner, find the preferences, and click Raspberry Pi Configuration in the preferences

Select Interfaces, change VNC from Disable to Enable and click OK

  1. Check the IP address of the
    Raspberry Pi After returning to the desktop of the Raspberry Pi, click "Terminal", enter ifconfig and press Enter

The IP address of my Raspberry Pi is 192.168.3.100, write it down and use it when connecting remotely.

PC side installation software

VNC Viewer download portal
The installation process is not displayed, and there is nothing to pay attention to

connect

  1. Open after installing VNC Viewer

Enter the Raspberry Pi IP address you just wrote down in the text box above

Enter the login account and password of Raspberry Pi. If it has not been customized, the default is
Account: pi
Password: raspberry
Enter the account password and click Connect

The operation is complete.
In the future, as long as the Raspberry Pi is powered on and automatically connected to the network, the VNC Viewer can be opened on the PC side, and the Raspberry Pi can be remotely connected to the Raspberry Pi in the LAN by clicking the IP address of the Raspberry Pi, and at the same time saving a screen.

Guess you like

Origin blog.csdn.net/qq_42250136/article/details/122231131