Ligne 8 : |
Ligne 8 : |
| | | |
| == 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 32 : |
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 46 : |
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}} |