By default, when Ubuntu 10.04 goes idle for a while, it requires you to enter your password to resume your session. That’s a good security precaution. However, if you are working in a secure area, or there is nobody else around, you might want to temporarily turn off this feature.

Lock out password prompt

To turn off this password prompt, press Alt + F2 to open the Run Application dialog box. Enter “gconf-editor” (without the quotes) in the edit box and click Run.

Opening Configuration Editor

In the Configuration Editor, navigate to the apps | gnome-power-manager | lock item, select lock, and uncheck the gnome_keyring_hibernate and gnome_keyring_suspend check boxes.

Turning off gnome_keyring options

Close the Configuration Editor by selecting Quit from the File menu.

Closing the Configuration Editor

You can quickly test to see if the lock out password prompt is off by entering the following in a Terminal window (to open a Terminal window, select Accessories | Terminal from the Applications menu).

$ gnome-screensaver-command -a

If turning off those options in the Configuration Editor doesn’t work, there is another setting you can turn off. Select Preferences | Screensaver from the System menu.

Opening Screensaver

On the Screensaver Preferences dialog box, uncheck the Lock screen when screensaver is active check box.

Turning off the Lock screen when screensaver is active option

You can also prevent the screensaver from coming on when the computer it idle on the Screensaver Preferences dialog box. To do this, uncheck the Activate screensaver when computer is idle check box.

Click Close to close the Screensaver Preferences dialog box.

Closing Screensaver Preferences

The next time Ubuntu goes into sleep, or idle, mode, it won’t prompt you for a password to resume your session.

NOTE: We provided this tip because it can be useful sometimes, if, for example, you have to wait for actions to finish on your Ubuntu system. However, we recommend that you leave the lock out password feature on whenever possible for a more secure environment.

by Lori Kaufman