• muhyb@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    25 days ago

    It actually doesn’t crash, it just cannot show the requirement of the root password in a dialog. I think this can be fixed via lengthen the timeout of polkit. Though I can understand why most distros don’t change the default time because of security reasons. It would be nice if they give an option for it, at least for personal use cases. However, completely removing that timeout would be a security problem, even if the only user is you.

    • ReversalHatchery@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      23 days ago

      requirement of the root password? why would it need that, when it normally doesn’t? to clarify, I didn’t mean the “sudo reboot” command, but the reboot button in the KDE application launcher

      • muhyb@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        23 days ago

        systemd always requires root password for poweroff and reboot commands and polkit does that for you normally when using GUI. However that problem occurs when polkit timeout runs out. I don’t know the exact mechanism behind it so I cannot tell exactly when it happens. When it doesn’t do that, those commands don’t run via a GUI. So this is on part systemd and part the distro.