You are not logged in.
Pages: 1
Hey, would you guys mind helping me?
I'm getting authentication errors while trying to perform some basic tasks in some GUI programs (Dolphin, Grub-customizer, Partition Manager, etc). I'm running awesome window manager and building my desktop from scratch, but this problem has eluded me thus far. Normally on a full-fledged desktop environment like KDE, a pop-up will appear for tasks that require elevation like this, but I've seen no such luck with mine. To my knowledge, or from what I've read at least, this problem is related to a polkit agent, which, while I have, I'm not certain how to make it active to where that prompt will appear when I'm doing things. Without it, I get this message (which I've included in the attached imgu)
Error Message: https://imgur.com/a/o6ENeik
I've tried reading the wiki and putting " lxpolkit & " into my xinitrc but that box just won't appear and I keep getting that error.
Here are some topics I tried following to troubleshoot: https://bbs.archlinux.org/viewtopic.php?id=255976 , https://www.reddit.com/r/archlinux/comm … on_popups/ , https://bbs.archlinux.org/viewtopic.php?id=264245
What could I be doing wrong?
Last edited by scatherinch (2023-03-01 05:11:39)
Offline
First, be sure that "lxpolkit &" starts before your wm or whatever you're using, like this:
...
apps
...
lxpolkit &
...
exec yourwindowmanagerThe wiki shows a command to check if the polkit agent is started.
In your case I think is:
pgrep -af lxpolkitAnd if the polkit agent is started, post the output of
systemctl status polkit.serviceto see what's happening.
I'm just someone. Please use [code] [/code] tags.
Offline
Alright, here's my .xinitrc file:
lxpolkit &
exec awesomeI put those commands in as well, like you told me:
entering
systemctl status polkit.servicecomes up with...
[1]> systemctl status polkit.service
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: active (running) since Sun 2023-02-26 02:09:53 EST; 1min 12s ago
Docs: man:polkit(8)
Main PID: 930 (polkitd)
Tasks: 3 (limit: 38408)
Memory: 3.4M
CPU: 22ms
CGroup: /system.slice/polkit.service
└─930 /usr/lib/polkit-1/polkitd --no-debugStill no box prompt, unfortunately...
Offline
Alright, here's my .xinitrc file:
It's the tail of your xinitrc, right? Or only have those 2 lines?
systemctl status polkit.service doesn't have log? I mean, after of that output, there's a lines from the journal log.
I think is better to post the journal log itself.
Try to run something that needs elevated privileges. For example:
systemctl restart testing.serviceAnd see if the box appears.
If you see that you need to enter the password in the terminal, it's the polkit agent fallback calls pkttyagent, so the lxpolkit didn't start.
I don't think we need all the journal log (for now), so just post the output of:
journalctl -u polkit.serviceLast edited by Adriik (2023-02-26 08:16:15)
I'm just someone. Please use [code] [/code] tags.
Offline
Hey, I figured it out.
As it turns out, the name of the program was wrong in my .xinitrc.
Following from the Arch Wiki, it has some misleading information on polkit agets: https://wiki.archlinux.org/title/Polkit … ion_agents
the command is not called lxpolkit, as it turns out, but lxsession
Replacing that into my .xinitrc instead of lxpolkit has fixed it.
So, maybe the wiki has some unclear information or I must have missed something.
Anyways, the box is spawning!
However, now I have a new problem, which I'll just make a new topic for.
Thanks for your assitance!
Offline
Offline
I don't know, it is odd.
If I find out anything, I will share it here.
Anyways, thank you for replying, your insight was helpful!
Offline
Pages: 1