Upgraded from Debian 8/KDE to Debian 9/KDE with a clean install on a new SSD. Everything works fine except it now seems impossible to have users with UID of < 1000 show-up on the login screen.
Besides editing the /etc/login.defs file with UID_MIN=501, and trying many other variations of MIN/MAX settings in login.defs and useradd.conf these users still don't appear on the login screen.
Seems like the UID_MIN value in login.defs is being ignored or is of lower priority than a setting somewhere else.
Need users with UID's of 501, 502, etc. for compatibility with OSX machines on the network.
Any help appreciated.
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] Users with UID < 1000 missing from login screen
[SOLVED] Users with UID < 1000 missing from login screen
Last edited by fgillis_2 on 2018-12-03 23:16, edited 1 time in total.
Re: Users with UID < 1000 missing from login screen
I don't know where this kcm module went. When I installed plasma-desktop on stretch, I noticed that some documentation said that accountsservices pkg is now used for this. You are probably using sddm now? I use lightdm instead and this is minimum-uid=500 in /etc/lightdm/users.conf
Try one of these to find the sddm module, if it is not in systemsettings somewhere, or in /etc/sddm/something.conf
try man sddm.conf?
Try one of these to find the sddm module, if it is not in systemsettings somewhere, or in /etc/sddm/something.conf
Code: Select all
kcmshell4 --list
kcmshell5 --list
resigned by AI ChatGPT
Re: Users with UID < 1000 missing from login screen
You can find it at
Default will look like
Code: Select all
/etc/sddm.conf
Code: Select all
[Autologin]
Relogin=false
Session=
User=
[General]
HaltCommand=
RebootCommand=
[Theme]
Current=debian-breeze
CursorTheme=Adwaita
[Users]
MaximumUid=65000
MinimumUid=1000
Re: Users with UID < 1000 missing from login screen
Hello bw123. Thank you for your suggestions.
It doesn’t look like I’m using lightdm or sddm.
There is no “lightdm” directory under /etc.
There is a “sddm” directory, but it only contains “Xsession”.
Running “kcmshell4 —list” gives 13 lines of error messages starting with…
“kcmshell(2390)/kdeui (kdelibs): Session bus not found”
and ending with…
“Not forwarding the crash to Apport.”
Running “kcmshell5 —list” outputs “The following modules are available:”, followed by a long list of “modules”. sddm is not included in the list.
Hello piper. Thank you for your suggestions.
As mentioned above, there is no sddm.conf file under /etc, so I created one based on your default example, changing MinimumUid to 501.
Damn! It works!
Will now continue with the rest of my installation to see if everything else works as expected, (as in Debian_8).
Thank you bw123 & piper!
FYI: Installation to this point was mostly default…
- Used a debian-9.6.0-amd64-netinst.iso CD.
- Partitioning scheme was with separate /home, /var, and /tmp partitions.
- Installed Debian Desktop Environment, KDE, SSH server, Standard system utilities.
- Also installed autofs, nfs-kernel-server, nfs-common, ntpdate, csh, tcsh.
- Updated UID_MIN & GID_MIN values in /etc/login.defs to 501
- Updated FIRST_UID & FIRST_GID values in /etc/adduser.conf to 501
It doesn’t look like I’m using lightdm or sddm.
There is no “lightdm” directory under /etc.
There is a “sddm” directory, but it only contains “Xsession”.
Running “kcmshell4 —list” gives 13 lines of error messages starting with…
“kcmshell(2390)/kdeui (kdelibs): Session bus not found”
and ending with…
“Not forwarding the crash to Apport.”
Running “kcmshell5 —list” outputs “The following modules are available:”, followed by a long list of “modules”. sddm is not included in the list.
Hello piper. Thank you for your suggestions.
As mentioned above, there is no sddm.conf file under /etc, so I created one based on your default example, changing MinimumUid to 501.
Damn! It works!
Will now continue with the rest of my installation to see if everything else works as expected, (as in Debian_8).
Thank you bw123 & piper!
FYI: Installation to this point was mostly default…
- Used a debian-9.6.0-amd64-netinst.iso CD.
- Partitioning scheme was with separate /home, /var, and /tmp partitions.
- Installed Debian Desktop Environment, KDE, SSH server, Standard system utilities.
- Also installed autofs, nfs-kernel-server, nfs-common, ntpdate, csh, tcsh.
- Updated UID_MIN & GID_MIN values in /etc/login.defs to 501
- Updated FIRST_UID & FIRST_GID values in /etc/adduser.conf to 501