summaryrefslogtreecommitdiff
path: root/community/lxdm/default-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/lxdm/default-config.patch')
-rw-r--r--community/lxdm/default-config.patch80
1 files changed, 80 insertions, 0 deletions
diff --git a/community/lxdm/default-config.patch b/community/lxdm/default-config.patch
new file mode 100644
index 000000000..c0a579840
--- /dev/null
+++ b/community/lxdm/default-config.patch
@@ -0,0 +1,80 @@
+diff -Naur lxdm.orig/data/lxdm.conf.in lxdm/data/lxdm.conf.in
+--- lxdm.orig/data/lxdm.conf.in 2013-08-30 17:56:16.097006000 +0200
++++ lxdm/data/lxdm.conf.in 2013-09-04 01:54:12.942117085 +0200
+@@ -23,7 +23,7 @@
+
+ [server]
+ ## arg used to start xserver, not fully function
+-# arg=/usr/bin/X -background vt1
++arg=/usr/bin/X -background vt1
+ # uncomment this if you really want xserver listen to tcp
+ # tcp_listen=1
+ # uncoment this if you want reset the xserver after logou
+@@ -34,7 +34,7 @@
+ gtk_theme=Clearlooks
+
+ ## background of the greeter
+-bg=/usr/share/backgrounds/default.png
++# bg=/usr/share/backgrounds/default.png
+
+ ## if show bottom pane
+ bottom_pane=1
+diff -Naur lxdm.orig/data/lxdm.in lxdm/data/lxdm.in
+--- lxdm.orig/data/lxdm.in 2013-08-30 17:56:16.097006000 +0200
++++ lxdm/data/lxdm.in 2013-09-04 01:57:56.950799946 +0200
+@@ -1,21 +1,13 @@
+ #!/bin/sh
+
+-[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
+-
+-if [ -z "$LANG" -a -e /etc/sysconfig/language ]; then
+- . /etc/sysconfig/language
+- if [ -n "$RC_LANG"]; then
+- LANG=$RC_LANG
+- fi
++if [ -r /etc/profile.d/locale.sh ]; then
++ . /etc/profile.d/locale.sh
+ fi
+
+ if [ -n "$LANG" ]; then
+ export LANG
+ fi
+
+-[ -f /etc/sysconfig/desktop ] && . /etc/sysconfig/desktop
+-[ -f /etc/sysconfig/windowmanager ] && . /etc/sysconfig/windowmanager
+-
+ if [ -n "$DEFAULT_WM" ]; then
+ PREFERRED=$DEFAULT_WM
+ fi
+diff -Naur lxdm.orig/data/Xsession lxdm/data/Xsession
+--- lxdm.orig/data/Xsession 2013-08-30 17:56:16.097006000 +0200
++++ lxdm/data/Xsession 2013-09-04 01:58:19.941348762 +0200
+@@ -9,6 +9,8 @@
+ LXSESSION=/usr/bin/startlxde
+ fi
+
++[ -f /etc/profile ] && . /etc/profile
++[ -f ~/.profile ] && . ~/.profile
+ [ -f /etc/xprofile ] && . /etc/xprofile
+ [ -f ~/.xprofile ] && . ~/.xprofile
+
+diff -Naur lxdm.orig/pam/lxdm lxdm/pam/lxdm
+--- lxdm.orig/pam/lxdm 2013-08-30 17:56:16.100339000 +0200
++++ lxdm/pam/lxdm 2013-08-30 17:58:35.543771605 +0200
+@@ -1,10 +1,7 @@
+ #%PAM-1.0
+-auth substack system-auth
+-auth optional pam_gnome_keyring.so
+-account include system-auth
+-session optional pam_keyinit.so force revoke
+-session include system-auth
+-session required pam_loginuid.so
+-session optional pam_console.so
+-session optional pam_gnome_keyring.so auto_start
+-session optional pam_selinux.so
++auth include system-login
++-auth optional pam_gnome_keyring.so
++account include system-login
++password include system-login
++session include system-login
++-session optional pam_gnome_keyring.so auto_start