sâmbătă, februarie 14, 2015

Life of RaspberryPI: Remote Desktop through VNCViewer

Hi everyone,



If you run RaspberryPI headless because you don't have a monitor, you might want to see the RaspberryPI's Desktop remotely.
For this, you need to set up a VNC server on RaspberryPI and a VNC client on your laptop.
The connection will be made via LAN cable, the same you are using for SSH control.

1. Set up VNC server on RaspberryPI

Connect with Putty to your device and send this commands:
root@raspberrypi:~# sudo apt-get install tightvncserver
Type y and press Enter in order to allow installation. 
root@raspberrypi:~# tightvncserver
Set up a password of 8 characters and an optional password for view only.

root@raspberrypi:~# vncserver :0 -geometry 1024x768 -depth 24

Launch a Desktop with 1024x768 resolution.

2. Install VNC client on your laptop


Download VNC Viewer and install it.
Open the program, type the IP of RaspberryPI and click on Connect.
Type in the password you set above and you are ready to go!

0 comentarii:

Trimiteți un comentariu