How to access Raspberry GUI remotely in ur laptop

This post assumes that you have already assigned a static ip to your raspberry. If not follow this post

Using Raspberry Without monitor using ssh


First you need an Internet Connection on your raspberry to install vnc server.

Connect the rj45 from your pi to router

and as your laptop is also connected to the router through wifi. You can access pi through ssh

Open pi

Step1:ssh pi@192.168.1.5

Step2:Open the following file: 
    sudo nano /etc/resolv.conf
 and add the dns server of the router
eg:nameserver:208.67.222.200



Step3:sudo apt-get update
This is required as the repository information may be incomplete.
Step4: Now you can access internet on your pi. So download the vnc server
sudo apt-get install tightvncserver



Step5: run it /usr/bin/tightvncserver
first time it asks for password.give any password..

Step6: On your linux install
sudo apt-get install xtightvncviewer

Step7:Now you can access your pi GUI remotely
xtightvncviewer 192.168.1.5:1




Comments

Popular posts from this blog

bb.utils.contains yocto

Difference between RDEPENDS and DEPENDS in Yocto

PR, PN and PV Variable in Yocto