How to set up VNC Connect on Raspberry Pi

What can you do with a Raspberry Pi, you might ask? The answer is that only your imagination is the limit.
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 wait 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.

You might also want to check out our article on how you can set up a headless Raspberry Pi with VNC Connect.

Also, did you know that we offer a 14-day free trial?

Bogdan Bele

Bogdan Bele

A journalist by formation and experience, and a content writer by trade. I’ve been writing content, both online and offline, for more than 15 years. My focus has always been technology, but I’ve also ventured into fields as diverse as music, football or news. I am RealVNC’s in-house Digital Content Editor, so a lot of what you’re reading on this blog is written by me. I also edit a lot of our content output. When I’m not writing, editing or reading, you’ll probably find me at a concert or watching a Chelsea FC game.

Share this post

Blogs you might also be interested in:

RealVNC® uses cookies. For more information, please read our privacy policy.