Modifications

Sauter à la navigation Sauter à la recherche
807 octets ajoutés ,  30 août 2018 à 15:39
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{Pi-VNC-NAV}}
 
{{Pi-VNC-NAV}}
 +
== Préambule ==
 +
SSH (voir [[PI-SSH|notre tutoriel sur SSH]]) est souvent utilisé si vous avez besoin de prendre le contrôle de votre Pi. Cependant, il peut être vraiment utile de contrôler son Pi avec une souris en voyant ce qui se passe sur l'écran.
   −
{{traduction}}
+
VNC (Virtual Network Connection) est un standard qui permet justement de réaliser cela.
   −
{{bloc-etroit | text=SSH (voir [[PI-SSH|notre tutoriel sur SSH]]) is often all you need to control your Raspberry Pi, however sometimes it is useful to be able to remote control your Raspberry Pi using the mouse and seeing just what you would see on the screen of the Raspberry Pi.  
+
Depuis Raspbian Strech (voir un peu avant), le système d'exploitation inclus déjà un serveur  VNC. Il est pré-installé mais pas activé.
   −
VNC (Virtual Network Connection) is a standard for doing just this. To use it, you have to install some software on your Pi. There are a number of VNC server applications, and the one we are going to use is called “tightvnc”.
+
Pour activer le serveur VNC, il faut utiliser l'utilitaire {{fname|raspi-config}} et activer le serveur VNC par l'intermédiaire du menu:
 +
* Entrée 5 - Interfacing options
 +
* Entrée P3 - VNC  
   −
We can install the VNC server software using the SSH connection that we established earlier.
+
== Raspbian Strech et suivant ==
 +
Sur les systèmes d'exploitation récene
   −
Enter the following command into your SSH terminal: }}
+
== Ancien systèmes d'exploitation  ==
 +
VNC (Virtual Network Connection) est un standard qui permet de prendre le contrôle à distance en mode graphique. Pour l'utilise vous aurez besoin d'installer quelques logiciels sur votre Pi. Il existe de nombreux logiciels VNC Serveur (''VNC server''), nous allons utiliser celui qui se nomme “tightvnc”.
 +
 
 +
Nous pouvons installer un Serveur VNC sur le Pi en utilisant une connexion SSH préalablement établie.
 +
 
 +
Entrez la commande suivante dans votre terminal SSH:
    
  <nowiki>sudo apt-get update
 
  <nowiki>sudo apt-get update
Ligne 16 : Ligne 26 :  
[[Fichier:Pi-VNC-INSTALL-00.png]]
 
[[Fichier:Pi-VNC-INSTALL-00.png]]
   −
You will be prompted to confirm installation by typing “Y' and finally when installation is complete, you should see the following:
+
Le système vous demandera de confirmer l'installation que vous confirmerez en tapant  "Y" (ou "O" sur un système français).
 +
 
 +
Finallement, lorsque l'installation est complète, vous devriez voir le contenu suivant:
    
[[Fichier:Pi-VNC-INSTALL-01.png]]
 
[[Fichier:Pi-VNC-INSTALL-01.png]]
   −
We now need to run the VNC Server, so enter the following command into your SSH window:
+
Vous devez maintenant démarrer un serveur VNC Server, cela est réalisé en tapant la commande suivante dans votre fenêtre SSH:
    
  <nowiki>vncserver : 1</nowiki>
 
  <nowiki>vncserver : 1</nowiki>
Ligne 26 : Ligne 38 :  
[[Fichier:Pi-VNC-INSTALL-02.png]]
 
[[Fichier:Pi-VNC-INSTALL-02.png]]
   −
You will be prompted to enter and confirm a password. It would make sense to use “raspberry” for this, but passwords are limited to 8 characters, so I use “raspberr”. Note that this is the password that you will need to use to connect to the Raspberry Pi remotely.
+
Vous devrez alors entrer et confirmer un mot de passe VNC Serveur. Cela aurait du sens d'utiliser "raspberry" mais les mots de passe sont limités à 8 caractères, nous allons donc utiliser "raspberr".  
 +
 
 +
C'est le mot de passe que vous devrez utiliser pour vous connecter à distance sur votre Raspberry.
   −
You will also be asked if you want to create a separate “read-only” password – say no.
+
Il vous sera également demandé de créer un mot de passe "Read-Only" (lecture seule). Répondez simplement "NON".
   −
From now on, the only command that you need to type within your SSH to start the VNC server will be:
+
A partir de maintenant, la seule commande que nous avons besoin pour démarrer le serveur VNC en SSH sera:
    
  <nowiki>vncserver :1</nowiki>
 
  <nowiki>vncserver :1</nowiki>
   −
The VNC server is now running and so we can attempt to connect to it, but first we must switch to the computer from which we want to control the Pi and setup a VNC client to connect to the Pi.
+
Le serveur VNC est maintenant en cours de fonctionnement et nous pouvons essayer de nous connecter dessus. Mais la première chose à faire est de passer sur l'ordinateur à partir duquel nous allons nous connecter sur le Pi.
       
{{Pi-VNC-TRAILER}}
 
{{Pi-VNC-TRAILER}}
29 917

modifications

Menu de navigation