Book Image

Banana Pi Cookbook

By : Ryad El-Dajani
Book Image

Banana Pi Cookbook

By: Ryad El-Dajani

Overview of this book

Table of Contents (13 chapters)

Controlling the desktop remotely using VNC

The VNC (Virtual Network Computing) system is a great choice if you need to control your LXDE desktop remotely. In this recipe, we are discovering how to install a VNC server and connect to the Banana Pi using a VNC client.

Getting ready

The following ingredients are required to build a VNC server on the Banana Pi:

  • A running Banana Pi with a Debian-based Linux system

  • A configured network on the Banana Pi

How to do it…

We are going to install the VNC server onto our Banana Pi and access the Banana Pi remotely via a VNC client.

Installing the VNC server on the Banana Pi

Installing and running the VNC server is quite simple:

  1. Open a shell.

  2. Install the x11vnc package:

    $ sudo apt-get install x11vnc
  3. Apt will ask you to confirm the installation of the dependency packages.

  4. Enter Y to continue the installation.

    After a few seconds to minutes, the VNC server is installed.

  5. Run the VNC server:

    $ x11vnc -display :0

The VNC server will start and you can access it via a VNC...