After upgrading the lightdm package to the newest version, lightm blatantly ignores the settings in /etc/lightdm/users.conf and shows me useless users like "folding", "git", "lightdm account service" and others besides actual users.
The settings int users.conf worked before, so what changed? How can I fix this? I tried to look for a solution, but neither the wiki, nor the rest of the internet seem to know anything about this.
I don't have "accountservice" installed.
lightdm package version is 1:1.6.1-4
I also have liblightdm-qt4-devel and liblight-qt5-devel with version 1.7.15-1 installed (both).
I use lightdm-webkit-greeter 0.1.2-6 as greeter.
Can you post the users.conf and lightdm.conf you're using?
Did you deal with all the pacnew files after the update?
Last edited by karol (2013-09-18 01:58:07)
I dealth with lightdm.conf.pacnew by showing myself a diff and taking a look at the differences. I changed some stuff like the xsession-wrapper script parameter inside my customized lightdm.conf to work with the new name (what is now called "Xsession" was called "xsession" before, but nothing more. I use the default users.conf.
# User accounts configuration
# NOTE: If you have AccountsService installed on your system, then LightDM will
# use this instead and these settings will be ignored
# minimum-uid = Minimum UID required to be shown in greeter
# hidden-users = Users that are not shown to the user
# hidden-shells = Shells that indicate a user cannot login
hidden-users=nobody nobody4 noaccess
# General configuration
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# xsessions-directory = Directory to find X sessions
# remote-sessions-directory = Directory to find remote sessions
# xgreeters-directory = Directory to find X greeters
# was true
# was xsession
# Seat defaults
# [here lots of seat defaults]
The rest of the file consists of just commented parameters, that are in their default state.
I know nothing about lightdm, but what would happen if you added e.g. 'folding' to 'hidden-users' line?
When pasting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode
It makes the code more readable and - in case of longer listings - more convenient to scroll through.
I don't think this is the solution. The problem is, that although "minimum-uid=1000" is set, all the other accounts with a valid shell are shown in the menu, although their UID is below 1000 or their shell is set to one of "hidden-shells".
E.g.: git is shown although: git:x:619:619:git daemon user:/:/bin/bash -> UID 619 < 1000
folding:x:1001:1001::/home/folding:/sbin/nologin -> /sbin/nologin is set in "hidden-shells"
same problem here, /etc/lightdm/users.conf is ignored
$ cat /etc/lightdm/users.conf # # User accounts configuration # # NOTE: If you have AccountsService installed on your system, then LightDM will # use this instead and these settings will be ignored # # minimum-uid = Minimum UID required to be shown in greeter # hidden-users = Users that are not shown to the user # hidden-shells = Shells that indicate a user cannot login # [UserAccounts] minimum-uid=1000 hidden-users=nobody nobody4 noaccess hidden-shells=/bin/false /sbin/nologin
I have the same problem, but installing accountsservice makes those users with UID < 1000 not appear on the LightDM login screen.
What I hear, I forget. What I say, I remember. What I do, I understand. –Tao Te Ching/Laozi