:: Re: [DNG] why is polkit needed?
Startseite
Nachricht löschen
Nachricht beantworten
Autor: fsmithred
Datum:  
To: dng
Betreff: Re: [DNG] why is polkit needed?
On 2/24/20 7:21 AM, Daniel Abrecht via Dng wrote:

> One last, only partially related thing. Does anyone know how to get polkit
> agents working properly? If I start `lxqt-policykit-agent`, for example,
> pkexec won't work. If I start it as `su -c 'lxqt-policykit-agent'`, it
> does, but I'm pretty sure that's not the right way to do this. I'm
> currently on devuan beowulf, but I think debian users may have similar
> problems, I think systemd/logind people may have broken something in
> polkit...
>
>
> Regards,
> Daniel Abrecht
>

I have a beowulf lxqt in a VM, and synaptic-pkexec works correctly.

Here's all the lxqt, policykit and polkit stuff that's running:


user      2438  2429  0 10:09 ?        00:00:00 lxqt-session
root      2479     1  0 10:09 ?        00:00:00
/usr/lib/policykit-1/polkitd --no-debug
user      2491  2438  0 10:09 ?        00:00:00 /usr/bin/pcmanfm-qt
--desktop --profile=lxqt
user      2492  2438  0 10:09 ?        00:00:00 /usr/bin/lxqt-globalkeysd
user      2493  2438  0 10:09 ?        00:00:00 /usr/bin/lxqt-notificationd
user      2494  2438  1 10:09 ?        00:00:03 /usr/bin/lxqt-panel
user      2495  2438  0 10:09 ?        00:00:00 /usr/bin/lxqt-policykit-agent
user      2498  2438  0 10:09 ?        00:00:00 /usr/bin/lxqt-runner
user      2669  2438  0 10:09 ?        00:00:00 /usr/bin/lxqt-powermanagement



Here's a list of all the kit-related packages that are installed.

ii  elogind                               241.3-1
    amd64        user, seat and session management daemon
ii  gir1.2-polkit-1.0                     0.105-25+devuan7~beowulf1
    amd64        GObject introspection data for PolicyKit
ii  libelogind0:amd64                     241.3-1
    amd64        user, seat and session management library
ii  libpam-cap:amd64                      1:2.25-2
    amd64        POSIX 1003.1e capabilities (PAM module)
ii  libpam-elogind:amd64                  241.3-1
    amd64        elogind PAM module
ii  libpam-gnome-keyring:amd64            3.28.2-5
    amd64        PAM module to unlock the GNOME keyring upon login
ii  libpam-modules:amd64                  1.3.1-5
    amd64        Pluggable Authentication Modules for PAM
ii  libpam-modules-bin                    1.3.1-5
    amd64        Pluggable Authentication Modules for PAM - helper binaries
ii  libpam-runtime                        1.3.1-5
    all          Runtime support for the PAM library
ii  libpam0g:amd64                        1.3.1-5
    amd64        Pluggable Authentication Modules library
ii  libpolkit-agent-1-0:amd64             0.105-25+devuan7~beowulf1
    amd64        PolicyKit Authentication Agent API
ii  libpolkit-backend-1-0                 0.105-25+devuan7~beowulf1
    all          PolicyKit Authorization API
ii  libpolkit-backend-elogind-1-0:amd64   0.105-25+devuan7~beowulf1
    amd64        PolicyKit backend API
ii  libpolkit-gobject-1-0                 0.105-25+devuan7~beowulf1
    all          PolicyKit Authorization API
ii  libpolkit-gobject-elogind-1-0:amd64   0.105-25+devuan7~beowulf1
    amd64        PolicyKit Authorization API
ii  libpolkit-qt5-1-1:amd64               0.112.0-6
    amd64        PolicyKit-qt5-1 library
ii  lxqt-policykit                        0.14.1-1
    amd64        LXQt authentication agent for PolicyKit
ii  lxqt-policykit-l10n                   0.14.1-1
    all          Language package for lxqt-policykit
ii  policykit-1                           0.105-25+devuan7~beowulf1
    amd64        framework for managing administrative policies and privileges


HTH,
fsmithred