You are not logged in.

#1 2024-01-10 18:23:55

khvalera
Member
Registered: 2015-11-17
Posts: 31
Website

In KDE Plasma, some users do not get the password dialog box

For some users, the root password request dialog no longer appears. For example, the partitionmanager program:

https://i.postimg.cc/J46KHVQr/Screensho … 201721.png

Has anyone encountered such a problem?


moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 2ManyDogs (2024-01-10 18:38:53)

Offline

#2 2024-01-10 19:01:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,232

Re: In KDE Plasma, some users do not get the password dialog box

Worksforme™

Who are "some" users? Generally speaking they need to be part of the wheel group to be considered by polkit by default. Is polkit running/how about an agent?

ps aux | grep polkit

generally read https://wiki.archlinux.org/title/Polkit to understand the conditions necessary.

Offline

#3 2024-01-10 19:21:49

khvalera
Member
Registered: 2015-11-17
Posts: 31
Website

Re: In KDE Plasma, some users do not get the password dialog box

V1del wrote:

Who are "some" users?

Two users in the system, with completely identical rights, one has a dialog box, the other does not.

V1del wrote:
ps aux | grep polkit
polkitd      734  0.1  0.0 384268 11564 ?        Ssl  20:52   0:01 /usr/lib/polkit-1/polkitd --no-debug
user1          1214  0.7  0.2 3735744 176084 ?      Ssl  21:11   0:00 /usr/lib/polkit-kde-authentication-agent-1

Offline

#4 2024-01-10 19:30:39

khvalera
Member
Registered: 2015-11-17
Posts: 31
Website

Re: In KDE Plasma, some users do not get the password dialog box

V1del wrote:

Worksforme™
Generally speaking they need to be part of the wheel group to be considered by polkit by default.

Both users are in the wheel group

The problem appeared a couple of weeks ago, after system updates. The user who was present in the system works correctly, but the new one does not.

Offline

#5 2024-01-11 01:26:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,232

Re: In KDE Plasma, some users do not get the password dialog box

I'm assuming user1 is the one where it's working. Do both use KDE? Do both use the system at the same time? Did you check the journal?

Offline

#6 2024-01-11 09:43:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,044

Re: In KDE Plasma, some users do not get the password dialog box

For example, the partitionmanager program

For a better example, use

pkexec ls

as test case.

Offline

#7 2024-01-16 21:33:11

khvalera
Member
Registered: 2015-11-17
Posts: 31
Website

Re: In KDE Plasma, some users do not get the password dialog box

seth wrote:

For example, the partitionmanager program

For a better example, use

pkexec ls

as test case.

If you run the command manually:

pkexec ls

no problem

Offline

#8 2024-01-16 21:35:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,044

Re: In KDE Plasma, some users do not get the password dialog box

Ok, what is "the partitionmanager program" and what are other examples of disfuncitonal polkit clients?

Offline

Board footer

Powered by FluxBB