Bug 334233 - lightdm should be able to avoid listing users, but with kde greeter it ignores the option to do so
Summary: lightdm should be able to avoid listing users, but with kde greeter it ignore...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: lightdm
Classification: Miscellaneous
Component: config (show other bugs)
Version: 0.3.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-02 14:18 UTC by Sergio
Modified: 2020-10-10 21:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio 2014-05-02 14:18:38 UTC
Having

greeter-hide-users=true

is ignored with the kde greeter.

See also https://bugs.launchpad.net/ubuntu/+source/lightdm-kde/+bug/1237684

Reproducible: Always
Comment 1 Carnë Draug 2015-03-05 15:04:31 UTC
I can confirm that using lightdm-kde version 0.3.2.1 this bug is still present.

The following options are part of lightdm core and should hide create a greeter without any usernames.  It should also not default to select the last user. A simple user case is a real multi-user system such as school or company where the number of users is on the hundreds where this is typical policy. However, lightdm-kde ignores these options (on `lightdm.conf`)

    [SeatDefaults]
    greeter-hide-users=true
    greeter-allow-guest=false
    greeter-show-manual-login=true

A temporary workaround is to have (on `lightdm-kde-greeter.conf`)

    [greeter]
    theme-name=classic

This succeeds in hiding the list of users but still defaults to the last user.
Comment 2 Carnë Draug 2015-03-05 15:37:34 UTC
To also workaround the issue of showing the last user as default, it is possible to edit /usr/share/kde4/apps/lightdm-kde-greeter/themes/classic/main.qml

                    /*PlasmaComponents.*/TextField {
                        id: usernameInput;
                        placeholderText: i18n("Username");
                        text: greeter.lastLoggedInUser

and replace greeter.lastLoggedInUser with an empty string 

Or even better, duplicate the theme and make the change on the duplicate to leave the original intact.
Comment 3 Russell 2015-10-21 05:46:07 UTC
The user list is not displayed with the Classic Theme and /etc/lightdm/lightdm.conf containing 
greeter-hide-users=true. Hower, the username of the last user that logged in is displayed in the Username field.  The field should be empty.  
Similar to "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/857651".

Environment here: 
linux mint 17.2
kde 4.14.2
lightdm 1.10.5
lightdm-kde-greeter 0.3.2
accountsservice 0.6.35
Comment 4 Nate Graham 2020-10-10 21:20:49 UTC
We no longer use lightDM, having moved to SDDM several years ago. As such, this bug report is no longer applicable. Bugs reports for the new SDDM-based login screen should be filed to one of two places:

1. Visual/UI bugs with the login screen UI itself, or feature requests: plasmashell | Theme - Breeze
2. Bugs with the login/user switching process: https://github.com/sddm/sddm/issues