Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Lightdm doesn't show my user's name

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
dancer_69
Posts: 46
Joined: 2011-08-21 18:16
Has thanked: 1 time

[Solved] Lightdm doesn't show my user's name

#1 Post by dancer_69 »

I just installed debian 12 and I didn't want to have to input my user's name every time, so I found that I need to uncommend the line:
"greeter-hide-users=false" in lightdm conf in "[Seat:*]" section. After that I rebooted and now ther is a list box instead of the edit box in lightdm, but the list haven't my user's name, have only 1 item which is "other". So how to make it show my user's name?
Last edited by dancer_69 on 2024-03-19 13:09, edited 1 time in total.

User avatar
fabien
Forum Helper
Forum Helper
Posts: 688
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 62 times
Been thanked: 161 times

Re: Lightdm doesn't show my user's name

#2 Post by fabien »

Hello,

what is the output of

Code: Select all

$> grep -v "^#\|^$" /etc/lightdm/{lightdm,users}.conf
and, if you don't mind,

Code: Select all

$> id
?

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1412
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 70 times

Re: Lightdm doesn't show my user's name

#3 Post by None1975 »

Hello.
It looks like you have configured lightdm incorrectly

By default, LightDM is configured so that the user should enter both their login name and password. The login name is considered sensitive information.
It is possible to provide the user with a selection of available user accounts. The most recently used login name will be selected in the list. The user still has to enter their password to login. This provides a useful compromise between security and convenience for a single-user desktop system.

To enable the user list, place the following setting into:

/etc/lightdm/lightdm.conf.d/01_my.conf

Code: Select all

[Seat:*]
greeter-hide-users=false
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

dancer_69
Posts: 46
Joined: 2011-08-21 18:16
Has thanked: 1 time

Re: Lightdm doesn't show my user's name

#4 Post by dancer_69 »

fabien wrote: 2024-03-19 11:50 Hello,

what is the output of

Code: Select all

$> grep -v "^#\|^$" /etc/lightdm/{lightdm,users}.conf
and, if you don't mind,

Code: Select all

$> id
?

Code: Select all

/etc/lightdm/lightdm.conf:[LightDM]
/etc/lightdm/lightdm.conf:[Seat:*]
/etc/lightdm/lightdm.conf:greeter-hide-users=false
/etc/lightdm/lightdm.conf:allow-user-switching=true
/etc/lightdm/lightdm.conf:[XDMCPServer]
/etc/lightdm/lightdm.conf:[VNCServer]
/etc/lightdm/users.conf:[UserList]
/etc/lightdm/users.conf:minimum-uid=500
/etc/lightdm/users.conf:hidden-users=nobody nobody4 noaccess
/etc/lightdm/users.conf:hidden-shells=/bin/false /usr/sbin/nologin /sbin/nologin
and:

Code: Select all

uid=1000(debdan) gid=1000(debdan) groups1000(debdan,24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),100(users),106(netdev),111(bluetooth),113(lpadmin),116(scanner)

User avatar
fabien
Forum Helper
Forum Helper
Posts: 688
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 62 times
Been thanked: 161 times

Re: Lightdm doesn't show my user's name

#5 Post by fabien »

Your configuration should work. Maybe it's theme related, try this in /etc/lightdm/lightdm-gtk-greeter.conf under [greeter]

Code: Select all

theme-name=Adwaita

dancer_69
Posts: 46
Joined: 2011-08-21 18:16
Has thanked: 1 time

Re: Lightdm doesn't show my user's name

#6 Post by dancer_69 »

Thanks, that worked.

Post Reply