summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Vlahavas <[email protected]>2016-10-19 20:35:29 +0300
committermonsta <[email protected]>2017-01-20 13:54:36 +0300
commit0ed55475a6ddfa52b41551cb0147500c89a6547a (patch)
tree6b7b08c2b6d379c46dfeea1350d80ab5abb5393e
parent0fcdc12fd7c7b77402867027c2a48d3eb8f6e788 (diff)
downloadmate-session-manager-0ed55475a6ddfa52b41551cb0147500c89a6547a.tar.bz2
mate-session-manager-0ed55475a6ddfa52b41551cb0147500c89a6547a.tar.xz
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.
-rw-r--r--mate-session/gsm-manager.c2
1 files changed, 1 insertions, 1 deletions
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,