Ticket #777 (new defect)

Opened 13 years ago

De-serialize the login process

Reported by: broder Owned by:
Priority: normal Milestone: The Distant Future
Component: login chroot Keywords:
Cc: Fixed in version:
Upstream bug:

Description

Right now there are several elements of the cluster login that completely wrap the entire session (so that they know when the session starts and when the session exits)

Look in /etc/X11/Xsession.d for things that change STARTUP to find the scripts for which this matters.

Instead of wrapping the session entirely, many of these things should be run as a part of the session, by changing them to trigger from /etc/xdg/autostart files.

In order to tell when the session exits, they should learn the X Session Management Protocol (XSMP), probably listening over D-Bus. The Gtk applet that displays the "Browser" button on the GDM session is a good example of how to do this.

Some things do probably need to wrap the session. bugme, for instance, should wrap the session so that the session exits when bugme does. On the other hand, things like quotawarn, authwatch, and larvnet could be reimplemented in this way.

This would probably save a second or two of login time.

Note: See TracTickets for help on using tickets.