![]() Download and install VNC Viewer on the device you’ll use to control your Raspberry Pi.On the next screen (“Choose connectivity method”), choose “Direct and cloud connectivity.”.On your Raspberry Pi, sign in to VNC Server using your new RealVNC account.This is how you can establish a cloud connection to your Pi: When establishing a cloud connection, I often received an error message saying, “VNC Server is not currently listening for Cloud connections.” A direct connection was also noticeably faster than a cloud connection. However, if you are only going to connect to your Raspberry Pi from inside your home network, a direct connection is a more reliable option. RealVNC, the company behind VNC Server and VNC Viewer, both of which we have used in this article, allows you to register an account to their cloud service and use the service for free (provided that you use it for educational or non-commercial purposes).Ī cloud connection is a convenient way to connect to your Raspberry Pi, because cloud connections are secure and don’t require you to configure your router’s port forwarding settings or know your IP address. If you’ve done everything right, you should see your Raspberry Pi’s desktop on the device that you’re using. If you haven’t changed your default credentials, your username will be “pi” and your password will be “raspberry.” VNC Server will ask you to authenticate with your Raspberry Pi’s username and password.Enter your private IP address into VNC Viewer (you wrote it down, right?).You can download the program from RealVNC’s site. On the device you’ll use to control your Raspberry Pi, install VNC Viewer.Terminal will kick back your private IP address. On your Raspberry Pi, run this command in Terminal:. ![]() ![]() Establishing a direct connectionĭirect connections are very straightforward if you’re going to connect to your Raspberry Pi from inside your home network. There are two ways to establish remote desktop access to your Raspberry Pi using VNC Viewer: through a direct connection or through a cloud connection. Step 2: Connect to your Raspberry Pi using VNC Viewer The config asks you, “Would you like the VNC Server to be enabled?” Select “Yes” and exit the config by choosing “Finish.” Then go to Advanced Options and select VNC. Open Terminal and enter this command: sudo raspi-config Go to Preferences > Raspberry Pi Configuration and click on “Interfaces.” While there, select “VNC: Enabled.” We’ll cover both the methods below – you can choose whichever one you’d prefer. As with SSH, enabling VNC can be done two ways: using the GUI (graphic user interface) or using Terminal. We’ll start in a similar way here: by enabling VNC. In our previous guides on how to SSH into the Raspberry Pi and how to set up an FTP server on the Raspberry Pi, the first thing we had to do was to enable SSH. ![]() Let’s get started! How to establish remote desktop access to the Raspberry Pi Step 1: Enable VNC To do so, run the following commands in Terminal: sudo apt-get update sudo apt-get install realvnc-vnc-server realvnc-vnc-viewer The only thing we’ll want to do before getting started is make sure that we have the latest version of VNC Connect. It consists of VNC Server and VNC Viewer. Then, we’ll need VNC Viewer on the device we want to control from.įortunately for us, Raspbian comes pre-loaded with VNC Connect, RealVNC’s remote access software. First, we’ll need VNC Server on the computer we want to control. In order to use VNC, we need to have two programs. Now, we’re going to show you how to establish a remote desktop access to your Pi using VNC (Virtual Network Computing). Previously, we’ve shown you how to connect remotely to your Raspberry Pi using (S)FTP and SSH.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |