Question

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).

Was it helpful?

Solution

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.

OTHER TIPS

At login there is a list of names (if multiple people are set to use the computer) and guest, type the first letter of the name that you want to login with, then hit enter. You are now able to enter your password.

i.e. if your name is Sam Jones press s then enter and you are ready to go.

When in sleep mode, and the screen is black, I type Command + Esc. Then I type Command + 1. This puts the focus in the password field.

This works for me on macOS 10.12.4.

Have you tried hitting the Ctrl, Option or Command keys to wake the computer?

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top