I think you'll need to enable logind debug and reboot or restart
systemd-logind:

$ sudo systemctl edit systemd-logind

in the editor that opens, put:

[Service]
Environment=SYSTEMD_LOG_LEVEL=debug

then save the file, and reboot (or restart systemd-logind).

After the number of sessions have grown for a while, re-capture the
journalctl logs for logind and attach here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863228

Title:
  loginctl list-sessions shows ghost sessions that are never completely
  closed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1863228/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to