aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm/disallow-guest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lightdm/disallow-guest.patch')
-rw-r--r--testing/lightdm/disallow-guest.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/lightdm/disallow-guest.patch b/testing/lightdm/disallow-guest.patch
index b9ed6b3c28..e443359625 100644
--- a/testing/lightdm/disallow-guest.patch
+++ b/testing/lightdm/disallow-guest.patch
@@ -1,8 +1,8 @@
--- ./data/lightdm.conf.orig
+++ ./data/lightdm.conf
-@@ -63,7 +63,7 @@
- #greeter-session=example-gtk-gnome
- #greeter-hide-users=false
+@@ -75,7 +75,7 @@
+ #greeter-show-manual-login=false
+ #greeter-show-remote-login=true
#user-session=default
-#allow-guest=true
+#allow-guest=false
@@ -11,12 +11,12 @@
#display-setup-script=
--- ./src/lightdm.c.orig
+++ ./src/lightdm.c
-@@ -957,7 +957,7 @@
+@@ -1004,7 +1004,7 @@
if (!config_has_key (config_get_instance (), "SeatDefaults", "start-session"))
config_set_boolean (config_get_instance (), "SeatDefaults", "start-session", TRUE);
if (!config_has_key (config_get_instance (), "SeatDefaults", "allow-guest"))
- config_set_boolean (config_get_instance (), "SeatDefaults", "allow-guest", TRUE);
+ config_set_boolean (config_get_instance (), "SeatDefaults", "allow-guest", FALSE);
- if (!config_has_key (config_get_instance (), "SeatDefaults", "greeter-session"))
- config_set_string (config_get_instance (), "SeatDefaults", "greeter-session", GREETER_SESSION);
- if (!config_has_key (config_get_instance (), "SeatDefaults", "user-session"))
+ if (!config_has_key (config_get_instance (), "SeatDefaults", "greeter-allow-guest"))
+ config_set_boolean (config_get_instance (), "SeatDefaults", "greeter-allow-guest", TRUE);
+ if (!config_has_key (config_get_instance (), "SeatDefaults", "greeter-show-remote-login"))