Browse Month: August 2018

How to use VNC to Remote Desktop to the Raspberry Pi

VNC stands for Virtual Network Computing and it allows us to remote into our Raspberry Pi and view a graphic interface of our desktop environment over the network. You can use your mouse and keyboard over the network and have full remote access to the Raspberry Pi over your network. You can even forward your VNC connection over your router or VPN and access your Raspberry Pi from anywhere in the world. We will be using a program called ‘RealVNC‘ to access our Raspberry Pi from any computer on the network. Our Raspberry Pi will act as the server and the computer running RealVNC will be the client.

When you connect to your Raspberry Pi using the VNC software you will get a Remote Desktop view that opens in a new Window and you can minimize and maximize it. You can also set up your Raspberry Pi without a monitor and use the Remote Desktop connection as your monitor. Installing the VNC on your Raspberry Pi is very easy and doesn’t require much configuration since Raspbian sets up VNC pretty easy right out of the box.

Objective

To use VNC to access our Raspberry Pi Remotely

Material

You will need the following:

Instructions

I will assume you are running Raspbian on your Raspberry Pi. I have tested this procedure with a Raspberry Pi running Stretch, but it should work for older and new builds. If there are any issues just leave a comment below.

You’ll need access to your Raspberry Pi to run some commands. You can also run these commands over SSH if you have enabled SSH in case you Raspberry Pi is headless and running without a monitor. You can enable SSH by following the tutorial here.

Continue Reading

How to Enable SSH on a Headless Raspberry Pi 3

With recent releases of Raspbian (Jessie+) the SSH is disabled by default. The Raspberry Pi foundation has done this to improve security on the many Raspberry Pi’s out there. Leaving SSH enabled by default allows hackers to target your Raspberry Pi and gain access to you system and network if your Raspberry Pi is being run as a web server or connected to the internet. Enabling SSH will allow you to remotely connect to your Raspberry Pi. You will not see the full desktop, only a command line. Using SSH to remotely connect to your Raspberry Pi will allow you to perform updates or install software from another computer on your network.

Objective

To enable SSH on a Raspberry Pi running Raspbian

Material

You will need the following:

Instructions

I will assume you are running Raspbian on your Raspberry Pi. Since we will be running a headless Raspberry Pi, which means no monitor will be connected, we will need to edit the /boot/ folder of our Raspberry Pi SD card. After you burn the Raspberry Pi image onto your SD card open the /boot/ folder on the image and create a file called ssh. You do not need to edit the file or add any content to the file. As long as the ssh file is in the /boot/ partition of the Raspberry Pi you are good to go. Continue Reading