Connect from anywhere to your Raspberry Pi with VNC CONNECT

new in Raspbian PIXEL: VNC Connect is a new free version of VNC, which facilitates the secure connection to your Raspberry Pi of anywhere in the world. In this personal version of the product you can manage up to 5 Raspberry Pi of anywhere in the world.

click for information about the levels.

a first version of RealVNC

since September 2016, Raspbian comes with the possibility of remote access and remote control by displaying the screen of your Raspberry Pi on another computer. Is VNC who brought this feature by providing the latest and most secure VNC version free Raspberry Pi community.

one of the criticisms of this solution was that if the connection was relatively easy on the same network, had a pretty good knowledge of network in order to connect to a Raspberry Pi through Internet! But often users of the Raspberry Pi did not have this knowledge.

VNC CONNECT to the Raspberry Pi

VNC Connect, a new version of VNC, developed as a result of these criticisms. This version of VNC allows you not only to make direct connections from your own network, but also allows connections to secure your computer from anywhere in the world, without special knowledge in a network, from a wide range of devices.

VNC Connect is available for Raspberry Pi, now, in deposits of Raspbian. It is free for non-commercial and educational use.

simplified management of connections

the choice of the computer used to connect using VNC was always tedious. He had to remember IP addresses or host names, or use a separate application to keep track of this information. With VNC Connect, appeared a new VNC Viewer with a built-in address book and user interface improved, which greatly simplifies the management of devices and connections. You now have the ability to save passwords for frequently used connections safely and you can synchronize your entries with other VNC viewers, which facilitates access to your Pi Raspberry from other computers, tablets or mobile devices.

improvement of direct capture

have been significant improvements in the experimental “direct capture” feature of VNC Connect which is unique to the Raspberry Pi. This feature allows you to see and control which applications are made directly to the screen, as Minecraft , omxplayer or even terminal . You should notice that the performance of VNC in direct capture mode has improved and is much more usable for interactive tasks.

VNC Connect is available in the repositories of Raspbian now, and can be installed by entering the following commands in a terminal:

 sudo apt - get update sudo apt - get install realvnc-vnc-Server realvnc-vnc-viewer 

If you already use VNC Server or VNC Viewer, the same commands will install the update. Need to reboot to use the latest version. An update of the system will have the same effect.

you can find more information about installing on page Raspberry Pi of RealVNC . If you want to take advantage of Internet connectivity, you can register RealVNC .

discover VNC Connect


For the rest of this chapter, your Raspberry Pi must be connected to the Internet.

click the VNC icon at the top right of Raspbian PIXEL screen. This home window opens. Click to connect at the bottom of the window.

you get to the login page of VNC.

in section GET STARTED enter your email address and click on NEXT .

fill in the different fields, check (or not) the boxes at the bottom of the window, then click on SIGN UP .

you will receive a message to the e-mail address you provided. Click VERIFY MAIL to validate your email address.

VNC confirms the verification of your email. Click GOT IT .

you can now activate your free account which allows you to manage up to 5 machines.

secure the connection

the Raspberry Pi I connect to the Internet doesn’t have a large critical applications. Use me it mostly for testing. Then, well, if a Chinese or Russian hacker connects and takes the hand, everything what he might get as much info, it is the temperature in the office. At worst it can light a LED on the plate breadboard. Not to break three-legged Duck 😀

on the other hand, if your Raspberry Pi sends a video stream, if it handles an alarm or your home automation, including the boiler, we’ll maybe not let intruders connect on it. Finally, it is my opinion. In this case I advise you to validate the previous bottom 2-step verification.

that sends you on this page: click on ENABLE 2 STEPS VALIDATION

as I use already Google Authenticator (for Facebook or twitter) this is the method I chose. Google Autenticator (GA) generates an ephemeral code based on a key that is unique to each user. When you first use GA generates a digital secret 80-bit key unique to each user. This key is passed as a string of 16 characters in base 32 or through a QR code (I chose this option!). The mobile application calculates each connection a digital signature based on this unique key, encoding the number of periods of 30 seconds since the “ epoch ‘ Unix. A 6-digit number is displayed by the application and the user must copy it back on the website, in addition to its password. This ensures that only that user can access the information.

in case of loss (theft) of your mobile application generates backup codes will treasure!

well, it isn’t far from the end of this tutorial. You can access the VNC homepage… But he has yet to display computer. We’ll take care!

in the left part of the window: connectivity , click log . Enter your VNC account login information.

choose the method of authentication in 2 steps.

enter the code provided by the app on your smartphone/tablet. The codes are valid a minute.

choose the method to connect: direct for your local network, cloud for a connection over the Internet.

your Raspberry Pi is attached to your VNC account and you will be able to connect to it remotely.

list of computers available

go back on the remote machine (okay, you still follow?) The Raspberry Pi appears in the list of computers.

install VNC Viewer

If you don’t yet have it on your smartphone or tablet, make you on the VNC download page .

click on the system your hardware (for me it’s Android).

and install VNC Viewer on the hardware that you want to control remotely on your Raspberry Pi.

VNC on tablet or smartphone

on the tablet or smartphone, start VNC Viewer.

the Raspberry Pi that interests us is located in the Team ( the team). Tap Team-online

in the Team, the Raspberry Pi appears. Type top (not too loud, even when 🙂)

we have to authenticate to connect.

to connect to the machine must enter the login/password of the machine (here ft/raspberry).

and we are left on the desk of the Raspberry Pi 🙂

the menus are available normally, as well as applications.

hand if we run Minecraft is a black window. In fact Minecraft as omxplayer and other apps write directly in a framebuffer (screen memory). The latest version of VNC allows however (experimental) to retrieve the news that do not normally appear.

in the window VNC Server on the Raspberry Pi, click on the menu (the 3 bars at the top on the right). In the item Options menu click troubleshooting , then check the box use the direct capture mode (in red above).

this time Minecraft appears well in the window!

with this version of VNC Connect, the Raspberry Pi becomes accessible from anywhere via the Internet. It is still a new opportunity that will no doubt inspire many of makers and we look forward to this possibility applications!

Get ‘Back to my Pi’ from anywhere with VNC Connect

No comments:

Powered by Blogger.