pmaports/temp/lightdm/disallow-guest.patch
Luca Weiss 8c2a95dbe2
unity8: initial packaging (!27)
* Mir starts up and is able to display system settings
* x86_64 only for now, because at least ubuntu-app-test did not build
  on aarch64

Based on PureTryOut's work. Getting it to this stage was a huge effort
(as it shows in the package count: 111(!)). See the merge request for
details.

[skip ci]: this won't finish in CI; ollieparanoid made sure that
           everything builds for x86_64.
2019-02-13 21:47:29 +01:00

22 lines
1,014 B
Diff

--- a/src/lightdm.c
+++ b/src/lightdm.c
@@ -779,7 +779,7 @@
if (!config_has_key (config_get_instance (), "Seat:*", "allow-user-switching"))
config_set_boolean (config_get_instance (), "Seat:*", "allow-user-switching", TRUE);
if (!config_has_key (config_get_instance (), "Seat:*", "allow-guest"))
- config_set_boolean (config_get_instance (), "Seat:*", "allow-guest", TRUE);
+ config_set_boolean (config_get_instance (), "Seat:*", "allow-guest", FALSE);
if (!config_has_key (config_get_instance (), "Seat:*", "greeter-allow-guest"))
config_set_boolean (config_get_instance (), "Seat:*", "greeter-allow-guest", TRUE);
if (!config_has_key (config_get_instance (), "Seat:*", "greeter-show-remote-login"))
--- a/data/lightdm.conf
+++ b/data/lightdm.conf
@@ -112,7 +112,7 @@
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
-#allow-guest=true
+#allow-guest=false
#guest-session=
#session-wrapper=lightdm-session
#greeter-wrapper=