Description of problem: User switching using "dm-tool switch-to-greeter" leads to failed session scopes: # sudo journalctl -u session-c3.scope -b -- Logs begin at Tue 2017-05-30 08:31:32 CEST, end at Wed 2018-02-14 16:48:16 CET. -- Feb 14 14:11:51 rowling.lan.rwsr-xr-x.de systemd[1]: Started Session c3 of user lightdm. Feb 14 14:11:57 rowling.lan.rwsr-xr-x.de systemd[1]: session-c3.scope: Killing process 3961 (lightdm) wit Feb 14 14:11:57 rowling.lan.rwsr-xr-x.de systemd[1]: session-c3.scope: Killing process 3972 (lightdm-gtk- Feb 14 14:11:57 rowling.lan.rwsr-xr-x.de systemd[1]: Stopping Session c3 of user lightdm. Feb 14 14:13:27 rowling.lan.rwsr-xr-x.de systemd[1]: session-c3.scope: Stopping timed out. Killing. Feb 14 14:13:27 rowling.lan.rwsr-xr-x.de systemd[1]: session-c3.scope: Killing process 3961 (lightdm) wit Feb 14 14:13:27 rowling.lan.rwsr-xr-x.de systemd[1]: session-c3.scope: Killing process 3972 (lightdm-gtk- Feb 14 14:13:27 rowling.lan.rwsr-xr-x.de systemd[1]: Stopped Session c3 of user lightdm. Feb 14 14:13:27 rowling.lan.rwsr-xr-x.de systemd[1]: session-c3.scope: Unit entered failed state. Version-Release number of selected component (if applicable): lightdm-gtk-2.0.3-4 How reproducible: Steps to Reproduce: 1. Login with one user 2. /usr/bin/dm-tool switch-to-greeter 3. Login with another user 4. check systemctl --failed Actual results: Failed state of session-cX.scope Expected results: No failed state Additional info:
Configuring lightdm-gtk using --enable-kill-on-sigterm fixes this.
lightdm-gtk-2.0.4-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-55ed35375d
lightdm-gtk-2.0.4-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-78c76f6d86
lightdm-gtk-2.0.4-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-55ed35375d
lightdm-gtk-2.0.4-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-78c76f6d86
lightdm-gtk-2.0.4-1.fc27 fixes this for me!
lightdm-gtk-2.0.4-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
lightdm-gtk-2.0.4-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.