A wired ethernet connection is needed, and we’ve already provided a comprehensive article on how to utilise a Windows laptop as a Raspberry Pi display. However, you may use Wi-Fi and a VNC server to remotely view Raspberry Pi from your Windows 10, Mac, or Linux PC. We go into great detail in this article about how to connect to your Raspberry Pi remotely using a Chromebook. You can follow the instructions even if you’re a total newbie and get it running in a few minutes. So let’s get started with the tutorial right away.
Remotely Access Raspberry Pi From Windows, Mac, Linux & Chromebook (2021)
You must first connect Raspberry Pi to your computer using wired ethernet for a fast initial setup before establishing a remote connection. To connect the Raspberry Pi to your Wi-Fi home network, this is necessary. Your Raspberry Pi will consequently be given an IP address. With the help of the IP address, we may remotely connect to the Raspberry Pi using a Windows 10, Mac, Chrome OS, or Linux computer.
-
Requirements
1. An Ethernet cable is required for a one-time setup.
2. A microSD card that is at least 16GB in capacity is also required.
-
Downloads
1. You must download Raspbian OS from this link. On the web page that appears, I advise downloading the Raspberry Pi OS with desktop and suggested applications. It will include all necessary utilities, packages, and dependencies.
2. Next, use BalenaEtcher, a free download, to flash Raspbian OS onto the SD card. It is possible to use balenaEtcher on Windows, macOS, and Linux. Users of Chromebooks will need to flash their SD cards using one of these systems.
-
Flash Raspbian OS on Raspberry Pi
1. Extract the ZIP file after downloading Raspbian OS. Then, you will receive an IMG file.
2. Next, open balenaEtcher after installing it. Under the Select target option, select the SD card after selecting the extracted image. Once that’s done, select Flash.
3. To enable SSH, you must perform one more step after the flashing process is finished. Open a blank text file on your desktop. To create the file, right-click on your desktop in Windows and choose New -> Text Document. similar procedures depending on your OS.
4. Once the text file is opened, save it as an asshfile without any further extensions. Simply choose All files from the Save as type drop-down box for Windows users. Other OS users must make sure the filename does not have an extension.
5. After that, move the ssh file to the flashed SD card’s root directory. On this front, you are finished. Put the SD card in the Raspberry Pi after removing it from your computer.
6. Finally, connect the Raspberry Pi to your computer using an Ethernet wire. Next, use a USB Type-C connector to connect the Raspberry Pi to a power supply. Additionally, you can use the USB port on your laptop as a power supply.
-
Enable VNC and Desktop Environment
1. You must use SSH to access the Raspberry Pi’s terminal now that you have linked it to the internet. Open the Command Prompt on Windows and type the following command before pressing Enter. Open the Terminal and enter the same command if you are using Linux, Mac OS, or Chrome OS. Type yes and then press Enter.
ssh pi@raspberrypi.local
2. Your Raspberry Pi password will be requested. Raspberry is the default password. Enter the password after typing it in. Enter the new password if you changed it during a previous setup. In case you weren’t aware, the standard username is pi.
3. You’ll quickly log in. Run the command listed below to launch the Configuration tool now.
sudo raspi-config
4. Use the keyboard to navigate to Interface Options or Interfacing Options, then press Enter.
5. Select VNC under Interface choices, then press Enter.
6. Select Yes and press Enter on the following page.
7. After that, navigate to Boot/Auto Login in System Options. Go to the Desktop Autologin option next. Navigate to Boot Options -> Desktop/ CLI -> Desktop Autologin if you’re using an older Raspberry Pi.
8. To make the changes, press enter lastly. Press Tab to advance to Finish, then press Enter. Your Raspberry Pi will reboot as a result, and the SSH session will stop. To end the session, type exit.
-
Remotely Connect to Raspberry Pi From Chromebook or Windows, Mac, and Linux PC
1. You have finally made your Raspberry Pi’s VNC and desktop environment available. Install VNC Viewer (Free) on your PC right away. It enables remote access to the Raspberry Pi desktop environment across a number of platforms. Chromebooks, Linux, Windows, and macOS are all supported by the software.
2. Chromebook users must download and install the DEB file for Linux.
3. Run VNC Viewer when it has been installed. Hit enter after typing in raspberrypi.local.
4. A prompt will then display; select Continue. Enter your Raspberry Pi’s credentials (username: pian and password: raspberry) in the following window. Click OK to continue.
5. The Raspberry Pi’s screen will go live on your PC in a matter of seconds. Proceed to the Troubleshoot section below if you have any difficulties.
6. Set up Raspberry Pi by following the directions that are displayed on the screen. You should alter the system’s default password during setup, in my opinion. Connect to your home WiFi network from the menu bar at the top after that. This is a crucial step because it will enable us to obtain the IP address.
7. After connecting to Wi-Fi, launch the Terminal app on your Raspberry Pi and type the command listed below to launch the Configuration tool.
sudo raspi-config
8. To enable VNC, repeat step 8 as necessary. Hit Enter after navigating to Interface Options.
9. Select VNC under Interface choices, then press Enter.
10. Select Yes to enable the VNC server on the following page.
11. Raspberry Pi will now begin downloading the VNC server as soon as you are online. After installation, everything is ready for you. The VNC server is enabled should appear as a message on the screen.
12. Next, launch the Terminal and type the commandhostname -I before pressing the Enter key. Your Raspberry Pi’s IP address is as follows.
13. You can now unplug the Ethernet cable while keeping it plugged into a power source. Open the VNC Viewer on any device connected to the home network, including a Chromebook, Windows 10, macOS, or Linux PC. Enter the IP address. Then press Enter.
14. Type in the Raspberry Pi’s login information, and you’re done. From a Windows computer, Mac, Chromebook, or Linux device, you can remotely access Raspberry Pi. From this point forward, all you need to do is use VNC Viewer in order to execute any task remotely.
Note: The VNC Viewer app (Android/iOSFree) allows you to access Raspberry Pi from your Android or iOS smartphone.
15. Here is a brief demonstration showing how I can access my Raspberry Pi remotely from both my Chromebook and as well.
-
Troubleshoot Guide Common Raspberry Pi Issues
1. Follow these instructions to resolve the problem if you encounter the Cannot presently show the desktop error. Enter the command below into the Command Prompt or Terminal after opening it.
ssh pi@raspberrypi.local
2. Type the password for Strawberry and press Enter. If you previously changed the password, use that one instead.
3. You’ll sign in to Aspi. Run the command listed below to start the Configuration tool now.
sudo raspi-config
4. Click on Display Options and then select Resolution. However, if your Raspberry Pi is older, you may find this setting in the Advanced Options section.
5. Select a different resolution than the default. You can select any other option depending on the aspect ratio and display resolution of your laptop.
6. Click Finish and close the window by pressing Tab.
7. When you finally launch VNC Viewer, you will be able to successfully connect to the desktop environment of the Raspberry Pi this time. Change the resolution repeatedly until you find one that works for you if the Cannot presently see the desktop issue still occurs.
Use Raspberry Pi From Your Windows, Mac, Linux or Chrome OS Computer
So using neither an ethernet cable nor a separate monitor, you can now remotely access your Raspberry Pi from any platform, including Linux, Mac, Windows, and Chrome OS. For newbies, I started from scratch while writing the stages. If your Raspberry Pi is already configured, you can skip to the final phase. That’s all we have to say, though. If you want toset up Pi-hole on your Raspberry Pi to block ads and trackers, head over to our detailed guide linked here. Additionally, please leave a remark below if you have any questions. We’ll do our best to assist you.
Leave a Reply