There are many methods that you can connect remotely to your raspberry pi (sometimes called headless connection)

What you need?

Hardware:
1. Your raspberry pi
2. SD card
3. WiFi adapter (not necessary)
4. Ethernet connection
Software:
1. Putty (putty.org)
2. real VNC viewer (https://www.realvnc.com/download/viewer/)

For your first setting up with your new Pi, do not forget to enlarge the file system and update and also upgrade your OS and software packets by using the following commands:

sudo raspi-config (then select option 1 onthe software configuration windows and click finish to restart)

download
How-to-Access-the-Raspberry-Pi-Desktop-with-a-Remote-Desktop-Connection-Interfacing-Options

 

Then select “VNC”, to enable VNC:

How-to-Access-the-Raspberry-Pi-Desktop-with-a-Remote-Desktop-Connection-Enable-VNC

sudo apt-get update (to update)

sudo apt-get upgrade (to upgrade)

Now reboot the Pi with sudo reboot.

###If there is an error messages, please restart your Pi after updating or upgrading and try again###

The important thing to know in order to remotely connect to your pi is ” your Pi’s IP address”
  1. Using IP address scanner
  2. Finding from your Router’s DHCP lease allocation table:
0_1o7E-LY6B9Gg3_Qd
#another option: to share the internet from your PC with Pi

Open up the Network and Sharing Center settings and navigate to Change Adapter Setting

raspberry_pi_wifi_sharing

 

Right click on the Wireless Adapter and hit Properties

raspberry_pi_wifi_sharing1

 

Navigate to the Sharing Tab and select the Allow other network users to connect through this computer’s Internet connection checkbox

raspberry_pi_wifi_sharing2

 

Now right click the LAN Adapter and hit Properties. Double click the IPV4 option and verify that some dynamic IP is populated (192.168.137.1 in my example)

raspberry_pi_wifi_sharing3
raspberry_pi_wifi_sharing4
raspberry_pi_wifi_sharing5

 

Now Power ON the Raspberry Pi (ignore if already powered ON :P) and connect one end of the LAN Cable to the Raspberry Pi and the other end to the PC. You should be able to see status messages Identifying… and eventually Unidentified network

raspberry_pi_wifi_sharing6
raspberry_pi_wifi_sharing7

Open up cmd prompt and type in:

ScreenHunter_1281 Jan. 25 01.58

You should be able to ping the Raspberry Pi:

at raspberrypi.mshome.net

raspberry_pi_wifi_sharing8

 

Open up Putty and set the Host Name as: raspberrypi.mshome.net and hit connect. (You can also use the IP address of the Pi revealed in the above ping prompt: 192.168.137.149)

raspberry_pi_wifi_sharing9

 

You should be able to see the login prompt. Hit pi and raspberry and Enter

raspberry_pi_wifi_sharing10

 

You can now

ScreenHunter_1282 Jan. 25 02.03

 

(or any other website) from within the Shell and you’ll have response messages. Congratulations! Your Pi now is connected to the World Wide Web ?

raspberry_pi_wifi_sharing11

 

-Next, if you want to see the GUI (graphic user interface) on your PC windows, you may need to install the VNC client on your PC and install the VNC server on your Pi.

To install the VNC server, type the following command at the command line window
sudo apt-get install tightvncserver
## you may need to confirm your installation by typing “y” to proceed##

-Next, install another tool call “xrdp” for the Desktop remote connection of windows

To install the “xrdp” at the command line window
sudo apt-get install xrdp

-Next, start the VNC server
-at the command line type in
vncserver :1 (to start server no. 1)
-put your desired password and retype your password again
password: raspberry
verify: raspberry
###Be careful to key in your password correctly because you can not see what you are typing on the screen###
If there is a message asked “if you like to enter a view-only password (y/n)?” select “n”

  1. After making a connection with “PUTTY”
  2. Download VNC viewer software to your PC and Run the application 

key in the ip address and following by colon and the server no. which is “1” and click connect

download (3)

-Click yes, if you see the warning

download (4)

Key in the password for the server, which is “raspberry” for this case and click “ok” to connect.

download (5)

Then you should see the Pi GUI on your PC

R1

 

Another option is using Remote Desktop Connection from window

download (7)
download (8)

Then type in the username and password (pi and raspberry) and click “ok”

download (9)

Then you should see the GUI of your Pi 🙂

R1