How to Access GUI on Raspberry Pi without Monitor

rasppi2

Assalamualaikum…

Follow these few simple steps to use GUI on your laptop, if you don’t have additional screen for pi:

  1. Install putty from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
  2. Start putty and give IP address of your Pi connected to Ethernet LAN, you can know the ip address of pi from a software Advaced IP scanner: http://www.advanced-ip-scanner.com/
  3. Type login and password for your pi.
  4. $ sudo apt-get install tightvncserver
  5. $ tightvncserver
    Once that is done you can start a VNC server from the shell prompt. This example starts a session on VNC display zero (:0) with full HD resolution:
  6. $ vncserver :0 -geometry 1920×1080 -depth 24
    (If fonts appear the wrong size, add ‘-dpi 96’ to the end.) Or you could create a script to save typing in the whole thing.
  7. $ nano svnc.sh (call the file whatever you like)
    Add the lines:
    #!/bin/sh
    vncserver :0 -geometry 1920×1080 -depth 24 -dpi 96
    Ctrl-x y (To Exit Nano and Save)
  8. Change mode to Execute
    $ chmod +x svnc.sh
    then to run
    $ ./svnc.sh
  9. Install VNC on your laptop. Follow link: https://www.realvnc.com/products/ios/2.0/connectguide/connect1.html
  10. Open VNC on your laptop and connect to ip address from your laptop from Step 2.
  11. DONE. Now you will have GUI of Raspberry pi.
  12. To RESET Pasword. Run vncpasswd
  13. Wassalam..

    Advertisements
This entry was posted in Install, Linux, Raspberry Pi and tagged , , , , . Bookmark the permalink.