-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I had the same problem not long ago and I solved it (or at least most of it). The problem with SDDM is that it runs as root and the only solution which I have found is to modify the theme of the login screen in order to remove the reboot and the shutdown buttons from there. As for the KDE session, you can configure a polkit rule which denies these actions for not authorized users (or for all users), and the buttons will disappear (except the suspend button, but currently I have no idea why ... may be there is an error in my rule). Regards, I. Petrov On 10/26/2016 01:47 PM, Josef Wolf wrote:
On Tue, Oct 18, 2016 at 07:15:31PM +0200, Josef Wolf wrote:
Hello,
I have DISPLAYMANAGER_SHUTDOWN="root" set in /etc/sysconfig/displaymanager
But this setting seems to be ignored. Non-privileged users can still shutdown by choosing "shutdown" from their KDE menu.
Why is this?
BTW: this is opensuse Leap 42.1
Maybe it's possible to remove the "reboot" and "shutdown" buttons form the KDE menu and from the desktop?
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJYF++LAAoJEH8sJoKRFRU5L+4P/12vrKJYAYvszGa/8zLqyDyD mnlXzd5UQoR4gkZvyWs3ZLa7yq5eHSYn1pkeWI3Ob9cXxgx8xgZCKoTB+X0PvWj2 jN3uQzgeGROJphSlwlWK0ecg+I3lFWl7yFvZSgeEqFqMz2Prj37FUJkNlR603D9M ikf8XiA44mG4rj6WZYUQWlUTMidWJMc8hcKvmvZmy5LAav1tfSzyZotFoHDkFkFd makk8o9iaM/PsPUj9CQnLHv1Lir1k92Wr7ja5t1mPk8lxxzyVb6AIqdwU4nWALzu F0VXieTXPUTIolBV3SBy6e9dCQi/ddPS44BpyNZdnrhlE21ZO5KPxVGBChr1HZJv qYHhdDdn0FbE3VZ6hEmdFDjS4QhmnJorwwVN+r1z5ok/6OzWrpf1w/jmxZBOSp7A Cft3RZb/o/LAoRVnqsJ1dSKl/GEZqo6HloctVyZoEabygu0UrTw6tz9MP4HaMgb6 PwL3wADJY/JO7O08smjuKDjkgn52GTvL4jB2HXLuZmLlxxAQJSbgNVkxsRPZK1zs v0JEHR/Fyi8X9BVTdxOL9xUanH06WlvwXSs1Ma6y5HmA/KpAQyHta0wIXXSN/erq Qmj7uacEit16fP/WnhGzTPgmmcMlH8yi63rI4T6GTHPjCVbebrNA4/JdhLGWtpKo 7HDKKTiI+Z2WCAHsEWe5 =urK5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org