Features/AutoLogin

From FedoraProject

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

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.

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

User Experience

  1. Users should not notice anything unless they specifically set up autologin.
  2. Otherwise it should behave as described above

Dependencies

FIXME to be filled in as features are implemented upstream

Contingency Plan

Documentation

Release Notes