summaryrefslogtreecommitdiff
path: root/src/lightdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lightdm.c')
-rw-r--r--src/lightdm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lightdm.c b/src/lightdm.c
index 81b91172..72ac9e7c 100644
--- a/src/lightdm.c
+++ b/src/lightdm.c
@@ -812,6 +812,8 @@ main (int argc, char **argv)
}
if (!config_has_key (config_get_instance (), "XDMCPServer", "hostname"))
config_set_string (config_get_instance (), "XDMCPServer", "hostname", g_get_host_name ());
+ if (!config_has_key (config_get_instance (), "LightDM", "logind-check-graphical"))
+ config_set_string (config_get_instance (), "LightDM", "logind-check-graphical", TRUE);
/* Override defaults */
if (log_dir)