You are not logged in.

#1 2021-03-05 16:11:58

dezire
Member
Registered: 2020-09-30
Posts: 45

[SOLVED] Polkit problem

When I run xmonad etcher shows no polkit authentication agent found but when I use xfce it works fine... GParted doesn't even run in xmonad unless I launch it using sudo...

[dezire@Dezire-PC ~]$ paru polkit

 1 extra/polkit 0.118-1 [402.09KB 1.84MB] [Installed]
    Application development toolkit for controlling system-wide privileges
 2 extra/polkit-kde-agent 5.21.2-1 [62.32KB 240.84KB] (plasma)
    Daemon providing a polkit authentication UI for KDE
 3 extra/polkit-qt5 0.113.0-2 [72.63KB 294.37KB] [Installed]
    A library that allows developers to access PolicyKit API with a nice Qt-style API
 4 community/deepin-polkit-agent 5.3.0.3-1 [75.04KB 242.21KB] (deepin)
    Deepin Polkit Agent
 5 community/deepin-polkit-agent-ext-gnomekeyring 0.1.0-2 [13.07KB 30.13KB] (deepin)
    GNOME keyring extension for dde-polkit-agent
 6 community/mate-polkit 1.24.0-1 [64.95KB 273.20KB] (mate)
    PolicyKit integration for the MATE desktop
 7 community/pantheon-polkit-agent 1.0.3-1 [41.11KB 166.08KB] (pantheon)
    Pantheon Polkit Agent
 8 community/polkit-gnome 0.105-5 [65.11KB 336.79KB] [Installed]
    Legacy polkit authentication agent for GNOME
 9 aur/desktop-privileges 0.5-3 [+62 ~0.49]
    A collection of polkit rules to manage automounting of removable media, suspend and hibernate actions and CPU frequency settings.
10 aur/lxpolkit-git 1:0.1.0.r34.g55fc5d4-4 [+32 ~0.30]
    Simple polkit authentication agent for LXDE
11 aur/polkit-explorer 12.065314e-2 [+30 ~0.00] [Out-of-date: 2020-10-23]
    Present PolicyKit information in a human-readable form.
12 aur/xfce-polkit-git 0.3.r1.g89bab1e-1 [+22 ~0.46]
    A simple PolicyKit authentication agent for XFCE
13 aur/polkit-kde 0.99.0-6 [+20 ~0.00] [Orphaned]
    Daemon providing a polkit authentication UI for KDE
14 aur/gksu-polkit-git 2:0.0.2.r3.gd7e3160-1 [+15 ~0.04]
    Replacement for gksu that uses PolicyKit
15 aur/xfce-polkit 0.3-1 [+14 ~0.50]
    A simple PolicyKit authentication agent for XFCE
16 aur/polkit-qt4 0.112.0+git20180107-1 [+11 ~0.22]
    A library that allows developers to access PolicyKit API with a nice Qt-style API
17 aur/polkit-consolekit 0.115-1 [+9 ~0.29] [Out-of-date: 2021-01-23] [Orphaned]
    PolicyKit with ConsoleKit support for non-systemd systems
18 aur/kcm-polkit-kde-git 1:160.9ad726f-1 [+6 ~0.13]
    Configuration for Policy Kit
19 aur/polkit-kde-kcmodules-frameworks 20170120.g8d55dee-1 [+6 ~0.00] [Orphaned]
    Set of configuration modules which allows administrator to change polkit settings.
20 aur/polkit-kde-agent-git 5.21.80_r484.gd7ab7df-1 [+5 ~0.04]
    Daemon providing a polkit authentication UI for KDE
21 aur/polkit-gnome-gtk2 0.102-1 [+4 ~0.00]
    PolicyKit integration for the GNOME desktop
22 aur/ts-polkitagent 1.4-0 [+4 ~0.53]
    Polkit Agent for theShell
23 aur/polkit-git 1:0.115.r7.g42227b5-1 [+4 ~0.00]
    Application development toolkit for controlling system-wide privileges
24 aur/polkit-no-script-git 0.113+35+g5bcb1c1-1 [+4 ~0.48]
    A polkit-fork with no javascript dependency
25 aur/pantheon-polkit-agent-git 1.0.3.r33.c903ea7-1 [+3 ~0.02]
    Pantheon Polkit Agent
26 aur/mate-polkit-gtk2 1.14.0-2 [+2 ~0.00]
    PolicyKit integration for the MATE desktop (GTK2 version)
27 aur/polkit-efl-git 0.1.0.r8.g6417565-1 [+2 ~0.00]
    Enlightenment polkit authentication agent using EFL - development version.
28 aur/polkit-dumb-agent-git r22.c6424b6-1 [+2 ~0.58]
    A polkit agent in 145 lines of code using Qt and libsystemd, because polkit sucks.
29 aur/pkcreate 0.8.0-1 [+1 ~0.00]
    create actions for polkit
30 aur/td-polkitagent beta3-1 [+1 ~0.24]
    Desktop Environment built on Qt
31 aur/polkit-qt5-git v0.112.0.r2.g3882e11-1 [+0 ~0.00]
    A library that allows developers to access PolicyKit API with a nice Qt-style API
32 aur/gconf-nopolkit 3.2.6-5 [+0 ~0.00]
    A configuration database system without polkit dependency
33 aur/polkit-pkla-compat 0.1-2 [+0 ~0.00]
    Rules for polkit to add compatibility with pklocalauthority
34 aur/desktop-privileges-nogroups 1.0-1 [+0 ~0.00]
    A collection of polkit rules to manage automounting of removable media, suspend and hibernate actions and CPU frequency settings.
35 aur/pcmanfm-gtk3-root 1.2.5-1 [+0 ~0.00] [Orphaned]
    PCManFM GTK3 with admin rights with polkit
36 aur/polkit-gnome-git 0.105.r66.ga0763a2-1 [+0 ~0.00]
    Legacy polkit authentication agent for GNOME
37 aur/polkit-duktape 0.118-3 [+0 ~0.00]
    polkit with duktape as the javascript engine
38 aur/deepin-polkit-agent-ext-gnomekeyring-git 5.0.4.r0.gc437a27-1 [+0 ~0.00]
    GNOME keyring extension for dde-polkit-agent
39 aur/deepin-polkit-agent-git 5.3.0.3.r4.g0f12520-1 [+0 ~0.00]
    Deepin Polkit Agent
:: Packages to install (eg: 1 2 3, 1-3):

This it what it looks like...

Last edited by dezire (2021-03-08 08:37:00)

Offline

#2 2021-03-05 16:19:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,766

Re: [SOLVED] Polkit problem

You need to start a polkit agent, doesn't really matter which one you pick but you need to explicitly start it while starting xmonad: https://wiki.archlinux.org/index.php/Po … ion_agents https://wiki.archlinux.org/index.php/Autostarting

Offline

#3 2021-03-05 17:46:37

manyroads
Member
From: off the edge...
Registered: 2019-12-09
Posts: 16
Website

Re: [SOLVED] Polkit problem

In case you are unclear on what the start for a polkit looks like... here's my favorite (lxpolit).  Just place this  (or your favorite) in a window manager autostart function.

# Polkit #####################
lxpolkit &

Last edited by manyroads (2021-03-05 17:47:14)


Pax vobiscum,
Mark Rabideau - http://many-roads.com
spectrwm, i3, bspwm, dwm  ~ Reg. Linux User #449130
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

Offline

#4 2021-03-06 09:27:44

dezire
Member
Registered: 2020-09-30
Posts: 45

Re: [SOLVED] Polkit problem

manyroads wrote:

In case you are unclear on what the start for a polkit looks like... here's my favorite (lxpolit).  Just place this  (or your favorite) in a window manager autostart function.

# Polkit #####################
lxpolkit &

should i put it in xinit file?

Offline

#5 2021-03-06 09:40:56

dezire
Member
Registered: 2020-09-30
Posts: 45

Re: [SOLVED] Polkit problem

dezire wrote:
manyroads wrote:

In case you are unclear on what the start for a polkit looks like... here's my favorite (lxpolit).  Just place this  (or your favorite) in a window manager autostart function.

# Polkit #####################
lxpolkit &

should i put it in xinit file? and there are 3 of them installed as i mentioned above... which one should i add and either way pls also tell me the command to start it if possible

Offline

#6 2021-03-06 10:16:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,766

Re: [SOLVED] Polkit problem

Please don't bump your post and don't double post if you want to amend an existing post, there's an edit button to add in additional adjustments. There's also no need to explicitly quote people directly above you.

Yes you can put it into your .xinitrc manyroads gave you an example command, if you do not want to install any additional agent you can use polkit-gnome that xfce is using which would mean you'd need to add

/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

somewhere that is invoked on autostart

Last edited by V1del (2021-03-07 15:52:47)

Offline

#7 2021-03-07 15:02:57

dezire
Member
Registered: 2020-09-30
Posts: 45

Re: [SOLVED] Polkit problem

it didn't work bro... it says the file doesn't exist.

Offline

#8 2021-03-07 15:52:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,766

Re: [SOLVED] Polkit problem

I accidentally didn't copy the leading / use /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

Offline

#9 2021-03-08 08:36:25

dezire
Member
Registered: 2020-09-30
Posts: 45

Re: [SOLVED] Polkit problem

Thanks brother for the help you saved my life...

Offline

Board footer

Powered by FluxBB