Follow these few simple steps to use GUI on your laptop, if you don’t have additional screen for pi:
- Install putty from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
- 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/
- Type login and password for your pi.
- $ sudo apt-get install tightvncserver
- $ 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:
- $ 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.
- $ nano svnc.sh (call the file whatever you like)
Add the lines:
vncserver :0 -geometry 1920×1080 -depth 24 -dpi 96
Ctrl-x y (To Exit Nano and Save)
- Change mode to Execute
$ chmod +x svnc.sh
then to run
- Install VNC on your laptop. Follow link: https://www.realvnc.com/products/ios/2.0/connectguide/connect1.html
- Open VNC on your laptop and connect to ip address from your laptop from Step 2.
- DONE. Now you will have GUI of Raspberry pi.
- To RESET Pasword. Run vncpasswd