Modifications

Sauter à la navigation Sauter à la recherche
367 octets ajoutés ,  31 mars 2013 à 12:16
Ligne 1 : Ligne 1 :  
{{Pi-VNC-NAV}}
 
{{Pi-VNC-NAV}}
   −
{{traduction}}
+
{{ambox-stop|text=Cette méthode ne fonctionnera que si vous<br />avez configuré votre Pi pour qu'il<br />démarre directement l'environnement graphique.}}  
   −
{{ambox-stop|text=This method will only work if you have set your Pi to automatically log into the desktop environment.}}
+
{{bloc-etroit | text=Se connecter à distance avec VNC sur votre Raspberry Pi ne pose aucun problème tant que votre Raspberry Pi ne reboote pas. S'il reboote, alors vous devez soit vous connecter en SSH et redémarrer le serveur VNC ou faire en sorte que le serveur VNC démarre automatiquement au démarrage du Pi (durant le boot).
   −
{{bloc-etroit | text=Connecting to your Raspberry Pi remotely with VNC is fine as long as your Pi does not reboot. If it does, then you either have to connect with SSH and restart the VNC Server or arrange for the VNC Server to run automatically after the Raspberry Pi reboots.
+
Il existe différentes méthodes permettant d'exécuter du code au moment ou votre Raspberry démarre. La méthode décrite ci-dessous est certainement la plus facile à utiliser. Vous pouvez aussi la modifier pour qu'elle exécutre d'autres commandes au lieu de démarrer le serveur VNC. }}
 
  −
There are several different methods of arranging for some code to be run as the Pi starts. The method described below is probably the easiest to use. You can adapt it to run other commands instead of starting the VNC server. }}
      
== Etape 1 ==
 
== Etape 1 ==
Open a Terminal session on the Pi, or connect using SSH. A new terminal or SSH session will automatically start you off in your home directory of /home/pi. If you are not in this directory, change to it by typing:
+
Ouvrez une session Terminal sur votre Pi, ou connectez vous en utilisant SSH. Une nouvelle session terminal or session SSH démarre automatiquement dans le répertoire "home" qui est /home/pi. Si vous n'êtes pas dans ce répertoire, changez le en tapant:
    
  <nowiki>$ cd /home/pi</nowiki>
 
  <nowiki>$ cd /home/pi</nowiki>
   −
Then cd to the .config directory by typing:
+
Passez ensuite dans le répertoire .config en tapant:
    
  <nowiki>$ cd .config</nowiki>
 
  <nowiki>$ cd .config</nowiki>
   −
Note the '.' at the start of the folder name. This makes it a hidden folder that will not show up when you type 'ls'.
+
Notez le '.' et début du nom du répertoire. Cela en fait un répertoire caché qui n'est pas visible lorsque l'on tape la commande 'ls'.
    
== Etape 2 ==
 
== Etape 2 ==
   −
Issue the command below to create a new directory indide .config called 'autostart'.
+
Entrez la commande suivante pour créer le répertoire 'autostart' à l'intérieur du répertoire .config .
    
  <nowiki>$ mkdir autostart</nowiki>
 
  <nowiki>$ mkdir autostart</nowiki>
   −
cd into that new directory by typing:
+
Passez dans ce nouveau répertoire en tapant:
    
  <nowiki>$ cd autostart</nowiki>
 
  <nowiki>$ cd autostart</nowiki>
Ligne 34 : Ligne 32 :  
== Etape 3 ==
 
== Etape 3 ==
   −
All that remains is to edit a new configuration file. So type the following command to open the nano editor on the new file:
+
Tout ce qui reste à faire c'est d'éditer un nouveau fichier de configuration. Pour ce faire, tapez la commande suivante pour ouvrir l'éditeur nano en créer notre nouveau fichier:
    
  <nowiki>$ nano tightvnc.desktop</nowiki>
 
  <nowiki>$ nano tightvnc.desktop</nowiki>
   −
Edit the contents of the file with the following text.
+
Editez le contenu du fichier et entrez y le contenu suivant:
    
  <nowiki>[Desktop Entry]
 
  <nowiki>[Desktop Entry]
Ligne 48 : Ligne 46 :  
[[Fichier:Pi-VNC-AUTOSTART-01.png]]
 
[[Fichier:Pi-VNC-AUTOSTART-01.png]]
   −
Type ctrl-X and then Y to save the changes to the file.
+
Tapez ctrl-X et ensuite Y (pour Oui) pour sauver les modification dans le fichier.
   −
Thats all there is to it. The next time you reboot the VNC server will restart automatically.
+
Voila, c'est tout ce qu'il fallait faire. La prochaine fois que votre Pi reboot, votre serveur VNC démarrera automatiquement.
    
{{Pi-VNC-TRAILER}}
 
{{Pi-VNC-TRAILER}}
29 917

modifications

Menu de navigation