How to get keyboard focus on login screen password field in OS X 10.8? My computer doubles as a server, so I leave it turned on and not asleep, but logged out, most of the time.

In 10.6, if I logged out of the computer for an extended period of time, I could log back into it without touching the mouse or without the screen having come on yet by pressing any key to get rid of the screen saver, then typing my password and hitting return.

In 10.8, if I log out of the computer for a short period of time then this is still possible; when you log out, the keyboard focus (blinking cursor) is on the password field. However, if I log out for a long period of time - I don't know how long exactly, maybe just enough for the display to turn off - then it doesn't work; after waking the screen, the keyboard focus is nowhere. The only way I can log in again is by using the mouse to click on the password field, which puts focus back so I can type there.

For reasons too complicated to go into, this is highly annoying to me and I would like to be able to login using the keyboard only (without using a mouse or looking at the display). My questions:


Is this standard behaviour or something I have set up wrong somehow?
Is there some key combination I can press to focus the login field?
Is there a setting that will mean the login field always stays focused?


By the way, I only have a single account on the computer (that is visible on that screen, I mean).
I have also been bothered by this and some trial and error led me to discover that the login screen keyboard focus problem is not caused by the display turning off. Setting the display to never sleep in System Preferences revealed that there is a screen saver that appears when the computer is left idle at the login screen. The login field retains focus until the screen saver appears, and when the screen saver goes away, the field no longer has focus.

This screen saver is not controlled by the screen saver settings in System Preferences, so I have not found a way to disable it. However, I did find a setting that I use as a workaround. There is a Terminal command that can be used to set the amount of idle time before the screen saver appears. I just set it to a number of seconds that is higher than the amount of time I am usually away from the computer. To change this setting you can open the Terminal (in /Applications/Utilities) and run the following command:

sudo defaults write /Library/Preferences/com.apple.screensaver loginWindowIdleTime 10800


Of course you should replace the 10800 with a number of seconds that will work for you. This command is documented by Apple Support in the article "Configuring a screen saver to run at the Login Window."

http://support.apple.com/kb/HT4625

The article refers to OS X v10.6 specifically, but I used it on Mountain Lion 10.8.