Microcontroller Tutorials

Arduino, Raspberry Pi, PIC, Beaglebone Resources

Raspberry Pi VNC Control Via PC

by Roland Pelayo

I don't have a monitor for my Raspberry Pi so I use SSH to access and control it. I can do everything I need with SSH but sometimes I just grow tired of looking at the terminal and just want to point and click my mouse in using my board. So how can I use the RPi's GUI without a dedicated monitor? Through Raspberry Pi VNC Control!

TightVNCServer for Raspberry Pi VNC Control

The first thing you need is to install tightvncserver on your Raspberry Pi:

After that, run the vnc server:

You will be asked to enter a password with a maximum length of 8. This password will be asked by the VNC client later on so take note of it.

After entering your password, you would see this on your terminal:

Just answer "n" for the view-only password question.

TightVNC on your PC as Controller

On your PC, download Tightvnc. Once it's downloaded, open up TightVNC Viewer. This window will appear:

Enter your Raspberry Pi's IP address and the VNC display number (or port). My RPi is at and my VNC display number is 1 (as seen from the terminal when I ran vncserver). Click "Connect" and you'll then be asked for the password I mentioned earlier:

Click "OK" and voila! The Raspberry Pi's desktop GUI can now be viewed on your PC:

You can browse the web too of course:

And play some games if you will: (No Minecraft though as it needs a dedicated monitor to run).

Was this post useful? Drop a comment below!

Leave a Reply

Your email address will not be published. Required fields are marked *