Introduction: How to Connect Raspberry Pi 4 to Laptop
Hello, after days of trying to find out how to connect a Pi to a laptop because I didn't have a small monitor, I came up with this solution. Hopefully this will save you from trouble and work out for you. This is a very simple guide on how to connect a raspberry pi to a computer/laptop. I used a pi 4, the newest model at the time I created this and I'm sure most other models will work.
To start off, you must need a pi, an Ethernet cable, a working computer, and a SD card.
You also will need to download putty and VNC viewer.
Step 1: Installing the OS
You will need to go to https://www.raspberrypi.org/downloads/ and install one of the Raspberry Pi imagers. Then set it up and put the SD card in the computer and write a OS with the writer.
Once completed, add a file called ssh without anything in it. Once put in, the Pi will search for ssh and if there is one, it will activate ssh and delete the file.
Step 2: Installing PuTTY and VNC
Go to https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html and install PuTTY. Then go to https://www.realvnc.com/en/connect/download/viewer/ ,select your device and install VNC.
Step 3: Connecting the Pi to the Computer + Finding IP
Put the SD card in the Pi and power it on. Go to network and sharing center on you computer (may be difficult to find) and click on the internet in blue. Go to properties and then sharing. Check both of the boxes and click OK and close. Connect the Ethernet cable from the Pi to your computer. In Network and sharing center something should pop up underneath your internet. That means your Pi is connected to your computer and is using its internet.
If you already have a monitor, you can connect the monitor to the Pi and open of the terminal. Type in hostname -I and the IP address should pop up.
If you don't have a monitor, go to https://pimylifeup.com/raspberry-pi-ip-address/ or search up how to find the IP address of your Pi without a monitor.
Step 4: Logging Onto the Pi
Open PuTTY up and type in the Pi's IP address. Press open and and click Yes on the security alert. Next, type in your Pi username and password (P.S. nothing will pop up when you type the password. That's normal). Default username is pi and password is raspberry.
Step 5: Enabling VNC
Type sudo raspi-config to open configuration tool. Go to 5.Interfacing options and enable VNC. Next, go to advanced options and in resolution, change the resolution. Finish and reboot.
Step 6: Viewing the Pi
Open VNC viewer and type the Pi's IP and password. The Raspberry Pi desktop should show and everything will work as normal.
Step 7: Final Notes
If you are using Windows, everything will be in program files on the File explorer Desktop local disk. If you have any questions ask in the comment section. Hope you enjoyed and have fun!