Manual Desktop installation

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

  1. Update dependencies and install the desktop without recommended packages:
apt update
apt upgrade
apt install --no-install-recommends task-lxde-desktop
  1. Set X11 config to use the right display manager:
echo "/usr/bin/lightdm" > /etc/X11/default-display-manager

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