summaryrefslogtreecommitdiff
path: root/community/lxdm/default-config.patch
blob: c0a5798408c3dab65d01033419e53cd30ef81e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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