Features/AutoLogin

From FedoraProject

< Features
Revision as of 22:19, 19 December 2008 by Brejc8 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Automatically login the default user after bootup

Summary

While Xerxes appreciates that he can grab a cup of coffee while waiting for his Fedora system to boot, he doesn't like his coffee preparation being interrupted by having to type in his username and password half way though the process. But He also doesn't like Mrs Xerxes looking though his Firefox history while he is out of the room.

Owner

Current status

  • Targeted release: Fedora 11
  • Last updated: (2008/12/19)
  • Percentage of completion: 0%

Detailed Description

Currently, before the user can use the computer, they have to wait through two slow procedures. Firstly the computer goes through the boot (bios, grub, init...) before presenting the user with a gdm login screen. Then it halts waiting for the user to login before continuing through to loading the desktop and auto-startup applications. On a basic system the boot takes about 50 seconds and gnome desktop with firefox, thunderbird, pidgin and rhythmbox automatically started takes another 50 seconds (not to mention the 10 seconds which are taken up by noticing the login dialogue, and typing in your username/password all while nothing is being loaded).

A better alternative to (effectively) halting half way through the boot, is to start a locked screen-saver and load the user's desktop. The user can happily walk away during the boot and when they return their desktop is fully loaded. Also they can be sure no one has messed around with it while they were away.

  • On 1 user systems gdm can be set to log directly into the default account.
  • On 1.5 user systems gdm can be set to wait 10 seconds before logging into the default user account. The default user can also log into the machine vino server to use the computer remotely after a reboot.
  • On multi user systems the user can login using plymouth. They can then go for a coffee and return when it is finished loading. When gdm starts it will log into the user's account. (to be decided)

Benefit to Fedora

Fedora is becoming increasingly used on single user laptops and home desktops which are frequently turned off and on. The user is only guaranteed to be present at the very beginning and the end of the boot process. Moving all user interaction to either of those periods allows the user to have fewer interruptions to whatever else they are doing. Turning on the laptop to look at Wikipedia and prove you're right becomes less of a pain if you're not repeatedly distracted in the middle of your argument.

Scope

Resurrection of gdmsetup to enable the users to change the default user, timeout and enable automatic screensaver lock.

gdm to set the appropriate shell vareables.

In gdm scripts execute a locked screensaver before gnome-session is run (if GDM_AUTOLOGIN_WITH_LOCK is set).

Equivalents for kde and xfce. Also a default xscreensaver for all others (fvwm etc.).

Initscripts to get plymouth to allow logins and set a "autologin_once" var for gdm to pick up. (to be decided)

Test Plan

  1. Get a pile of frozboz devices.
  2. Run the latest frozboz testsuite on i386 and x86_64 platforms
  3. Work with Fedora QA to ensure that we have sufficient coverage

User Experience

  1. Users of the updated version of frozboz should notice an increase in the speed of their devices over older versions.
  2. Users should notice that frozboz devices are automatically mounted and that the icon appears on the desktop

Dependencies

  • snozzle-4.5.1 or greater (already in rawhide)
  • [Features/FirewireUpdate]

Contingency Plan

  • revert to the current version of fozboz in Fedora and re-attempt for the next release of Fedora.

Documentation

Release Notes

Users upgrading to the latest version of frozboz from a previous version will need to run frozbozilator-update in order for previously mapped devices to be recognized under the new version.