How do display Raspberry Pi display on the laptop screen?

Raspberry Pi display on the laptop screen in just five steps

1. computer network Settings

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


2. Raspberry Pi display Settings

Start Raspberry Pi VNC service

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.


3. Raspberry Pi screen installed VNC

Install the VNC server at the terminal using the following command:

sudo apt-get install tightvncserver

sudo apt-get update

After the installation is complete, start VNC with the command:

vncserver: 1

Then the Raspberry Pi displays the IP address

4. laptop configuration

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

5. Set up Raspberry Pi display to automatically connect to your computer screen wirelessly

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,

sudo nano /etc/init.d/vncserver

Then copy the following and right-click and paste it in

Some inline code snippets are shown below.



# Provides:          vncserver

# Required-Start:    $local_fs

# Required-Stop:     $local_fs

# Default-Start:     2 3 4 5

# Default-Stop:      0 1 6

# Short-Description: Start/stop vncserver


# More details see:


### Customize this entry

# Set the USER variable to the name of the user to start vncserver under

export USER='pi'

### End customization required

eval cd ~$USER

case "$1" in


# Start the command line.Customize the resolution, console number, or other parameters here.

su $USER -c '/usr/bin/vncserver -depth 16 -geometry 1024x768 :1'

echo "Starting VNC server for $USER "



# Terminate the command line. The console number here is the same as the boot.

su $USER -c '/usr/bin/vncserver -kill :1'

echo "vncserver stopped"



echo "Usage: /etc/init.d/vncserver {start|stop}"

exit 1



exit 0

And then Ctrl+O enter to save it

Then Ctrl+X exits the text editor

And then change the permissions

sudo chmod 755 /etc/init.d/vncserver

Then add the boot item

sudo update-rc.d vncserver defaults

Finally restart the Raspberry Pi

sudo reboot

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.

Shopping Cart
Scroll to Top