From 0ed55475a6ddfa52b41551cb0147500c89a6547a Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Wed, 19 Oct 2016 20:35:29 +0300 Subject: Also look for gdm-binary process In some systems the gdm binary is actually called "gdm-binary", so we need to check for that too. --- mate-session/gsm-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c index 7370153..153e937 100644 --- a/mate-session/gsm-manager.c +++ b/mate-session/gsm-manager.c @@ -1086,7 +1086,7 @@ manager_switch_user (GsmManager *manager) g_error_free (error); } } - else if (process_is_running("gdm") || process_is_running("gdm3")) { + else if (process_is_running("gdm") || process_is_running("gdm3") || process_is_running("gdm-binary")) { /* GDM */ command = g_strdup_printf ("%s %s", GDM_FLEXISERVER_COMMAND, -- cgit v1.2.1