Login Screen blanks out all users after certain updates

With every new version, I hope that this issue gets resolved, but it never has been. 12.1 didn’t even give any icons for users. Each time I upgrade to a new version of openSUSE, the login screen shows all users for a time, but after some updates, and I’m not sure which one(s), it suddenly loses all users. The way I get them back is I have everyone log in manually, and their names reappear, until another update later on which wipes all of them out again (except me, because I’m the one logged in running the updates). How can I get the names to just stay? Why does this happen? Why haven’t they fixed it after at least 5 years of this happening and over 9 releases?

On Thu, 06 Dec 2012 20:06:03 +0000, brasto1972 wrote:

> With every new version, I hope that this issue gets resolved, but it
> never has been. 12.1 didn’t even give any icons for users. Each time I
> upgrade to a new version of openSUSE, the login screen shows all users
> for a time, but after some updates, and I’m not sure which one(s), it
> suddenly loses all users. The way I get them back is I have everyone
> log in manually, and their names reappear, until another update later on
> which wipes all of them out again (except me, because I’m the one logged
> in running the updates). How can I get the names to just stay? Why
> does this happen? Why haven’t they fixed it after at least 5 years of
> this happening and over 9 releases?

You haven’t mentioned which desktop environment you’re using, or if
there’s an open bug on this. I would guess that it hasn’t been fixed
because it hasn’t been reported and very few people (or just you) are
having this issue.

To diagnose it, you’ll need to provide more information about the
environment you’re using.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

More to the point – which particular Display Manager are you using?

Check the DM’s config for user listings to see if it has been changed

On 2012-12-06 21:06, brasto1972 wrote:

> log in manually, and their names reappear, until another update later on
> which wipes all of them out again

Verify the list of changed config files after any update
(/var/adm/rpmconfigcheck).


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Or he can verify by typing a name of another user
and providing the password of that user will let him in

Sorry everyone if I sounded overly annoyed. The users in my family use either KDE or gnome. I’m pretty sure the DM is KDM. I couldn’t remember where to check what it is for sure though. I doubt I’m the only one experiencing this. I’ve installed openSUSE on several computers and it happens on every single one of them. Thanks for your help.

On 2012-12-07 20:56, brasto1972 wrote:
>
> Sorry everyone if I sounded overly annoyed. The users in my family use
> either KDE or gnome. I’m pretty sure the DM is KDM. I couldn’t
> remember where to check what it is for sure though.

For example:


> cer@Telcontar:~> ps afx | grep dm
>  2253 ?        S<     0:00  \_ [kdmflush]
>  2273 ?        S      0:00  \_ [xfsbufd/dm-0]
>  2274 ?        S      0:22  \_ [xfsaild/dm-0]
>  5142 ?        Ss     0:00 /usr/sbin/rpc.idmapd
>  5354 ?        Ss     0:00 /sbin/mdadm -F -d 60 -m root@Telcontar.valinor -s -c /etc/mdadm.conf
>  5814 ?        Ss     0:00 /usr/bin/kdm
>  7166 tty7     Ss+   85:39  \_ /usr/bin/Xorg -br :0 vt7 -nolisten tcp -auth /var/lib/xdm/authdir/authfiles/A:0-B7OYta
>  6485 pts/8    S+     0:00              |       \_ grep --color=auto dm
>  7912 ?        S      0:00 /bin/bash /home/cer/bin/cridmanager
>  7913 ?        Sl     1:13  \_ java -jar cridmanager-1.4.3.jar


The line above Xorg.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Any more thoughts on this? I’ve tried to provide more information. Here’s a little more. I have had two other users log in now so that their names show up on the login screen. Counting mine, that’s three user names now listed of 11. I searched /etc for these names to see what config file might show all three user names in one line, and the only config files that do that are group config files:


# grep -ir 'brasto' /etc | grep -i 'avalon' | grep -i 'benjamin'
/etc/group.YaST2save:video:x:33:avalon,benjamin,brasto,chrystal,guest,hiram,james,james07,joyce,mark,gdm
/etc/group:video:x:33:avalon,benjamin,brasto,chrystal,emma,gdm,guest,hiram,james,james07,joyce,mark
/etc/group.old:video:x:33:avalon,benjamin,brasto,chrystal,guest,hiram,james,james07,joyce,mark

Is the user list on the KDM login screen stored in a config file in /etc? Any recommendations on any other DMs that don’t blank out all users every so often? It looks like I am indeed using KDM:


# ps afx | grep dm
  236 ?        S<     0:00  \_ [kdmflush]
  240 ?        S<     0:00  \_ [kdmflush]
  244 ?        S<     0:00  \_ [kdmflush]
  278 ?        S      0:00  \_ [jbd2/dm-0-8]
  627 ?        S      0:00  \_ [jbd2/dm-1-8]
  634 ?        S      0:00  \_ [jbd2/dm-2-8]
 1337 ?        Ss     0:00 /usr/bin/kdm
 8496 pts/1    S+     0:00              \_ grep --color=auto dm

Thank you Carlos, for the simple ps command to check for my dm. Thank you to all of you for your suggestions so far. Thank you to anyone else who can help with this issue.

Quick update: /etc/sysconfig/displaymanager does not seem to have any user name entries:

# grep -i brasto /etc/sysconfig/displaymanager

That returns no results

On 2012-12-10 00:26, brasto1972 wrote:
> Quick update: /etc/sysconfig/displaymanager does not seem to have any
> user name entries:

It could be not names but their uid numbers…


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

I searched for my uid number per your suggestion, and it isn’t in there anywhere either.

If I search /etc for usernames I get the results I listed earlier. If I search for user IDs, I get no results:

# grep -ir '1000' /etc | grep -i '1004' | grep -i '1005'

I did find this list in /etc/sysconfig/displaymanager:

# space separated list of users for which icons should be shown in KDM
# if empty, then take system defaults
#
KDM_USERS=""

Interestingly, now that 4 users have logged in, they are all listed, with icons, but none of them are in this config file. If I manually list anyone here, they don’t show up, so apparently, this config file isn’t used for the user icons. Any suggestions anyone? What other DMs do some of you use? Do they keep the list of users without blanking them out every so often?

Update: Found ShowUsers and SelectedUsers in /usr/share/kde4/config/kdm/kdmrc ; however, uncommenting out the lines and putting the user names I want manually didn’t do anything:

# User selection for UserCompletion and UserList:
# "NotHidden" - all users except those listed in HiddenUsers
# "Selected" - only the users listed in SelectedUsers
# Default is NotHidden
ShowUsers=Selected
# For ShowUsers=Selected. @<group> means all users in that group.
# Default is ""
SelectedUsers=brasto,chrystal,hiram,avalon,benjamin,james,emma

Interestingly, if I edit the icons I want to show for each user, once the users show up, it shows the icons I selected, but the users still don’t show back up in the list until they log in from scratch. And sometime in the next few weeks or days, some update will happen, and all users will be wiped from the list again. Any suggestions?

Still no luck finding anything to solve this.

On 2012-12-10 17:26, brasto1972 wrote:
>
> If I search /etc for usernames I get the results I listed earlier. If I
> search for user IDs, I get no results:
>
>
> Code:
> --------------------
> # grep -ir ‘1000’ /etc | grep -i ‘1004’ | grep -i ‘1005’
> --------------------

Actually, the list should not be under 7etc, but under /var. It is not
configuration files, but data that is written.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

It seems more like a config thing to me. In fact, there are spots in the config files I’ve found where you can list users you want, but those config files don’t appear to be used. I’ve found a little more now. It appears to be a problem with the default theme in KDM. I disabled themes and set DISPLAYMANAGER_KDM_THEME="". Now I see all users. Trouble is that now I want to remove “root” from the list. So, apparently, the only resolution I’ve found is this:

Resolution:

  1. Edit /etc/sysconfig/displaymanager and set this value: DISPLAYMANAGER_KDM_THEME=""
  2. Open “Configure Desktop”.
  3. Under “System Administration” (at the bottom), click “Login Screen”.
  4. Uncheck “Use Themed Greeter”.
  5. Apply the new setting.

Perhaps now I can configure users using a normal config file, I’m not sure. I’ll have to play around with it later when I have time again.