summaryrefslogtreecommitdiffstats
path: root/x11/gdm/files/gdm.in
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm/files/gdm.in')
-rw-r--r--x11/gdm/files/gdm.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/gdm/files/gdm.in b/x11/gdm/files/gdm.in
index 002470d..d2886f2 100644
--- a/x11/gdm/files/gdm.in
+++ b/x11/gdm/files/gdm.in
@@ -34,6 +34,10 @@ gdm_start()
fi
echo "Starting ${name}."
+ # we need to remove locking files under $gdm_home/.cache/gnome-shell/
+ # until XDG_RUNTIME_DIR can be set and used
+ rm -fr %%PREFIX%%/etc/gdm/home/.cache/gnome-shell/runtime-state*
+
# make sure there is no pam configuration for gdm service in base system
if ! checkyesno gdm_preserve_base_pam_conf && [ -f /etc/pam.d/gdm ]; then
cp -p /etc/pam.d/gdm /etc/pam.d/gdm_disabled