[Unit] Description=lightdm display manager After=systemd-user-session.service [Service] Type=dbus BusName=org.freedesktop.DisplayManager # A temporary workaround for not having system image post-hooks yet ExecStartPre=/usr/bin/gdk-pixbuf-query-loaders --update-cache # 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=/bin/mkdir -p /var/run/lightdm ExecStartPre=/bin/chown lightdm /var/run/lightdm ExecStart=/usr/sbin/lightdm