From 8a5cc999888fa49f2ae74aba9db0ed108b787fd2 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Fri, 17 Jul 2015 21:35:22 +0300 Subject: [mdm] 3 versiuni compilabile adaugate, insa fara pam --- .../mdm/files/gdm-2.20.10-custom-session.patch | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 mate-base/mdm/files/gdm-2.20.10-custom-session.patch (limited to 'mate-base/mdm/files/gdm-2.20.10-custom-session.patch') diff --git a/mate-base/mdm/files/gdm-2.20.10-custom-session.patch b/mate-base/mdm/files/gdm-2.20.10-custom-session.patch new file mode 100644 index 00000000..b1f70c00 --- /dev/null +++ b/mate-base/mdm/files/gdm-2.20.10-custom-session.patch @@ -0,0 +1,42 @@ +--- + fix custom sessions (see bug #216984, work done by Gilles, I'm just committing) + + config/Xsession.in | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +Index: b/config/Xsession.in +=================================================================== +--- a/config/Xsession.in ++++ b/config/Xsession.in +@@ -177,15 +177,6 @@ if [ -n "$GDM_LANG" ]; then + fi + fi + +-# run all system xinitrc shell scripts. +-if [ -d /etc/X11/xinit/xinitrc.d ]; then +- for i in /etc/X11/xinit/xinitrc.d/* ; do +- if [ -x "$i" ]; then +- . "$i" +- fi +- done +-fi +- + if [ "x$command" = "xcustom" ] ; then + if [ -x "$HOME/.xsession" ]; then + command="$HOME/.xsession" +@@ -213,6 +204,15 @@ if [ "x$command" = "xdefault" ] ; then + fi + fi + ++# run all system xinitrc shell scripts. ++if [ -d /etc/X11/xinit/xinitrc.d ]; then ++ for i in /etc/X11/xinit/xinitrc.d/* ; do ++ if [ -x "$i" ]; then ++ . "$i" ++ fi ++ done ++fi ++ + # add ssh-agent if found + sshagent="`gdmwhich ssh-agent`" + if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then -- cgit v1.2.3