[gdm] daemon: quit Plymouth without transition if only XDMCP is allowed



commit e887b2209a066d8961171af51769b2d521036ae6
Author: Petr Pavlu <petr pavlu suse com>
Date:   Tue Jul 7 11:18:26 2020 +0200

    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

 daemon/gdm-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]