Search by Tags

Toradex Debian Desktop Environment

 

Your progress

 

Overview

Toradex provides an image with a Debian-based experience. It consists of a Debian container with the LXDE desktop environment.

Warning: Toradex does not guarantee that the X.org + LXDE container will be maintained over time for production-ready usage. Keep in mind that a full featured desktop environment is hardly ever a requirement for an embedded system, and thus it is meant as a technology showcase and a nice, user-friendly introduction to what you can achieve with Torizon.

In this module you will:

  • Get used to our Debian Desktop Environment
Typographic Conventions

Prerequisites

For this Getting Started Guide:

  • Development computer with Windows 10 Pro / Enterprise / Education.
  • Successfully completed the previous lesson from this guide.

Note: Carefully read this module's cover page clicking on "Module 2: First Steps with Torizon" on the left menu bar before starting this lesson.

Step 1

Pull Toradex's Debian image:

docker pull torizon/debian-lxde:buster

Step 2

Instantiate and run a new container:

docker run -d -it --privileged -v /var/run/dbus:/var/run/dbus -v /dev:/dev torizon/debian-lxde:buster startx

The flags on this command give the container the necessary permissions to access hardware features from the host. After running it, a graphical interface comes up on the display.


  • Debian Desktop Environment

    Debian Desktop Environment

Note: If you see a Session PID Error when starting the graphical interface, just click OK and ignore the message Warning: This container is experimental and may not be supported in the future

Step 3

Check out the graphical interface. Open the terminal, located on Menu > System Tools > LXTerminal. Open the file system, web browser, etc.

Step 4

On the terminal, run apt install commands, after running apt update. For instance:

apt update
apt install vim

FAQ

What do the docker run flags do?
Are all packages from Debian available on the board?
What is the difference between a Docker image and container?