In some cases, when a logged out user still has a check mark behind his name, running the 'loginctl list-users' command seems to trigger the disappearance of the check mark. It looks like the session menu (session indicator) is not always notified when a user is no longer logged in.
Scenario:
* User 'administrator' is logged out and user 'duke' is logged in, but both users have a check mark behind their names in the session menu
* Run 'loginctl list-users' in the console
duke@desktop-pc:~$ loginctl list-users
UID USER
1001 duke
1 users listed.
* In the session menu the check mark behind logged out user 'administrator' has now disappeared.
In some cases, when a logged out user still has a check mark behind his name, running the 'loginctl list-users' command seems to trigger the disappearance of the check mark. It looks like the session menu (session indicator) is not always notified when a user is no longer logged in.
Scenario:
* User 'administrator' is logged out and user 'duke' is logged in, but both users have a check mark behind their names in the session menu
* Run 'loginctl list-users' in the console
duke@desktop-pc:~$ loginctl list-users
UID USER
1001 duke
1 users listed.
* In the session menu the check mark behind logged out user 'administrator' has now disappeared.