summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lightdm.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/lightdm.service b/lightdm.service
index 9a8d5fbc..5aecd4ec 100644
--- a/lightdm.service
+++ b/lightdm.service
@@ -6,10 +6,14 @@ After=systemd-user-session.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