Manual Desktop installation

Installation

The following lines will install the LXDE desktop environment for Debian.

Update dependencies and install the desktop without recommended packages:

apt update
apt upgrade
apt install --no-install-recommends task-lxde-desktop

Configuration

Set X11 config to use the right display manager:

echo "/usr/bin/lightdm" > /etc/X11/default-display-manager

Create the file /usr/share/X11/xorg.conf.d/10-imxgpu.conf with following content:

1Section "Device"
2    Identifier "Card1"
3    Driver "fbdev"
4EndSection

On-screen keyboard

If you would like to install an on-screen keyboard, to use with the touchscreen, follow the steps below.

  1. Install the onboard keyboard package:

apt install onboard
  1. Edit /etc/lightdm/lightdm-gtk-greeter.conf, and under [greeter] setction uncomment the keyboard line and set it to this:

keyboard=onboard
  1. If you want to have the keyboard enabled at startup also add this line:

a11y-states=+keyboard