Différences entre versions de « Pi-VNC-Test-Config »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 9 : Ligne 9 :
  
 
[[Fichier:Pi-VNC-TEST-00.png]]
 
[[Fichier:Pi-VNC-TEST-00.png]]
 +
 +
This will help to ensure that your Pi always gets the same IP address.
 +
 +
If you are experienced at network configuration, you can change your raspberry Pi to have a static IP address, but this can lead to problems if you move your Pi between different networks.
 +
 +
If you require a different screen size for your VNC screen, then you can configure VNC by adding the following options to the end of the command to start the VNC server. This applies to both starting the VNC server manually or setting it to start automatically.
 +
 +
<nowiki>vncserver :1 -geometry 1440x900</nowiki>
 +
 +
The figures after -geometry are the screen width and height in pixels.
  
 
{{Pi-VNC-TRAILER}}
 
{{Pi-VNC-TRAILER}}

Version du 30 mars 2013 à 11:56

Being able to connect to your Pi remotely like this can be really useful. However, as with SSH, you need to know its IP address to be able to connect. It is a good idea to set the lease time to be as long as possible on your home router.

To do this, log into your home hub, find the DHCP settings page and set the DHCP lease time to as long as possible or select a Permanent Lease option if it is available.

Pi-VNC-TEST-00.png

This will help to ensure that your Pi always gets the same IP address.

If you are experienced at network configuration, you can change your raspberry Pi to have a static IP address, but this can lead to problems if you move your Pi between different networks.

If you require a different screen size for your VNC screen, then you can configure VNC by adding the following options to the end of the command to start the VNC server. This applies to both starting the VNC server manually or setting it to start automatically.

vncserver :1 -geometry 1440x900

The figures after -geometry are the screen width and height in pixels.



Source: [1]

Augmenté par Meurisse D pour MCHobby.

Tutoriel créé par Simon Monk pour AdaFruit Industries. Tutorial created by Simon Monk for AdaFruit Industries

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.