[Unit] Description=lightdm display manager After=systemd-user-session.service [Service] Type=dbus BusName=org.freedesktop.DisplayManager # We should do this during the install, but currently the user only # exists in the target system and not the build environment due to # the staging fillers being primitive. ExecStartPre=chown lightdm /var/run/lightdm ExecStart=/usr/sbin/lightdm