Comment 18 for bug 1883357

Revision history for this message
pbhj (pbhj) wrote (last edit ):

Still doesn't work for me on Ubuntu 23.04 (lunar). Neither direct through "system settings" nor through `kcmshell5 kcm_users`. I tried strace-ing to look for failed file opens. There was some stuff about sonnet and voikko but I think they're just optional so would be expected to fail.

I was never asked for credentials, perhaps the failure is related to [lack of] proper request for credentials?

Happy to run anything to help debug. FWIW the packages I have (which apt-files tells me are the origin of kcm_users) are:

Yavin:~$ apt-cache policy plasma-workspace{,-data}
plasma-workspace:
  Installed: 4:5.27.4.1-0ubuntu1
  Candidate: 4:5.27.4.1-0ubuntu1
  Version table:
 *** 4:5.27.4.1-0ubuntu1 500
        500 http://gb.archive.ubuntu.com/ubuntu lunar/universe amd64 Packages
        100 /var/lib/dpkg/status
plasma-workspace-data:
  Installed: 4:5.27.4.1-0ubuntu1
  Candidate: 4:5.27.4.1-0ubuntu1
  Version table:
 *** 4:5.27.4.1-0ubuntu1 500
        500 http://gb.archive.ubuntu.com/ubuntu lunar/universe amd64 Packages
        500 http://gb.archive.ubuntu.com/ubuntu lunar/universe i386 Packages
        100 /var/lib/dpkg/status

After some testing, I see that "change password" for an existing user also fails (where `passwd` works). Again, no credentials are requested. I reinstalled pkexec (`sudo apt reinstall pkexec`) but that didn't seem to change anything.

Making users with `useradd -m $NEWUSER` works of course. Once made they appear in the list of `kcmshell5 kcm_users`. If I then try to change the icon for a user instead of asking for credentials/authorization it says "Could not get permission to save user [$USER]" (where the [$USER] is the actual username on my system). In strace it says:

org.kde.kcm_users: "org.freedesktop.Accounts.Error.PermissionDenied" "Authentication is required"

as one might expect. But at no point am I asked for credentials. Searching on that string I get https://bugs.kde.org/show_bug.cgi?id=346691, so have added this to the current report.