Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21986 ideas, 135057 comments, 2615221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #6974: Single user auto-selection login

bug This idea was marked as implemented the 10 December 10.
Written by nilium the 14 Apr 08 at 05:56. Category: Usability. Related project: Nothing/Others. Status: Implemented
Rationale
I'm the only user of my MacBook Pro. The login manager automatically selects my username, so I only need to type in my password. It would be nice to have this feature in GDM/KDM considering most systems are only accessed by one user. Also, it could remember that last user that logged in and make it default until another user tried to log in.
Tags: (none)

567
votes
implemented
Selected solution (#1): Auto-generated solution of idea #6974
Written by nilium the 14 Apr 08 at 05:56.
Ubuntu Brainstorm was updated in January 2009. Since the idea #6974 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!
204
votes
implemented
Selected solution (#2): Add it to the GDM settings.
Written by Darwin Survivor the 29 May 10 at 16:28.
You can currently enable auto-login and timed-login, why not "auto select"?

Attachments
No attachments.


Duplicates


Comments
Awikatchikaen wrote on the 14 Apr 08 at 09:57
In GDM I don't know but in KDM, it's already working. My PC autoselect my count at startup.

Cypher wrote on the 14 Apr 08 at 10:11
Confirmed, KDM does that already.

hardyn wrote on the 14 Apr 08 at 10:13
its already in, under the login setup there is an assume user section.

Im not not my ubuntu box right now, so i cant tell you exactly where to go, but i have mine set up as such.

azimout wrote on the 14 Apr 08 at 14:58
+1
I would take this one step further: login the single user (so run all user-specific initialization) and lock the screen. So when I come back and type in my password, I don't need to wait for all my programs to launch...

Lex wrote on the 14 Apr 08 at 17:36
@ azimout

good idea

Manos wrote on the 11 May 08 at 21:13
@nilium
You can solve that problem...
System->Administration->Login Window
Under Local Tab, select one of the themes:
-Happy GNOME with Browser
-Human List

If there is only one user, it will be pre-selected.
You just type your password.

peter swinkels wrote on the 10 Jul 08 at 16:15
I use the "Human List" login window in Ubuntu Hardy Heron with GNOME. My username doesn't get automatically selected, although it's the only one. I any idea on how to fix this? Thanks in advance.

fermulator wrote on the 11 Jun 09 at 19:11
I can confirm this problem exists in Januty. I'm running a GDM theme called "Jaunty Human Face" (http://www.gnome-look.org/content/show.php/Jaunty+Human-Face?content=105416).

The problem isn't really with what theme one uses for the GDM. It's more generic:

IF a theme uses the "Face Browser" (or perhaps even if they don't), then it should be configurable for the user as follows:
A) Specified user is automatically selected (default)
* TIP: On first install, this would default to the user with the lowest uuid.
B) Most recent user to login (via GDM, not terminal) is automatically selected

These options should be configurable in the "local" tab of the "Login Window Preferences"

fermulator wrote on the 25 Jul 09 at 15:19
So at what point do we convert this "idea" into an enhancement bug request?

pitti (Ubuntu developer) wrote on the 7 Dec 10 at 15:26
Thank you for this suggestion!

This was reported in 2008 (i. e. the time frame of Ubuntu 8.04 LTS), when we still had the version 2.20 series of the "gdm" login manager. There it was indeed necessary to type your complete user name every time, which is rather uncomfortable on a standard desktop system.

gdm in Ubuntu 9.10 and later went a long way towards making this more user friendly: It now displays a list of users instead of just presenting an "user name:" input line, so instead of having to type your entire user name, you can just select it with the mouse, or type the first few letters of your user name to use the standard typeahead search in lists.

Since the user names in that list are sorted by number of logins in the last week, you only need to press Enter once to select the topmost one (which is the one you want to log in as if you only have one user). So I think this issue got a lot better in current Ubuntu versions. This sorting by "popularity" implements the second half of this request ("it could remember that last user that logged in and make it default until another user tried to log in") in a fairly robust manner.

So the remainder of this request is to check if there is just one user and preselect it, so that you just have to enter your password; this would save the remaining Enter key stroke. Indeed we already had a quick debate over this in the past already (in the #ubuntu-desktop IRC channel, with Tomaszewski), where we decided that the current behaviour is preferable to preselecting the user. The reason is that the act of logging in quickly becomes an act of "muscle memory", where you don't pay a lot of attention to what is going on screen, and you mechanically and quickly exercise the "type user name, Enter, type password" sequence. Now, if this behaviour would change depending on whether you just have one or more users, and you suddenly add or remove a second user, then it is very likely that you type your password into the user name list, or your user name as the password, and not only get a failure, but also show your password in cleartext on the screen, which is generally considered bad (especially if someone is watching over your shoulder in public environments). The current gdm behaviour has the advantage that it is still backwards compatible to the login procedure in virtual terminals, and older gdm versions: you still _can_ type your full user name, you just don't have to any more.

So in summary, we favored consistency and predictablility over the extra effort to press Enter once. This hasn't been a very strong opinion or decision, though, and the desktop team would be happy to revise it.

Now my question to the voters/submitters here: Do you feel that the improvements since Ubuntu 9.10 sufficiently solve your use case, or would you still like to have the user preselected at the price of now actually having to actively check what the login manager shows to you?

Thank you,

Martin Pitt
p. P. the Ubuntu Desktop Team

DavidNielsen wrote on the 10 Dec 10 at 22:09
Perhaps the revealing of the password could be a bit like on a cellphone

Approximation:

m
*o
**n
***o

That seems like a good compromise.

planckscnst wrote on the 12 Dec 10 at 14:56
I set up my network to automatically select my username and only require me to enter a password. It has been this way for about 6 months. The netbook isn't using Ubuntu or even GDM, but the result may still be relevant.

I have now become used to logging in by typing my password and hitting enter. This means that when I log into other systems (or even my own system if my username gets cleared for some reason), I mistakenly end up typing my password in the username field and hitting enter. This displays my password in clear text on the screen. If I hit enter on the password field again (thinking "Why did nothing happen? I must have not hit enter firmly enough."), there is an authentication failure and the password gets logged in plain text as a username.

This situation is not ideal.

DutchSherpa wrote on the 13 Dec 10 at 20:56
My personal preference for what it's worth.
I'd like to see all users in a (graphically designed) list, not hidden in a dropdown. Which user is preselected depends on my settings: the last user or the default user.
The cursor blinks in the password field. In the rare case the preselected user is not me, I need to go back to the list and select my name.

stoffel wrote on the 14 Dec 10 at 23:55
As this is a brainstorm session, what about solving this in a very different way by *always* putting the default focus on the password field?

Scenario's:

1) There is only 1 user, the user enters his password in the selected password field and hits return. All is fine.

2) There is only 1 user, the user enters by accident her username in the selected password field and hits return. An error will be shown because the password is wrong.

3) There are multiple users, a user enters her password in the selected password field and hits return. The username field now will be selected and the user needs to enter her username. If she thought she was on a single-user system, her password will not be revealed to anyone or to any log file.

4) There are multiple users, a user enters by accident her username in the selected password field and hits return. An error will be shown because the systems checks if the value in the password field is a system user. After closing this error, the password field is emptied and selected again. This "username in the password field check" will prevent the user to accidentally type her password in the username field.


Post your comment