Bug 385771

Summary: No longer see any users
Product: [Applications] systemsettings Reporter: akm <alexvkaam>
Component: kcm_sddmAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.11.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: how it looks now while I am logged in

Description akm 2017-10-15 10:10:23 UTC
Created attachment 108359 [details]
how it looks now while I am logged in

in Plasma 5.11 on Tumbleweed I selected my user and added its email (something I not done before), I got 2 su boxes for root password, I know the last one was sddm and after that happened the user was gone.

if I try to add the same user name it I get a "not allowed sign" behind it, so it does see my current account.
if I log out and in my account still exists including the custom picture and name.

But it simply no longer shows in the KDE system settings account details
Comment 1 akm 2017-10-15 11:52:11 UTC
I have been digging a bit more and found this:
https://forums.opensuse.org/showthread.php/523213-KDE-User-Manager-Does-not-show-all-users

the post is what happened to me to including the 2 root password prompts, so I tried the last post there:

Doing the org.freedesktop.Accounts.ListCachedUsers does not show userID 1000, only my test user with id 1001

qdbus --system --literal org.freedesktop.Accounts /org/freedesktop/Accounts org.freedesktop.Accounts.ListCachedUsers
[Argument: ao {[ObjectPath: /org/freedesktop/Accounts/User1001]

Adding the user with org.freedesktop.Accounts.CacheUser

dbus --system --literal org.freedesktop.Accounts /org/freedesktop/Accounts org.freedesktop.Accounts.CacheUser akm

and checking again with org.freedesktop.Accounts.ListCachedUsers shows both now:
qdbus --system --literal org.freedesktop.Accounts /org/freedesktop/Accounts org.freedesktop.Accounts.ListCachedUsers
[Argument: ao {[ObjectPath: /org/freedesktop/Accounts/User1001], [ObjectPath: /org/freedesktop/Accounts/User1000]}]

So I can't reproduce it anymore, will put it to Resolved.....