The video stream, the actions with the mouse, the keys of the keyboard … If security is your obsession or if you must regularly access your Raspberry Pi from the internet (from your work or your smartphone), it is wise and strongly advised to encrypt your exchanges with this one. Everything can be intercepted on the network. If you connect to your Raspberry Pi from your local network, the lack of SSL encryption is not required.
To install and configure TightVNC, follow this tutorial written for Armbian on an Orange Pi also applies to Raspbian Stretch.
It’s up to you to choose the solution that suits you best. It requires more settings and configuration than RealVNC. This is an alternative to RealVNC used by the Raspberry Foundation. TightVNC ( official project page) is a lightweight VNC server that runs on all Linux distributions as well as on Windows. VNC starts automatically when the system starts! Here, my Raspberry Pi 3 test that also runs a Jeedom home automation server. RealVNC informs you that the connection is not secure (it does not matter if you connect to the Raspberry Pi from a local network). In the window that appears, enter your username and password. It is not necessary to specify port (5900) unless it has been manually changed. In the address bar, enter the IP address of the Raspberry Pi (ifconfig command to find it) and confirm by pressing the Enter key on the keyboard. Install and launch VNC Viewer on your computer. Go to the RealVNC site to retrieve the VNC viewer that matches your system.
If you prefer to stay in 100% Open Source and free projects, pledge of privacy, you can turn to UltraVNC ( official project page). RealVNC ( website) is available on all platforms (including mobile).
There are many VNC clients for all platforms (macOS, Windows, Linux …) and for smartphones (iOS, Android …). Raspbian takes care of everything, including installing the VNC server’s autostart script when the system boots. Il est nécessaire de prendre 20,9 Mo dans les archives.Īprès cette opération, 86,9 Mo d'espace disque supplémentaires seront utilisés.Īccept the installation (O key) of the new packages. Libjbig2dec0 libpoppler46 libqpdf13 poppler-data poppler-utils printer-driver-gutenprint qpdf realvnc-vnc-serverĠ mis à jour, 31 nouvellement installés, 0 à enlever et 0 non mis à jour. Les NOUVEAUX paquets suivants seront installés :
Libjbig2dec0 libpoppler46 libqpdf13 poppler-data poppler-utils printer-driver-gutenprint qpdfĬups-bsd foomatic-db-compressed-ppds foomatic-db printer-driver-hpcups hplip cups-pdf xpp ghostscript-x gutenprint-locales fonts-japanese-minchoįonts-ipafont-mincho fonts-japanese-gothic fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming fonts-nanum gutenprint-doc Ghostscript gsfonts libcupscgi1 libcupsfilters1 libcupsimage2 libcupsmime1 libcupsppdc1 libfontembed1 libgs9 libgs9-common libgutenprint2 libijs-0.35
Les paquets supplémentaires suivants seront installés :īc cups cups-browsed cups-client cups-common cups-core-drivers cups-daemon cups-filters cups-filters-core-drivers cups-ppdc cups-server-common The first time you activate VNC on the Raspbian distribution, you have to install all the necessary packages. Open the Terminal and run raspi-config with the sudo raspi-config command. VNC allows access to Raspbian’s graphical desktop from another computer and tablet. Follow this tutorial if you need to assign a fixed IP address to your Raspberry Pi. Here, the RPI is at 192.168.1.24 on the local network. To do this, open the Terminal and run the ifconfig command. You will need to know the address assigned by the router to the Raspberry Pi. If another computer (or why not a tablet or a smartphone), we will use a client (or Viewer).
To work, a VNC server must be installed on the Raspberry Pi, which will be responsible for managing the access rights, sending the screen image (like a video stream) and managing the user’s interactions.