View previous topic :: View next topic |
Author |
Message |
freifunk_connewitz Apprentice
Joined: 08 Feb 2006 Posts: 231
|
Posted: Tue Apr 12, 2016 7:56 pm Post subject: problem with SDDM and HideUsers configuration |
|
|
hi,
because with KDE5 KDM has been discontinued as a login manager, I installed SDDM, as recommended by the wiki. But then I had to realize that there was no config option that allowed to NOT being greeted with a user list or any user name at all upon login.
The man page of /etc/sddm.conf, however, mentions a HideUsers- and a RememberLastUser-option, so I manually added to that file:
Code: |
[Users]
HideUsers=(here my username)
MaximumUid=65000
MinimumUid=64999
RememberLastUser=false
|
I changed the UID just to really get sure (my user account has Uid 1000).
But SDDM just ignores all those entries. It continues to show my user name on the login screen. No erros in logs.
Switching to another theme does not change that bug.
Switching to lightdm and xdm did not work because both of them don't seem to work with KDE5/plasma (after accepting the password follows a black screen with a cursor for a second, then the login screen appears again, both do not succeed in getting hold of an X session, but those are other problems).
Does anybody know if SDDM is still that beta or do I miss something?
Last edited by freifunk_connewitz on Thu Apr 14, 2016 2:17 pm; edited 2 times in total |
|
Back to top |
|
|
davidm Guru
Joined: 26 Apr 2009 Posts: 557 Location: US
|
|
Back to top |
|
|
freifunk_connewitz Apprentice
Joined: 08 Feb 2006 Posts: 231
|
Posted: Wed Apr 13, 2016 9:12 am Post subject: |
|
|
edit: thank you, davidm, for the hint. but it seems SDDM is buggy. it does write the user name into /var/lib/sddm/state.conf even if the config file told it otherwise. that means: i clean the entry from /var/lib/sddm/state.conf, logout, restart X, et voila: no user name shown. I log in, log out again, et voila, state.conf has been updated with my user name...
the linked bug at github refers to all HideUsers-entries *after* the first one in sddm.conf. in my case also the first one is ignored. the other options (shown userIDs, remember last user) are ignored or misread as well, the whole [Users]-section of the config file is just useless. |
|
Back to top |
|
|
freifunk_connewitz Apprentice
Joined: 08 Feb 2006 Posts: 231
|
Posted: Thu Apr 14, 2016 2:56 pm Post subject: |
|
|
for now, I just installed a stop-script in /etc/local.d that removes /var/lib/sddm/state.conf upon shutdown. ugly workaround but since they took away KDM: no choice.
before I think about registering at another platform (github) in order to file a SDDM bug: can anybody else reproduce that problem? |
|
Back to top |
|
|
DevLinux n00b
Joined: 29 Jul 2015 Posts: 8
|
Posted: Tue Apr 26, 2016 8:37 pm Post subject: |
|
|
I'm also having the same problem. I switched to the Elarun theme to keep from having the Windows style user list, but now I just have a username in the box instead.
I did try setting MinimumUid to a number above the highest uid. Wouldn't recommend that on the Breeze theme at least. I had a password box with no way to enter a username.
Honestly, I feel like Plasma/KDE5 was pushed to stable a little too soon. Seems to work as long as you don't touch anything. |
|
Back to top |
|
|
freifunk_connewitz Apprentice
Joined: 08 Feb 2006 Posts: 231
|
Posted: Mon May 02, 2016 6:35 pm Post subject: |
|
|
DevLinux wrote: | Honestly, I feel like Plasma/KDE5 was pushed to stable a little too soon. Seems to work as long as you don't touch anything. |
So do I, though it's not as horrible as the KDE3>4 migration has been...
Here's my bug report from 2 weeks ago, but nobody of the SDDM team reacted so far...:
https://github.com/sddm/sddm/issues/626 |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Mon May 02, 2016 6:57 pm Post subject: |
|
|
You don't have to fight with SDDM at all cost, you can always use lightdm instead which might have more features in some respects. |
|
Back to top |
|
|
freifunk_connewitz Apprentice
Joined: 08 Feb 2006 Posts: 231
|
Posted: Tue May 03, 2016 7:17 pm Post subject: |
|
|
genstorm wrote: | You don't have to fight with SDDM at all cost, you can always use lightdm instead which might have more features in some respects. |
I tried, but that was even worse, lightdm wasnt even able to start the DE (see OP). |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
|
Back to top |
|
|
freifunk_connewitz Apprentice
Joined: 08 Feb 2006 Posts: 231
|
Posted: Wed May 04, 2016 9:04 pm Post subject: |
|
|
genstorm wrote: | That does rather seem like you accidentally chose the Plasma (Wayland) session. Unfortunately, lightdm does not mark it as such and gives you a duplicate 'Plasma' selection.
|
No, it doesnt even work if I set session to Xsession.
Thanks for the commit link, lets hope next version will be working. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Wed May 04, 2016 9:51 pm Post subject: |
|
|
You can try add it as a user patch. It applies cleanly. |
|
Back to top |
|
|
|