ResetDesktopSession

Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2006-11-09 17:40:23
Size: 531
Editor: 207
Comment:
Revision 6 as of 2006-11-11 01:31:33
Size: 3883
Editor: 207
Comment: approver comments
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
In K12LTSP, there is a session named "Reset your desktop" that simply removes all Gnome & KDE configuration before starting the default session. LTSP also has trouble with persistent session processes and /tmp/ files; these hang around and cause login and desktop configuration problems in some cases. ##(see the SpecSpec for an explanation)
Line 3: Line 3:
Edubuntu will provide a "Reset your desktop" session that users can select to start over with Gnome & KDE, and Edubuntu will implement the scripts from K12LTSP that clean up session processes and /tmp/ files at login/logout. ''Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.''

## Register at https://launchpad.net/distros/ubuntu/+specs
 * '''Launchpad entry''': https://features.launchpad.net/distros/ubuntu/+spec/edubuntu-reset-desktop-session
 * '''Packages affected''': a new package will be created to install this session and these scripts.

== Summary ==
Users' desktop configurations sometimes need to be reset, and some buggy applications leave cruft around in the form of processes and /tmp files. Edubuntu will solve these problems by integrating scripts from K12LTSP.

'''While I realise that one of the major use cases comes from LTSP, this doesn't seem at all Edubuntu-specific. Could you talk to the desktop teams and find out whether this can be applied more generally? Given the choice, I'd rather that this sort of thing be available across the board. --ColinWatson'''

== Rationale ==
Users sometimes lose access to Gnome menus, or other desktop configuration strangenesses prevent them from using their desktops. Leftover session processes and /tmp files can render a user unable to log in at all. These situations must be addressable within Edubuntu.

== Use cases ==

 * Margie accidentally deletes her Gnome panels and doesn't have access to the menus and doesn't know how to get them back. She logs in again and selects the "Reset My Desktop" session. After clicking through a warning "YOU ARE DELETING YOUR DESKTOP CONFIGURATION OMG!" her desktop configurations (Gnome & KDE) are removed and she is given a default system session with a fresh configuration.

 * Romulus is working in Lab A and Remus decides to pull out his network cable. Romulus' session is lost because he has no server connection. He authenticates to another terminal but leftover processes and /tmp files from his previous session prevent his desktop from starting completely and he is unable to work.

== Scope ==
Leftover processes and /tmp files are bugs that need fixing; Edubuntu will document these bugs and provide a workaround that system administrators can enable as they wish.

== Design ==
Edubuntu will provide a "Reset your desktop" session that users can select to start over with Gnome & KDE. This session already exists in K12LTSP and will require only minor changes for integration into Edubuntu. Edubuntu will provide warning in the session selector that the user is deleting all desktop configuration.

Some applications are leaving around processes and /tmp/ files after sessions are terminated (by logout or network failure, etc.). Edubuntu will ship but not enable the scripts from K12LTSP that clean up session processes and /tmp/ files at login/logout. Edubuntu will document how to enable these cleanups should the administrator wish to do so. In addition, the Edubuntu team will study and document which processes are hanging around and leaving cruft under /tmp/ in order that these application bugs can be logged and fixed.

== Implementation ==

EricHarrison's "Reset desktop" script from K12LTSP whacks everything under these locations: .screenrc .kde .kde2 .gnome_private .gconfd .gconf .nautilus .gtkrc .gnome. Edubuntu will protect .gconf/apps/evolution. A zenity warning will be presented to the user when this session is selected to make the impact clear.
'''Why does .screenrc need to be removed? That seems pretty unnecessary. --ColinWatson'''

=== Code ===

Code will be borrowed from K12LTSP.

=== Data preservation and migration ===

Only evolution's configuration will be preserved and left in place. All other configuration files to be reset will be rolled into a tarball named something helpful such as "desktop-configuration-backup.tgz".

----
CategorySpec

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

Summary

Users' desktop configurations sometimes need to be reset, and some buggy applications leave cruft around in the form of processes and /tmp files. Edubuntu will solve these problems by integrating scripts from K12LTSP.

While I realise that one of the major use cases comes from LTSP, this doesn't seem at all Edubuntu-specific. Could you talk to the desktop teams and find out whether this can be applied more generally? Given the choice, I'd rather that this sort of thing be available across the board. --ColinWatson

Rationale

Users sometimes lose access to Gnome menus, or other desktop configuration strangenesses prevent them from using their desktops. Leftover session processes and /tmp files can render a user unable to log in at all. These situations must be addressable within Edubuntu.

Use cases

  • Margie accidentally deletes her Gnome panels and doesn't have access to the menus and doesn't know how to get them back. She logs in again and selects the "Reset My Desktop" session. After clicking through a warning "YOU ARE DELETING YOUR DESKTOP CONFIGURATION OMG!" her desktop configurations (Gnome & KDE) are removed and she is given a default system session with a fresh configuration.

  • Romulus is working in Lab A and Remus decides to pull out his network cable. Romulus' session is lost because he has no server connection. He authenticates to another terminal but leftover processes and /tmp files from his previous session prevent his desktop from starting completely and he is unable to work.

Scope

Leftover processes and /tmp files are bugs that need fixing; Edubuntu will document these bugs and provide a workaround that system administrators can enable as they wish.

Design

Edubuntu will provide a "Reset your desktop" session that users can select to start over with Gnome & KDE. This session already exists in K12LTSP and will require only minor changes for integration into Edubuntu. Edubuntu will provide warning in the session selector that the user is deleting all desktop configuration.

Some applications are leaving around processes and /tmp/ files after sessions are terminated (by logout or network failure, etc.). Edubuntu will ship but not enable the scripts from K12LTSP that clean up session processes and /tmp/ files at login/logout. Edubuntu will document how to enable these cleanups should the administrator wish to do so. In addition, the Edubuntu team will study and document which processes are hanging around and leaving cruft under /tmp/ in order that these application bugs can be logged and fixed.

Implementation

EricHarrison's "Reset desktop" script from K12LTSP whacks everything under these locations: .screenrc .kde .kde2 .gnome_private .gconfd .gconf .nautilus .gtkrc .gnome. Edubuntu will protect .gconf/apps/evolution. A zenity warning will be presented to the user when this session is selected to make the impact clear. Why does .screenrc need to be removed? That seems pretty unnecessary. --ColinWatson

Code

Code will be borrowed from K12LTSP.

Data preservation and migration

Only evolution's configuration will be preserved and left in place. All other configuration files to be reset will be rolled into a tarball named something helpful such as "desktop-configuration-backup.tgz".


CategorySpec

Edubuntu/Specifications/ResetDesktopSession (last edited 2010-01-21 15:57:59 by 196-210-177-89-wblv-esr-3)