Skip to main content

Sphero Indi Is a Tiny Robotic Car That Helps Children Learn Programming

How to Use a Windows Laptop As a Monitor for Raspberry Pi

 Raspberry Pi is one of the best and inexpensive single-board computers out there. If you are a tech hobbyist, then it opens the door for nearly everything from building a smart speaker to creating your personal VPN server. That said, you need a separate monitor to set up the Raspberry Pi, which adds to the overall cost. However, there is a nifty way to use your Windows laptop as a monitor for Raspberry Pi. In this tutorial, we have explained the steps to connect Raspberry Pi to a Windows laptop in simple terms. On that note, let’s go ahead and learn how to connect Raspberry Pi to a laptop display.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

In this guide, I am using Raspberry Pi 4 Model B to demonstrate all the steps. However, if you have an old Raspberry Pi, there is nothing to worry about. I have mentioned separate steps for old boards too. You can click on the table below and jump to the relevant section right away.

Table Of Contents 

Requirements

1. First off, to use a Windows laptop as a monitor for Raspberry Pi, you need an ethernet cable. You can then connect the Raspberry Pi to your Windows 10 laptop directly or to your router. I would recommend connecting to the laptop directly for a faster connection.

2. Next, you need a microSD card of a minimum of 16GB in size.

Downloads

1. You need to download Raspbian OS from here. I suggest downloading “Raspberry Pi OS with desktop and recommended software” on the web page that opens. It will have all the required packages, utilities, and dependencies.

2. After that, download balenaEtcher (Free) to flash Raspbian OS onto the SD card.

3. Next, download Putty (Free) for connecting your laptop to the Raspberry Pi’s console.

4. Finally, download VNC Viewer (Free) so that you can access the desktop environment of Raspberry Pi on your Windows laptop.

Flash Raspbian OS on Raspberry Pi

1. Once you have downloaded Raspbian OS, extract the ZIP file. You will get an IMG file.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

2. Next, install balenaEtcher and open it. Select the extracted image and choose the SD card under the “Select target” option. After that, click on “Flash“.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

3. Once the flashing process is complete, you need to follow one more step to enable SSH. Create an empty text file on the desktop. To do that, right-click on your desktop and select “New -> Text Document” to create the file.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

4. Now, open the text file and save it as a ssh file with no extension. Simply select “All files” from the “Save as type” drop-down menu. Make sure there is no extension added to the filename.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

5. Finally, move the ssh file to the root directory of the flashed SD card. You are done on this front. Remove the SD card from your laptop and insert it into the Raspberry Pi.

ssh file

Connect Raspberry Pi to Windows Laptop Display

1. Use the ethernet cable and connect the Raspberry Pi to your Windows laptop. After that, connect the Raspberry Pi to a power source using a USB Type-C cable. You can also use your laptop’s USB port as a power source.

use raspberry pi without a monitor

2. Next, install Putty and open it. You don’t need to change any default settings. Just enter raspberrypi.local in the Host Name field. And make sure “SSH” is selected as the Connection type. Finally, click on “Open” at the bottom.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

3. A console window will then open up. By default, Raspberry Pi’s username is pi and password is raspberry. Enter these details on the console window and hit enter. You will successfully log into Raspberry Pi’s console.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

4. As you are using your Raspberry Pi for the first time, it’s better to run the below command to update all the packages and dependencies to the latest version. You can skip this step if you have already updated your RPi. Note that you will need an internet connection on your Windows 10 laptop to execute this command. If you can’t update it right away, you can skip this step.

sudo apt-get update && sudo apt-get upgrade -y

Use Windows Laptop As Monitor for Raspberry Pi (2021)

5. Once the update is installed, enter the command sudo raspi-config and hit enter.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

6. It will launch the configuration tool for Raspberry Pi. Move to “Interface Options” or “Interfacing Options” using the keyboard’s arrow keys. Then, hit Enter.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

7. Under Interface options, move to “VNC” and hit enter.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

8. On the next page, choose “Yes” and hit enter.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

9. After that, open “System Options” and go to “Boot/ Auto Login”. Next, move to the “Desktop Autologin” option. If you are using an old Raspberry Pi, navigate to Boot “Options -> Desktop/ CLI -> Desktop Autologin”.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

10. Finally, hit enter to apply the changes. Next, move to “Finish” by pressing Tab and hit Enter. It will reboot your Raspberry Pi, and the SSH session will end. Now, close Putty and other windows.

use raspberry pi without a monitor

11. Now, install VNC Viewer and open it. Enter raspberrypi.local and hit enter.

use raspberry pi without a monitor

12. Then, a prompt will appear, click on “Continue”. On the next window, enter your RPi’s credentials, username: pi and password: raspberry. Now, click on “OK”.

vnc viewer

13. Within seconds, the Raspberry Pi’s screen will be live on your Windows 10 laptop’s display. Now, go through the on-screen instructions and set up Raspberry Pi. If you get any errors, move to the next section.

use raspberry pi without a monitor

Fix “Cannot currently show the desktop” Error on Windows Laptop While Connecting to Raspberry Pi

If you get the “Cannot currently show the desktop” error while trying to connect your Raspberry Pi to a laptop display, there is nothing to worry about. Follow the steps below to fix the issue.

1. Close all the windows and fire up Putty. Follow the same steps as above and connect to Raspberry Pi’s console once again. To explain briefly, enter raspberrypi.local as the Host Name, select “SSH” and click on “Open”.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

2. Next, enter RPi’s credentials and hit enter. Now, enter sudo raspi-config to open the Configuration tool.

Use Windows Laptop As Monitor for Raspberry Pi (2021)

3. Here, open “Display Options” and navigate to “Resolution”. But if you have an old Raspberry Pi, you will find this setting under “Advanced Options”.

use raspberry pi without a monitor

4. Choose a resolution other than “Default”. According to your laptop’s aspect ratio and display resolution, you can choose any other mode.

Fix "Cannot currently show the desktop" Error on Windows Laptop While Connecting to Raspberry Pi

5. Now, press Tab to move to “Finish” and close the Putty session.

use raspberry pi without a monitor

6. Finally, open VNC Viewer, and this time, you will be able to connect to Raspberry Pi’s desktop environment without any issues. If the “Cannot currently show the desktop” error persists, keep changing the resolution and check which one works for you. That’s it.

use raspberry pi without a monitor

Connect Raspberry Pi to a Laptop Display in 2021

So this is how you can use your Windows 10 laptop as a monitor for Raspberry Pi. The steps may seem lengthy, but believe me, it’s easy and doable. You need to follow the instructions step-by-step, and you will be ready to use the Raspberry Pi in no time. If you face any issues while setting up Raspberry Pi without a monitor, comment down below, and we will help you out. And if you have managed to connect Raspberry Pi to your Windows laptop, go ahead and find the best Raspberry Pi 4 projects from our linked article.

Comments

Popular posts from this blog

Instagram Parteners with Swiggy, Zomato to Let Resturant Add 'Food Order' Stickers in Stories

Instagram Parteners with Swiggy, Zomato to Let Resturant Add 'Food Order' Stickers in Stories By Techtonic group Instagram recently gave users the option to promote small (and local) businesses by placing a sticker in their Stories. Now, the company has partnered with two of India's renowned food delivery apps -  Swiggy and Zomato  - to bring a similar feature to the restaurant owners. It has debuted a new  'Food Order' sticker  that restaurants can include in their Stories to drive sales. The Coronavirus-led lockdown saw almost all restaurants and eateries shut shop for several days. And even when they opened, netizens have been wary to eat outside or order in due to hygiene concerns. Well, as restaurants open up in line with the WHO safety guidelines, they can now head to Instagram to find a new 'Food Orders' sticker in the Stories section. This new sticker is interactive and will  enable users to place food orders  simply by tapping on the sa...

Xiaomi Mi True Wireless Earphones 2 To Launch Alongside Mi 10 on 8th May in India

Xiaomi Mi True Wireless Earphones 2 To Launch Alongside Mi 10 on 8th May in India By Techtonic group After multiple delays due to the nationwide lockdown, Xiaomi yesterday  announced  that its latest flagship smartphone - Mi 10 will launch in India on 8th May later this week. Now, the Chinese giant has taken to Twitter to reveal that it won't be the only product launching that day. Xiaomi uploaded a teaser video on Twitter just moments ago and it  reveals that the Mi True Wireless Earphones 2 will launch in India  alongside the Mi 10. The company first launched its truly wireless earbuds in China back in September last year, followed by a global launch in Europe in March earlier this year. Mi India ✔ @XiaomiIndia We love the wireless world. Mi fans, we're launching one more product you all have been waiting for, along with # Mi10 on May 8th. Leave your guesses in the comments.  RT if you #wirelessfreedom ...

How to Sign out of One Google Account When Using Multiple Accounts

  You can sign in to one or more Google accounts simultaneously on both your mobile and PC, but you can’t sign out of one account at a time on the web. Instead, Google forces you to sign out of all accounts at once, even if you only want to log out of one or two accounts. It’s  not a problem on Android or iOS devices  because you can sign out of Google accounts one at a time. However, that’s not possible on the web. So today, we will show you a nifty workaround that will help you sign out of one Google account on any device when using multiple accounts. Sign Out of One Google (Gmail) Account When Using Multiple Accounts The inability to log out of a single Google account at a time may not be a big deal for people who only use one Gmail ID, but it is  really inconvenient  for folks who manage multiple accounts. This tutorial will show you a trick that will let you sign out of only one Google account on your computer instead of having to sign out of all accounts a...