I have setted that only root can poweroff/restart the system, but the system ignores that option KDE Version 4.12.3 Reproducible: Always
There are 2 ways to shutdown/restart the machine as non-root: * the traditional KDE way, through KDM (still the default when KDM is in use) and * the new way, through systemd (used by KDE when you aren't using KDM, and by pretty much everything else in the distro). They use different policy settings to decide who is allowed to do it. KDM (which runs as root, which is why it can perform the shutdown/restart in the first place) uses the setting from KDE System Settings. On the other hand, systemd uses PolicyKit. The setting in KDE's System Settings only affects KDM, not systemd.
What is affected when someone click onto Exit->Poweroff?
According to https://bugzilla.redhat.com/show_bug.cgi?id=1085073#c3 it is a bug
Created attachment 85992 [details] settings screenshot
Downstream bugreport https://bugzilla.redhat.com/show_bug.cgi?id=1085073
Christoph Feck are you sure about the component change? See the screenshot
I am not sure, but ksmserver maintainers (if there are any) will better understand the shutdown procedure and can reassign accordingly.
I have the same problem on kde-plasma-desktop 5:92 in Debian Stretch, with both SDDM and LightDM so it is supposed to respect polkit settings according to this comment [1] on RedHat's bug tracker. But KDE Plasma doesn't respect the "only root can reboot" policy My polkit settings: cat /etc/polkit-1/localauthority/50-local.d/10-disable-shutdown.pkla [Disable shutdown/whatever] Identity=unix-user:* Action=org.freedesktop.login1.power-off;org.freedesktop.login1.power-off-multiple-sessions;org.freedesktop.login1.reboot;org.freedesktop.login1.reboot-multiple-sessions;org.freedesktop.login1.suspend;org.freedesktop.login1.suspend-multiple-sessions;org.freedesktop.login1.hibernate;org.freedesktop.login1.hibernate-multiple-sessions ResultAny=no ResultInactive=no ResultActive=no systemctl restart polkit I have LXDE and Mate on the same computer, both use LightDM and the previous polkit settings works for both DEs (restart/shutdown/suspend/hibernate buttons are hidden as soon as I added these settings) 1. https://bugzilla.redhat.com/show_bug.cgi?id=1085073#c3
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Hello, The thin client server I was using at work with this config has been commissioned a while ago. The pople who were using it either left or installed their own Linux environment for work And I'm not an everyday KDE user on my main laptop. So I don't have any system right now on which I can test on. I might throw up a VM for testing if times allows that, but I might not have time to do so any soon, so the best I can right is to ask around KDE users I know can reproduce the same bug, and give them the link to this bug report.
(In reply to DaveNull42 from comment #11) > Hello, > > The thin client server I was using at work with this config has been > commissioned a while ago. The people who were using it either left or > installed their own Linux environment for work > EDIT: has been decommissioned*
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!