summaryrefslogtreecommitdiff
path: root/mate-session
diff options
context:
space:
mode:
authorGeorge Vlahavas <[email protected]>2016-10-19 20:35:29 +0300
committerGeorge Vlahavas <[email protected]>2016-10-19 20:35:29 +0300
commit26f09decbcba1f43807a4d0e745b252ed7a3f284 (patch)
tree70df8dd7e5096f15f535a8d890a0518f2bd146e6 /mate-session
parentf3a3f364401ed92426de91ed2d48b8adc8e5e534 (diff)
downloadmate-session-manager-26f09decbcba1f43807a4d0e745b252ed7a3f284.tar.bz2
mate-session-manager-26f09decbcba1f43807a4d0e745b252ed7a3f284.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.
Diffstat (limited to 'mate-session')
-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,