canonical / lightdm

Display Manager
GNU General Public License v3.0
827 stars 138 forks source link

Erroneous message at Power Off button - "Other users are logged in" #271

Open D3vil0p3r opened 2 years ago

D3vil0p3r commented 2 years ago

Hello, I'm testing LightDM latest version (1.32.0) on Arch Linux environment (kernel 5.19.12-arch1-1) and after its installation, and enabling lightdm service, when the user clicks the first time the Power Off button, it receives the following erroneous message "Other users are logged in" and show the current user. It is erroneous because the current user is not belonging to "other users" and the expected behavior should be not showing that message as occurs with other Display Managers.

In details the steps to reproduce it have been:

At this point, when we log in inside the desktop environment, and the user clicks on the power off icon on the top-right of the screen and then clicks on Power Off... or on Restart..., it gets the following popup: image

If it clicks Cancel, and then it clicks again on the power off icon on the top-right of the screen and then clicks on Power Off... or on Restart..., it gets the correct popup: image

If the user reboots the machine, this issue continues to be produced. It is independent from the greeter used.