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 <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
parent
4977ffacb0
commit
02db464030
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ Ivy is used to capture the user's input."
|
||||||
("Logout" .
|
("Logout" .
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(let ((default-directory "/sudo::"))
|
(let ((default-directory "/sudo::"))
|
||||||
(shell-command "systemctl stop lightdm"))))
|
(shell-command "systemctl restart gdm.service"))))
|
||||||
("Suspend" .
|
("Suspend" .
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(shell-command "systemctl suspend")))
|
(shell-command "systemctl suspend")))
|
||||||
|
|
Loading…
Reference in a new issue