Results 1 to 5 of 5

Thread: KDE User Manager Does not show all users

  1. #1

    Default KDE User Manager Does not show all users

    I am having a minor (yet annoying issue) with the kde user manager on Tumbleweed (4.9.10). I cannot find my own original main user (I have had this user since 11.3). I can add, edit, and remove new users, but my user is nowhere to be found (see pic, test is a new user I made). All of the users show up in Yast, and I have no problem logging in. Also my laptop is running Tumbleweed with the same exact kde-user-manager package with no issues (however my laptop has tumbleweed directly installed). I'm guessing this has to do with my distribution upgrades over the years and the user-manager not keeping up with older users but I don't know where to look to fix this bug.]

    Thanks

  2. #2

    Default Re: KDE User Manager Does not show all users

    Quote Originally Posted by 8ofspades View Post
    I am having a minor (yet annoying issue) with the kde user manager on Tumbleweed (4.9.10).
    What does the "(4.9.10)" refer to here?
    Definitely not the version...

    I'm guessing this has to do with my distribution upgrades over the years and the user-manager not keeping up with older users but I don't know where to look to fix this bug.]
    To test that theory, what user id do you have?
    Code:
    id
    (run that as the missing user)

    In principle, kde-user-manager should just get the users from the system, so it shouldn't matter whether you upgraded or did a fresh install.
    It may be that it only shows users with an id >= 1000 (like sddm does), which is the default since years.

    If that's the case, it should be fixable by some setting though, as my user with id 500 does show up fine...

  3. #3

    Default Re: KDE User Manager Does not show all users

    Quote Originally Posted by wolfi323 View Post
    What does the "(4.9.10)" refer to here?
    Definitely not the version...


    To test that theory, what user id do you have?
    Code:
    id
    (run that as the missing user)

    In principle, kde-user-manager should just get the users from the system, so it shouldn't matter whether you upgraded or did a fresh install.
    It may be that it only shows users with an id >= 1000 (like sddm does), which is the default since years.

    If that's the case, it should be fixable by some setting though, as my user with id 500 does show up fine...
    sorry for the late reply. Thats my Linux kernel number, not sure if it matters.

    This is my output for id

    Code:
    uid=1000(mani) gid=100(users) groups=100(users),471(vboxusers)
    
    mani is the missing user

  4. #4

    Default Re: KDE User Manager Does not show all users

    Quote Originally Posted by 8ofspades View Post
    sorry for the late reply. Thats my Linux kernel number, not sure if it matters.
    Thanks for clarifying.

    I don't think it matters in that case though.

    This is my output for id

    Code:
    uid=1000(mani) gid=100(users) groups=100(users),471(vboxusers)
    
    mani is the missing user
    Ok, the id should not be the reason then, 1000 is the default for a new user since years.

    Hm, as I said, I don't see that here.

    I do remember an old thread about the same problem though:
    https://forums.opensuse.org/showthre...ment-quot-List
    No solution there I'm afraid, except using YaST for user management... (I haven't looked again at the mentioned bug reports yet though, maybe you find something there)

    Well, AFAIK the user manager just gets the users from the system via standard system calls.
    Does this command show the missing user?
    Code:
    getent passwd
    (taken from this thread, where somebody had the problem that every user was shown twice: https://forums.opensuse.org/showthre...n-screen/page2 )
    If not, the problem is on a lower level...
    Last edited by wolfi323; 26-Feb-2017 at 10:46.

  5. #5

    Default Re: KDE User Manager Does not show all users

    Thanks for finding those links! Digging through the bug reports I tried the following commands which checks if the user is in a cache that KDE user manager uses to decide which users to display. Apparently my user was not in the cache.

    Displays the users in the cache that KDE user manager checks (mine was not in it)
    Code:
    qdbus --system --literal org.freedesktop.Accounts /org/freedesktop/Accounts org.freedesktop.Accounts.ListCachedUse
    rs
    
    This command successfully adds the user to the cache
    Code:
    qdbus --system --literal org.freedesktop.Accounts /org/freedesktop/Accounts org.freedesktop.Accounts.CacheUser <user>
    
    After running this command my user appears in the user manager.However when I try to modify my user (like changing the user picture) the user is removed from the cache again without making changes. I actually get two password prompts when making the change, one for standard root access to change a password, and the second to save settings in the SDDM.

    I also tried the
    Code:
    getent passwd
    and my user shows up when my user is missing from KDE user manager.

    It seems like something about my user causes my user to be purged from the cache whenever I try to update it.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •