By submitting this form, you agree to receive RealVNC education content, special offers, exciting news and product updates. You can withdraw your consent at any time. We respect your data, see our Privacy policy.

How to set up VNC Connect on Raspberry Pi

Bogdan Bele | 12 Aug 2021

What can you do with a Raspberry Pi, you might ask? The answer is that only your imagination is the limit. The good news is that VNC Connect comes installed on it, as well. That means you can easily control your Pi from another machine (or why not, use the smartphone VNC Viewer version to do it).  VNC Connect Raspberry Pi

How to use VNC Server for Raspberry Pi 

Read on to find out how to set up Raspberry Pi for use with VNC Connect. There are also other great ways to make the most out of VNC Connect, as you can find out here. 

As mentioned, Raspberry Pi comes with VNC Server and VNC Viewer installed. The only prerequisite is that your Pi has Raspberry Pi OS installed. If not, you can always install the VNC software later.  

Also, you will need to enable VNC software on your device before being able to use it. This is very easily done. Open a terminal window and run the command sudo apt-get update, then sudo apt-get install realvnc-vnc-server.   

This will make sure you're running the latest version. Then, in the graphical desktop, go to Menu > Preferences > Raspberry Pi Configuration > Interfaces. You will come across VNC in there. Make sure it's Enabled. Once you've done that, the software will start every time you boot.  

Make sure you log in with your RealVNC account. Even with a Home license, you will have access to both Cloud and Direct Connections. 

How to connect to Raspberry Pi 

This is no different from the way you would connect to any other machine running VNC Server. On your device running VNC Viewer (and using the same account), your Raspberry Pi should show.  

Of course, you can also make note of the IP address shown in VNC Server, initiating a Direct Connection. Note that this does not need a logged-in RealVNC account.  

When asked for login credentials, you need to use your Raspberry Pi's ones. By default, the account is pi and the password is whatever you have set it to. The default one is raspberry, but it's a great idea to change it as quickly as possible.  

You can do other tasks, such as printing or transferring a file, as you normally would in Viewer. 

If you want to connect from a Raspberry Pi to another machine, you only need to open VNC Viewer. Then, search for that machine and connect as usual.  

You can even create and remote into a virtual desktop. This is very handy if your Raspberry Pi is not connected to a monitor. To this, run the command vncserver on your Raspberry Pi and write down the IP address and display number. Next, enter it into VNC Viewer and you will be able to connect.  

Stopping the remote virtual desktop is also easy. Just use the command vncserver -kill :<display-number>.

To sum it up, remote controlling a Raspberry Pi is just as easy as it is on any other device.  You can also find out more detailed information regarding this on our help page.

 

 

 

Also, did you know that we offer a 30-day free trial? Start a free 30 day trial of VNC Connect

Bogdan Bele

Written by Bogdan Bele

Topics:

All

 

Comments