To share the Internet with multiple users over Ethernet in Windows, go to the Network and Sharing Center. Then select the connected WiFi, right-click Properties - >; Select "Share" in the panel, and check the first check box on "Internet Connection Share". If the home network connection is connected to the network cable, select the local connection. It will be the default if my computer is connected to WiFi
VNC is turned off by default on Raspberry Pi, so you'll need to enable it when you open Raspberry Pi after you install the new Raspbian.
First, enter the configuration interface of Raspberry Pi through the menu.
Now go to the Interfaces TAB, start VNC and restart your Raspberry Pi.
Install the VNC server at the terminal using the following command:
After the installation is complete, start VNC with the command:
Then the Raspberry Pi displays the IP address
Download VNC Server and VNC Viewer
VNC Connect consists of VNC Server and VNC Viewer
Download VNC Server and register an account of your own (free)
Then download the VNC Viewer and log in
Enter the IP address of the Raspberry Pi display in the image above
Select the connection and enter the login username and password for the Raspberry Pi display.
Initial user name: PI
Initial password: Raspberry
As long as Raspberry Pi is not restarted, use VNC to connect to Raspberry Pi remotely. If you want the Raspberry Pi to reboot, automatically run the VNC server.
Let's start the configuration:
First of all,
Then copy the following and right-click and paste it in
Some inline code snippets are shown below.
And then Ctrl+O enter to save it
Then Ctrl+X exits the text editor
And then change the permissions
Then add the boot item
Finally restart the Raspberry Pi
The next time you reboot the Raspberry Pi display, vnc server will start automatically and seamlessly connect the Raspberry Pi display on the laptop screen and power it. Then open the VNCViewer and provide your Raspberry Pi's IP address to use your laptop's monitor as your Raspberry Pi display.