This page applies to Ubuntu 7.04 and higher.

One of the reasons that Ubuntu (and Linux) are considered so secure is because they require passwords to install software or to configure the system. They also require passwords to login to the computer. If you want to bypass the login password, there is an Auto Login function you can set and use. There are different login windows in Ubuntu and each one of them requires a different procedure to auto login.

Enabling automatic power on Login

LoginSetup.png
The screen Login settings display in Lucid Lynx (right) and in previous versions (left) (2010-05-19 09:41:06, 143.8 KB) LoginSetup.png

For Ubuntu 7.04 up to 9.10

  1. Load the Gnome Administration utility by
    • clicking on System -> Administration -> Login Window

  2. Change to the Security tab.

  3. Enable the checkbox for Enable Automatic Login

  4. Select your user account from the drop-down list of users.

(i) The super user password will still be required to install software, updates and perform other system administration tasks.

For Ubuntu 10.04 (Lucid Lynx)

  1. Load the Gnome Administration utility by
    • clicking on System -> Administration -> Login Screen Settings

  2. Unlock the window by hitting the unlock button (you will be asked the administrator password)
  3. Enable the checkbox for Log in as <<UserName>> automatically (Select your User Name from the drop-down list of users).

(i) The super user password will still be required to install software, updates and perform other system administration tasks.

Enabling automatic Login after the screen saver was activated

Uncheck: "lock screen when screen saver is activated" in the System->Preferences->Screen Saver menu.

Enabling automatic Login after suspend

  1. Type gconf-editor in a terminal (Alt+Ctrl+T to call the terminal).
  2. Go to apps/gnome-power-manager/locks
  3. Check "use_screensaver_settings".
  4. If still asked for password, you can (also in gconf-editor) go to desktop/gnome/lockdown and check: "disable_lock_screen"

Credits to itslofty below for this tip!

Enabling AutoLogin from command line

In ubuntu 10.04: sudo nano /etc/gdm/custom.conf

In Ubuntu 11.10, this has changed to ┬Ęsudo nano /etc/lightdm/lightdm.conf" - sandy(d)


CategoryPowerManagement

AutoLogin (last edited 2013-12-14 02:21:01 by knome)