[packages/slim] Use login shell to start the session
jajcus
jajcus at pld-linux.org
Thu Dec 12 13:01:57 CET 2013
commit f2c67e074230d3052d587eaeafe4267f061c5b44
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Thu Dec 12 10:31:06 2013 +0100
Use login shell to start the session
Otherwise user profile wont' be loaded
slim-configuration.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/slim-configuration.patch b/slim-configuration.patch
index 7c2335b..02af301 100644
--- a/slim-configuration.patch
+++ b/slim-configuration.patch
@@ -14,7 +14,7 @@
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
-login_cmd exec /bin/bash -login ~/.xinitrc %session
-+login_cmd if [ -r ~/.xinitrc ]; then exec /bin/sh - ~/.xinitrc %session; else exec /etc/X11/xinit/xinitrc %session; fi
++login_cmd if [ -r ~/.xinitrc ]; then exec $SHELL -l ~/.xinitrc %session; else exec $SHELL -l /etc/X11/xinit/xinitrc %session; fi
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/slim.git/commitdiff/aab494e617a061435059f3ea7b5e6a8d715631e7
More information about the pld-cvs-commit
mailing list