GONE_COMMAND="sudo -u $USER gnome-screensaver-command -lock" # ne fonctionnera pas et l'écran ne sera pas verrouillé. # Si l'utilisateur spécifié dans USER n'est pas celui connecté, cette commande # n'impose pas la saisie du mot de passe à nouveau, voici la raison du sudo -u. # L'utilisateur lançant le serveur x11vnc étant le root, le verrouillage de l'écran # Commande de vérouillage de session lors de la deconnexion du client VNC # Pour la liste complète et détaillée des options (anglais) # lorsque l'option ALLOW_MULTI_INSTANCES à true # Port par défaut (sert aussi numéro de base pour avoir plusieurs instances) # Permet de démarrer plusieurs instances si le serveur est déjà en train de # la session en cours, si vous avez une solution, maillez moi ) # Je n'ai pas trouvé comment récupérer dynamiquement ceci pour l'adapter à # VNC fonctionnera uniquement pour cet utilisateur. # Limitation: le verrouillage de la session lors de la déconnexion du client # Correspond à l'utilisateur avec lequel vous allez vous loguez sur le # /!\ Ne correspond pas à l'utilisateur avec lequel est lancé le serveur ! # une instance en fonction du port écouté # l'option stop les termine toutes, il n'est pas possible de choisir # Limitation: lorsque plusieurs instances du serveur VNC sont lancées # basé sur le serveur VNC x11vnc et le gestionnaire de fenêtre GDM # Script de démarrage de serveur VNC avant la fenêtre de connexion Copy this script, paste it in the text editor, and save it. Once again, the text editor sould pop up with an emply document. Why re-invent the wheel, let's use his script ! We will create a script for make the vnc serveur start itself before the loging screen. Now we can use the command sudo with the user banana The text editor should open, go to the bottom and add this line enter this command :Īnd type your password (bananapi) you see nothing when enter it, it's normal. We need to use the command "sudo", but the user "bananapi" (you) isn't is the sudoers file. The terminal use just text, but don't be affraid, just follow me Oh, yes, you can close the synaptic windows ) The tools are here, let's meet the terminal ! Go to the start menu -> Accessories -> LXterminal ( What ?. ĭo the same for the packages "openjdk-7", "gawk",and if you want to change the system language "language-selector-gnome" ( this will be in Start menu -> Preferences -> Language Support )Ĭlic in the top menu, on "apply", and wait. Mine is in french but i'm sure the screenshot will help youĬlic on search and look for "x11vnc", right clic on it and select it for download. Run the program start menu -> system tools -> synaptic package Once it's done, use the password bananapi to log in the user bananapi. If your Banana Pi is just out of the box, you will need to install Lubuntu os on your SDcard. This tutorial is for lubuntu but must work with other banana pi os.
0 Comments
Leave a Reply. |