summaryrefslogtreecommitdiff
path: root/community/lightdm/lightdm-default-config.patch
blob: 42d49536d5e30c2ee4b4850f2d66146925ccc3c6 (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
diff -rupN lightdm-1.5.1.orig/data/lightdm.conf lightdm-1.5.1/data/lightdm.conf
--- lightdm-1.5.1.orig/data/lightdm.conf	2013-03-06 03:40:10.000000000 +0100
+++ lightdm-1.5.1/data/lightdm.conf	2013-03-12 22:59:22.494743200 +0100
@@ -24,7 +24,7 @@
 #user-authority-in-system-dir=false
 #guest-account-script=guest-account
 #log-directory=/var/log/lightdm
-#run-directory=/var/run/lightdm
+run-directory=/run/lightdm
 #cache-directory=/var/cache/lightdm
 #xsessions-directory=/usr/share/xsessions
 #remote-sessions-directory=/usr/share/lightdm/remote-sessions
@@ -77,7 +77,7 @@
 #user-session=default
 #allow-guest=true
 #guest-session=UNIMPLEMENTED
-#session-wrapper=lightdm-session
+session-wrapper=/etc/lightdm/xsession
 #display-setup-script=
 #greeter-setup-script=
 #session-setup-script=
@@ -86,6 +86,7 @@
 #autologin-user=
 #autologin-user-timeout=0
 #autologin-session=UNIMPLEMENTED
+pam-service=lightdm-autologin
 #exit-on-failure=false

 #
diff -rupN lightdm-1.5.1.orig/data/users.conf lightdm-1.5.1/data/users.conf
--- lightdm-1.5.1.orig/data/users.conf	2013-03-06 03:40:10.000000000 +0100
+++ lightdm-1.5.1/data/users.conf	2013-03-12 22:54:29.398854700 +0100
@@ -8,7 +8,7 @@
 # hidden-users = Users that are not shown to the user
 # hidden-shells = Shells that indicate a user cannot login
 #
-[UserAccounts]
-minimum-uid=500
+[UserList]
+minimum-uid=1000
 hidden-users=nobody nobody4 noaccess
-hidden-shells=/bin/false /usr/sbin/nologin
+hidden-shells=/bin/false /sbin/nologin