summaryrefslogtreecommitdiffstats
path: root/x11/gdm/files/gdm.in
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-25 23:47:33 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-25 23:47:33 +0800
commit23a790a91be2006be5ecf95d6537c87c71a8089b (patch)
tree85a0c9e1dea2ce9df4cb70fde73fc0cde7cac261 /x11/gdm/files/gdm.in
parentd2609f230eba413cc287138456d08c9351f7886e (diff)
downloadmarcuscom-ports-experimental-trunk.tar.gz
marcuscom-ports-experimental-trunk.tar.zst
marcuscom-ports-experimental-trunk.zip
Remove the locking files under ${gdm_home}/.cache/gnome-shell/runtime-sta*HEADtrunk
so tah gnome-shell will not turn off the screen just after starting gdm. This is a temporary solution, the right one would be to use XDG_RUNTIME_DIR. git-svn-id: svn://creme-brulee.marcuscom.com/ports-experimental/trunk@19570 df743ca5-7f9a-e211-a948-0013205c9059
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