How to use remote desktop on the raspberry pi with vnc

About: I am an Hardcore fan of electronic stuffs và my passion is lớn build new projects và that is how I spent my time both as my work & my hobby:) More About VIVEK GR »

Ah! Its Christmas time và you got yourself a Raspberry Pi2, to experiment with, well congratulations on that!!.

Bạn đang xem: How to use remote desktop on the raspberry pi with vnc

But to really use the raspberry, you need a display lớn see the output. This wonderful machine has a HDMI output đầu ra but to use that you will need an HDMI cable with a LCD/Monitor supporting HDMI.

Oh no you don"t have it and you gotta spend extra to order & wait for it lớn get delivered,sounds annoying right?

Don"t Worry I will show you in these project on how you can use your raspberry Pi2 with the laptop"s display using just anEthernet cable:)

Before I go into the steps I would lượt thích to give a little insight on what is VNC server ??

*The VNC protocol is a simple protocol for remote access khổng lồ graphical user interfaces.

Xem thêm: Một Số Thủ Thuật Giúp Tăng Tốc Windows 10 Pc Chạy Windows 10

*It is based on the concept of a remote frame buffer or RFB

Follow the steps và have fun using raspberry pi:)

Add TipAsk QuestionCommentDownload

Step 1: Materials Required



1.Raspberry Pi2 with Raspbian OS installed

if you dont have one please refer below liên kết on how khổng lồ install it on your SD card

2.Power adapter for raspberry pi

3.Etherenet cable



1. Advanced IP scanner (Have attached the .exe tệp tin in the end)

2. Putty.exe (Have attached the .exe tệp tin in the end)

3. VNC hệ thống for you Computer(host)

We are good to lớn go now to lớn the next step:)

Add TipAsk QuestionCommentDownload

Step 2: Connections


This step assumes, that raspberry Pi has been installed with Raspbian OS & everything is working fine

1.Connect the power Cable khổng lồ Raspberry Pi2

2.Connect one end of Ethernet khổng lồ the raspberry Pi & the other kết thúc to the laptop"s Ethernet port

Add TipAsk QuestionCommentDownload

Step 3: mix Up Network Connections


1.Open the Network & sharing settings from control panel

2. Click on lớn the wireless wifi connection( see the picture)

3. Xuất hiện properties & click on to the sharing tab and kiểm tra the two boxes which says that you allow network users to connect through computers mạng internet connections

This is important as raspberry needs lớn have a internet connection when update command is used!

Add TipAsk QuestionCommentDownload

Step 4: Scan for IP Address


1. Xuất hiện the Advanced IP scanner program

2. Click scan và wait for few minutes while all the IP address of various devices are enumerated

NOTE: that before this you should have connected the raspberry pi & the máy tính with the Ethernet cable or else the IP address wont get listed up:)

if properly connected you can see the Ip address of your raspberry pi. Cảnh báo down the address

See the pictures down below for better understanding

Add TipAsk QuestionCommentDownload

Step 5: Connecting Raspberry Pi With SSH Terminal


1. Mở cửa Putty.exe

2. Select the Port no as 22 & select the SSH radio button

3. Type in the ip address of raspberry pi found out from the ip scanner in previous step

The terminal will be opened

4.default login for raspberry pi is : pi

password: raspberry

5. Now type in the following commands

$ sudo apt-get update

$ sudo apt-get install tightvncserver

6.After successful installation of the tightvncserver type in the following commands lớn start the vnc server

$ vncserver :1

7.You will be prompted to enter & confirm a password. This will be asked only once, during first time setup.

Enter an 8 digit password and make a cảnh báo of it!

Note that this is the password you will need khổng lồ use, to connect khổng lồ the Raspberry Pi remotely. You will also be asked if you want khổng lồ create a separate “read-only” password – say no (n).

Add TipAsk QuestionCommentDownload

Step 6: Connecting to lớn VNC Server

1.Open the Vnc vps program

2.Now type in the Ip address of raspberry Pi & amend it with :1

example ( This tells the port number)

3.Now press connect và another window will pop up & will ask you to lớn enter the password. Enter the 8 digit password (Refer previous step)

Yahooo...Its done & you would see the GUI of raspberry pi in your máy tính screen.:) :)

Add TipAsk QuestionCommentDownload

Step 7: Important Things to lớn Note

1. The vncserver has to lớn be started manually everytime you power on or reboot your raspberry pi with the help of the putty program

2. If the vncserver is not running on raspberry then you will not be able to lớn connect with it

when you start the vncserver on raspberry via putty you will get something like in the screenshot attached

I have attached the necessary .exe files for this project


2.Advanced Ip scanner.exe

Have fun và do ping me if you have any doubts regarding the project:)


Add TipAsk QuestionCommentDownload

Be the First to chia sẻ

Did you make this project? nội dung it with us!

I Made It!