I had a problem when using the Raspberry pi which is I don’t have a separate display or a monitor to connect it. I had only the laptop with me. So after googling I found some interesting stuff. The best part is you can use your laptop’s(or PC’s) keyboard and track pad(or mouse pad) with the raspberry pi. Let’s see what is this method.
What you need
- Obviously a Raspberry Pi with Power Supply
- Ethernet cable
- Internet Router (Like ADSL or Fixed 4G anything is ok)
- VNC Viewer
- Putty
- Advanced IP Scanner
How to do it
After getting what you need, downloading and installing required software in your laptop(or PC) follow these steps.
-
- Connect your Raspberry Pi to power supply and once you turn the power on it will boot automatically.
- Connect your Ethernet cable to Internet Router (make sure your router has a working internet connection).
- Connect the other end of the Ethernet cable to Raspberry Pi.
Image Courtesy: http://support.thingplus.net/en/open-hardware/raspberry-pi-user-guide.html
- Open the Advanced IP Scanner and click Scan button. Then you will get a list of devices connected to your router and there ip addresses. Note down the ip address related to your raspberry pi.
- Open the putty.exe file.
- Type the noted ip address of the raspberry pi in the Host Name space and let other settings as default.
- Then click Open and it will open a terminal(command prompt).
- Type pi as the login and raspberry as the password and hit enter.
- Then type the following commands in the terminal.
sudo apt-get update sudo apt-get install realvnc-vnc-server realvnc-vnc-viewer
- After that type vncserver and press enter.
- Note down the new desktop ip address.
- Run VNC Viewer in your laptop(or PC) .
- Go to file menu and click new connection.
- Type the noted desktop address as the VNC Server and give a name for the connection.
- Click OK.
- Then double click the connection icon displayed in the VNC Viewer and enter the username as pi and password as raspberry and start work with your raspberry pi in your laptop. 😀