summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Pavlu <petr.pavlu@suse.com>2020-07-07 11:18:26 +0200
committerRay Strode <rstrode@redhat.com>2020-09-09 09:35:05 -0400
commite887b2209a066d8961171af51769b2d521036ae6 (patch)
tree54a9c435c923200210ca33014c6781f60f6a0955
parentbb42414ff1fbf71b8cca0e540aab1b779e9b6dda (diff)
downloadgdm-e887b2209a066d8961171af51769b2d521036ae6.tar.gz
daemon: quit Plymouth without transition if only XDMCP is allowed
When GDM is configured as a standalone XDMCP server, the manager quits Plymouth by running 'plymouth quit --retain-splash'. This is not ideal because there is no transition to a local X server. The terminal can be then left from the Plymouth run in the graphics mode with no getty prompt and also disallowing switching to another VT. The patch fixes the problem by instead running 'plymouth quit' which always switches the terminal to the text mode. https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/101
-rw-r--r--daemon/gdm-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 459ccf6b..e828544b 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -2516,7 +2516,7 @@ gdm_manager_start (GdmManager *manager)
#ifdef WITH_PLYMOUTH
/* Quit plymouth if xdmcp is the only display */
if (!manager->priv->show_local_greeter && manager->priv->plymouth_is_running) {
- plymouth_quit_with_transition ();
+ plymouth_quit_without_transition ();
manager->priv->plymouth_is_running = FALSE;
}
#endif