个人工具

UbuntuHelp:AutoLogin

来自Ubuntu中文

跳转至: 导航, 搜索


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

AutoLogin?action=AttachFile&do=get&target=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) attachment:LoginSetup.png

For Ubuntu 7.04 up to 9.10

  1. Load the Gnome Administration utility by

clicking on System -> Administration -> Login Window

  1. Change to the Security tab.
  2. Enable the checkbox for Enable Automatic Login
  3. 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

  1. Unlock the window by hitting the unlock button (you will be asked the administrator password)
  2. 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! <
><
>

IconsPage?action=AttachFile&do=get&target=IconUsers.png> Please update this page, if you have figured out anything, that is not mentioned here!