From 02db4640308a736c761f1c8c14e4f9348a06f6d8 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Wed, 27 Oct 2021 11:11:17 -0700 Subject: fix(wpcarro/emcas): Debug "Logout" command gLinux doesn't use `lightdm.service` (you can confirm this by seeing if `lightdm` is listed in the units reported by calling `systemctl`). I found `gdm` (i.e. Gnome Display Manager), and it appears that calling... ```shell systemctl restart gdm.service ``` ...does the trick. Change-Id: Iff47d20db57ce11138f9af943fe64cc18068f5bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/4798 Tested-by: BuildkiteCI Reviewed-by: wpcarro Autosubmit: wpcarro --- users/wpcarro/emacs/.emacs.d/wpc/window-manager.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/wpcarro') diff --git a/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el b/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el index 87ccba1670b3..4b9735b961ab 100644 --- a/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el +++ b/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el @@ -224,7 +224,7 @@ Ivy is used to capture the user's input." ("Logout" . (lambda () (let ((default-directory "/sudo::")) - (shell-command "systemctl stop lightdm")))) + (shell-command "systemctl restart gdm.service")))) ("Suspend" . (lambda () (shell-command "systemctl suspend"))) -- cgit 1.4.1