GNOME Bugzilla – Bug 321941
automatic login broken with typed username
Last modified: 2006-07-10 23:05:30 UTC
The automatic login username box in gdmsetup allows a user to type a (valid) username which is not used when they click the close button. There are two possible solutions: Disallow input of text in box to force the user to select an option. Validate the text to ensure the username exists and use it. Other information:
Yes, this dialog is a bit broken. It shouldn't allow you to type in a value at all. You have to add the user to the "Include" list on the "Users" tab and then you can pick the user in the drop down list. Try this. If using an older version of gdmsetup, you may need to restart gdmsetup for the user to appear in the list after adding to the "Include" list. Annoying, but this problem is fixed in the latest version of gdmsetup. Probably the right solution is to detach the Automatic/Timed login lists from the "Include/Exclude" lists alltogether and just let the user type in the username and accept it if it is a valid username. If we want to be paranoid we could pop-up a dialog complaining that the user is in the Exclude List or below the MinimalUid value. We should also add the ability to modify the Minimal UID value on the "Users" tab since this is needed to make root work with timed/automatic login. Some users want to do this, and its annoying to have to edit the GDM configuration files directly.
*** Bug 335234 has been marked as a duplicate of this bug. ***
"Yes, this dialog is a bit broken. It shouldn't allow you to type in a value at all. You have to add the user to the "Include" list on the "Users" tab and then you can pick the user in the drop down list." This doesn't work. I add users to the include list and apply changes, switch to auto login, they are not in list. Exit applet and reenter, still not in auto login list.
It works for me. So when you startup gdmsetup you see the users in the "Include" list on the "Users" tab, but they do not appear in the automatic login dropdown list? It is really annoying you have to exit and restart gdmsetup to see the automatic login dropdown get updated. One problem could be that if the UID's of the users you are adding to the Include list are less than MinimalUID, then they won't show up in the automatic login dropdown. Does changing MinimalUID to 0 make a difference? Note you have to do this by hand-editing the GDM configuration file, since the gdmsetup gui doesn't let you set MinimalUID. Aside from that I can't imagine why it works for me and not for you.
I added root, which is below the MinimalUID (since I didn't know there was a minimum UID restriction). When I checked include all users from passwd, I didn't think it was working. But if you exit the applet and restart it, the accounts will be in the list. The simple fix for this is to default including all users from passwd to on. The way this is right now it is very unintuitive.
Two bugs have been filed for both issues: #343206 - no error when uid is below MinimalUID #347101 - autologin user ignored when typed from keyboard Closing this bug as a duplicate of 347101. *** This bug has been marked as a duplicate of 347101 ***