-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shutdown triggers immediate logout (no chance to input shutdown password) #189
Comments
n/a Why? |
Hi @raveit65 . |
Adding support for ConsoleKit2 was |
Fair enough. Closing and fixing locally. |
Hi I would like to reopen this issue because after looking into this the main problem is that I've also realized that canceling the polkit auth dialog will also emit the restart complete signal and will fall back to MDM logout. I know that systemd is magic, but I just don't see how systemd would ask for a password |
Reopening because this is not related to ConsoleKit. I see the same behaviour with systemd on Linux Mint with the MATE Desktop.
Then click on restart or shutdown in the quit MATE dialog, you'll get logged out before the polkit authentication agent had the change to display a password dialog. This is the journald output:
|
shutdown and reboot before actually authenticating the user using polkit (the default openbsd policy) mate-desktop/mate-session-manager#189
anyone? @raveit65 ? |
@mate-desktop/core-team |
I'm on Debian Buster, I have not added any polkit rules, and I don't even need to authenticate before shutdown. But sometimes I also experience "logging out instead of shutting down".
Is it this bug too, or is it a separate issue? |
Expected behaviour
Password authentication dialog (mate-polkit) to shutdown the system in case polkit is configured as such.
Actual behaviour
Immediate logout, without password dialog. The machine does not shutdown though.
Error in logs:
mate-session[76511]: WARNING: Unable to stop system: Authorization is required
That's expected because I couldn't input my password, logout happened immediately.
In order what happens is:
Maybe there's an inhibit missing somewhere..?
Steps to reproduce the behaviour
Add a polkit rule similar to:
Click on the shutdown button.
MATE general version
1.20
Package version
1.20.1
Linux Distribution
OpenBSD -current (amd64)
Link to downstream report of your Distribution
n/a
The text was updated successfully, but these errors were encountered: