Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: KDE Plasma lock screen not showing user

  1. #1

    Default KDE Plasma lock screen not showing user

    Hello.
    I searched about this topic but couldn't find anything.
    When the screen is locked in a KDE session the name of the user is not shown in the lock screen.
    I'd like to have it shown. For example, I have a Arch Linux Plasma 5 installation and there, when the screen is locked, the user name is shown.
    I couldn't work out where to change this.
    Anyone has a hint?

    Thanks in advance

  2. #2
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,134

    Default Re: KDE Plasma lock screen not showing user

    System Settings > Startup and Shutdown >Login Screen
    Choose an appropriate theme, e.g. Breeze for openSUSE.
    If already selected, choose and apply another theme, then change back.
    ~Thank you for sharing an interesting problem.
    --
    slàinte mhath,
    rayH

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,640
    Blog Entries
    3

    Default Re: KDE Plasma lock screen not showing user

    Quote Originally Posted by Miaguleti View Post
    Hello.
    When the screen is locked in a KDE session the name of the user is not shown in the lock screen.
    The name shows up for me. That's the full name, not the login userid. And the lock screen looks like the SDDM login screen. So I think eng-int is probably right that it depends on the login screen theme. Set that with

    Configure Desktop --> Startup and Shutdown --> Login Screen (SDDM)

    My system is using the default (Breeze for openSUSE).
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  4. #4

    Default Re: KDE Plasma lock screen not showing user

    Hi. Thanks to everybody.
    I realized later that actually it could be the LDAP users whose name is not shown. Tomorrow I'll check and report.

    Thanks

  5. #5

    Default Re: KDE Plasma lock screen not showing LDAP user

    Ok I checked, it has to do with LDAP users.
    So the problem is: LDAP users' name is not shown when screen is locked.
    Is there a way around this?

    (Btw I couldn't find a way to modify the title of this thread to better reflect the problem. Should I open a new thread?)

    Thanks

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,640
    Blog Entries
    3

    Default Re: KDE Plasma lock screen not showing LDAP user

    Quote Originally Posted by Miaguleti View Post
    Ok I checked, it has to do with LDAP users.
    Thanks for that update.

    What do you see with "getent". For example, checking here, I get:
    Code:
    % getent passwd rickert
    rickert:x:1001:100:Neil Rickert:/home/rickert:/bin/csh
    It's that 5th field (shows as "Neil Rickert") that I see on the lock screen.

    I should add that I am not using LDAP. But I think "getent" should still work for LDAP users.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  7. #7

    Default Re: KDE Plasma lock screen not showing user

    Hi.
    Thanks for answering.
    I have yet to try getent, but I solved by configuring SSSD instead of simple LDAP client. SSSD shows the user name on the lock screen.
    I'll try getent as soon as possible.

    Thanks

  8. #8
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,640
    Blog Entries
    3

    Default Re: KDE Plasma lock screen not showing user

    Quote Originally Posted by Miaguleti View Post
    I have yet to try getent, but I solved by configuring SSSD instead of simple LDAP client.
    I'm glad it is solved.

    Your changes probably also change the output from "getent". So no need to post that output. But you might want to try it for yourself, just to see what it does. Software that looks up user information normally does that with some standard library calls. And "getent" makes the same library calls. So "getent" is a way of finding out what the software is seeing.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  9. #9

    Default Re: KDE Plasma lock screen not showing user

    I tried getent with the two configurations, but the output is the same, so I don't know what caused the different behaviour.
    Besides, using the "simple" LDAP client, at login there is a list with all the users, from which you can choose yours. With SSSD such list is not present, and you have to type in your user name.
    This second behaviour is, by the way, more useful to me, as I expect several hundred of users.

    Thanks

  10. #10

    Default Re: KDE Plasma lock screen not showing user

    Any news on this? It's inconvenient for the user name not showing up. People forget who's logged in...

    The following are OK on my machines that are in a domain (m$ server 2012 / 2016) - I used Yast to join. No modification to nsswitch.conf, just some pam.d settings for common-session-pc and sddm-login (pam_mount / pam_mkhomedir)

    * wbinfo -g DOM\\group (OK)
    * wbinfo -i DOM\\user (OK)
    * id DOM\\user works (OK)
    * getent passwd DOM\\user (OK)
    * getent group DOM\\group (OK)

    What doesn't work as expected is:

    * getent passwd
    * getent group

    According to some info, these should list all users / groups, local and remote. These only show the local ones here.

    Config files modified by me:

    [/etc/pam.d/sddm]
    auth optional pam_mount.so
    auth include common-auth
    account include common-account
    password include common-password
    session required pam_loginuid.so
    session include common-session
    session optional pam_keyinit.so revoke
    session optional pam_mount.so


    [/etc/pam.d/common-session-pc]
    session optional pam_mkhomedir.so umask=0077
    session optional pam_systemd.so
    session required pam_limits.so
    session required pam_unix.so try_first_pass
    session required pam_winbind.so
    session optional pam_umask.so
    session optional pam_env.so

Page 1 of 2 12 LastLast

Posting Permissions

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