[opensuse-kde3] root permission needed to shut down
When KDM was dropped from TW, I switched many of my TW installations running Plasma to kdebase3-kdm, since all other other login managers are hopelessly feature deficient by comparison. This has worked fine until upgrading to 20200611. Now after logging out of a Plasma session, the greeter requires permission to select turn off computer. Is this only happening to me? -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 06/15/2020 12:33 AM, Felix Miata wrote:
When KDM was dropped from TW, I switched many of my TW installations running Plasma to kdebase3-kdm, since all other other login managers are hopelessly feature deficient by comparison. This has worked fine until upgrading to 20200611. Now after logging out of a Plasma session, the greeter requires permission to select turn off computer. Is this only happening to me?
No, That means /opt/kde3/share/config/kdm/kdmrc is configured to require root password to poweroff or reboot. I found that in 15.2. Look and make sure you have AllowShutdown=All You may need to restart kdm for the change to be seen. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
David C. Rankin composed on 2020-06-15 01:51 (UTC-0500):
Felix Miata wrote:
When KDM was dropped from TW, I switched many of my TW installations running Plasma to kdebase3-kdm, since all other other login managers are hopelessly feature deficient by comparison. This has worked fine until upgrading to 20200611. Now after logging out of a Plasma session, the greeter requires permission to select turn off computer. Is this only happening to me?
No,
That means /opt/kde3/share/config/kdm/kdmrc is configured to require root password to poweroff or reboot. I found that in 15.2. Look and make sure you have
AllowShutdown=All
You may need to restart kdm for the change to be seen.
First found was commented using =root. I uncommented and changed to =All. It didn't help even after reboot. Changing the later one did fix it. :-) -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 06/15/2020 02:35 AM, Felix Miata wrote:
AllowShutdown=All You may need to restart kdm for the change to be seen. First found was commented using =root. I uncommented and changed to =All. It didn't help even after reboot. Changing the later one did fix it. :-)
Crap! I just tried as well and I'm still prompted for the damn root password to shut down -- what the hell could this be? Is it a nanny apparmor thing? I'll try the regular list. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 15/06/2020 09.48, David C. Rankin wrote:
On 06/15/2020 02:35 AM, Felix Miata wrote:
AllowShutdown=All You may need to restart kdm for the change to be seen. First found was commented using =root. I uncommented and changed to =All. It didn't help even after reboot. Changing the later one did fix it. :-)
Crap!
I just tried as well and I'm still prompted for the damn root password to shut down -- what the hell could this be? Is it a nanny apparmor thing? I'll try the regular list.
Did you see: Re: [opensuse-kde] SDDM does not reboot the computer anymore -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 06/15/2020 03:38 AM, Carlos E. R. wrote:
On 15/06/2020 09.48, David C. Rankin wrote:
On 06/15/2020 02:35 AM, Felix Miata wrote:
AllowShutdown=All You may need to restart kdm for the change to be seen. First found was commented using =root. I uncommented and changed to =All. It didn't help even after reboot. Changing the later one did fix it. :-)
Crap!
I just tried as well and I'm still prompted for the damn root password to shut down -- what the hell could this be? Is it a nanny apparmor thing? I'll try the regular list.
Did you see:
Re: [opensuse-kde] SDDM does not reboot the computer anymore
I filed a bug for it: https://bugzilla.suse.com/show_bug.cgi?id=1172914 There was a similar bug reopened recently about others not being able to suspend without giving root password. I included that link in this report as in that case they CAN shutdown/reboot just fine, but cannot suspend without the root password. My guess is the smartest guy in the room was reading about either systemd, wayland or apparmor and found a really neat option they wanted to try and build it to give enterprise customers peace of mind that only root can shutdown -- without thinking of the unintended consequences on regular users.... -- David C. Rankin, J.D.,P.E.
On 06/15/2020 03:59 AM, David C. Rankin wrote:
I filed a bug for it:
Add what you are seeing to that bug report. Many squeaky wheels get the oil first :p -- David C. Rankin, J.D.,P.E.
David C. Rankin composed on 2020-06-15 03:59 (UTC-0500):
Re: [opensuse-kde] SDDM does not reboot the computer anymore
I filed a bug for it:
And for openSUSE users there is: https://bugzilla.opensuse.org/show_bug.cgi?id=1172914 -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 06/15/2020 05:53 AM, Felix Miata wrote:
David C. Rankin composed on 2020-06-15 03:59 (UTC-0500):
Re: [opensuse-kde] SDDM does not reboot the computer anymore
I filed a bug for it:
And for openSUSE users there is:
I don't know why the site comes up like that. I just had the 'change account password thing' after using my original password up to the bug before this one. The odd thing about it was after entering my NEW password, all bugzilla showed was Novell products and I had to click "Other" to even find openSUSE distribution??? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
Felix Miata composed on 2020-06-15 01:33 (UTC-0400):
When KDM was dropped from TW, I switched many of my TW installations running Plasma to kdebase3-kdm, since all other other login managers are hopelessly feature deficient by comparison. This has worked fine until upgrading to 20200611. Now after logging out of a Plasma session, the greeter requires permission to select turn off computer. Is this only happening to me?
David C. Rankin composed on 2020-06-23 04:36 (UTC-0400):
Felix Miata wrote:
Unlike with Plasma in TW, selecting shutdown from the KDM3 greeter works as expected. :-)
We may need to compare kdmrc files then. Originally shutdown from kde on 15.2 prompts for root password to be entered. I don't know what I did, but now I'm just dumped to a terminal (I login and then poweroff)
These kdmrc files are from 15.2/KDE3 host hp945 updated several hours ago, last updated March 31, originally created as a zypper dup from 42.2: http://fm.no-ip.com/Tmp/SUSE/KDE3/ I've removed login names from them, which is why timestamps are current, and dates have been prepended to the filenames. Shutdown/reboot behavior from KDM on this installation seems normal, other than a pause first from a popup on logout that doesn't stay up long enough for me to copy word for word, about sound server fatal error can't create dcop directory. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 06/23/2020 06:41 AM, Felix Miata wrote:
These kdmrc files are from 15.2/KDE3 host hp945 updated several hours ago, last updated March 31, originally created as a zypper dup from 42.2:
Ok, there is very little difference. You have TerminateServer=true, I've tried it both ways and it doesn't effect my shutdown problem. (though probably better to leave set to 'true' to prevent against memory leaks between sessions. When I rt-click and "Log out David" then choose "Turn Off Computer", I am dumped to a terminal. I then log in and systemctl poweroff (in the beginning I was presented with a "Root Password" dialog - but that has disappeared) The differences in our current kdmrc files isn't much. I pulled the HaltCmd and RebootCmd from 42.3 (which was duped to 15.0) and I have tried those settings with the default and with them specifically set. The actual differences are: $ diff <(noc 20200623kdmrc-s152-hp945OK) <(noc ../mine/kdmrc) 9a10,11
HaltCmd=/sbin/halt -h now RebootCmd=/sbin/reboot 12d13 < AllowRootLogin=true 17d17 < LogoArea=Clock 19,27d18 < AntiAliasing=true < GreetFont=sans-serif,24,5,0,50,0 < StdFont=sans-serif,16,5,0,50,0 < FailFont=sans-serif,18,5,0,75,0 < NumLock=On < UserCompletion=true < ShowUsers=Selected < SelectedUsers=redacted < HiddenUsers= 32,33c23,25 < ForgingSeed=1478002518 < UseTheme=false
ForgingSeed=1590148800 UseTheme=true Theme=/opt/kde3/share/apps/kdm/themes/kdedigital_kdm 37,39c29 < AllowNullPasswd=true < NoPassEnable=true < NoPassUsers=*
AllowShutdown=All 47d36 < TerminateServer=true
I'm beginning to suspect the accidental mixing of TDE/KDE by whoever messed with kdelibs3 may have been broader than originally thought. I'll update this thread after more testing if I find something interesting. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 06/23/2020 04:07 PM, David C. Rankin wrote:
I'm beginning to suspect the accidental mixing of TDE/KDE by whoever messed with kdelibs3 may have been broader than originally thought. I'll update this thread after more testing if I find something interesting.
After full update today, shutdown works without prompting for root password. It still dumps to a terminal, but then the openSUSE wayland screen starts and shutdown continues without requiring any further user interaction! Yes! No "Embedded Advanced Text Editor (katepart)" is still broken (still has X-TDE as the service type), but things are better. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 06/23/2020 09:32 PM, David C. Rankin wrote:
On 06/23/2020 04:07 PM, David C. Rankin wrote:
I'm beginning to suspect the accidental mixing of TDE/KDE by whoever messed with kdelibs3 may have been broader than originally thought. I'll update this thread after more testing if I find something interesting.
After full update today, shutdown works without prompting for root password. It still dumps to a terminal, but then the openSUSE wayland screen starts and shutdown continues without requiring any further user interaction! Yes!
No "Embedded Advanced Text Editor (katepart)" is still broken (still has X-TDE as the service type), but things are better.
Felix, I have written that bug: https://bugzilla.opensuse.org/show_bug.cgi?id=1172914 can be closed. It is working fine now. If you are still seeing problems with 15.2 (or other version), then add a comment to the bug so they know there are other platfoms affected. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
David C. Rankin
-
Felix Miata