Summary

The MID environment is currently launched by startx, which misses several components of session startup. Further, there is no means by which a user may create a guest session, or switch to a different username. Using a desktop manager would resolve many of these issues.

Release Note

Ubuntu MID now supports customisation of usernames, the setting of user passwords, and a better integration with granular system permissioning systems.

Rationale

For Intrepid, the MID images launched the interface with a call to startx in /etc/event.d/session. This is fragile, does not integrate well with policykit or consolekit, currently expects hardcoded usernames, and should generally be replaced with something sensible.

Use Cases

Assumptions

Design

After discussion, the decision was to keep the startx approach and fix the collateral bugs.

Implementation

Use the target username instead of hardcoding "ubuntu"; bug #319393.

This means changing casper to generate a Xsession.d snippet which uses the proper username, or a /etc/default/ubuntu-mid-default-settings which is sourced to set an $USERNAME.

This also means changing user-setup to seed the target file (either Xsession.d or /etc/default) with the target username selected during install.

Extend ck-launch-session to provision X $DISPLAY information instead of stripping XDG_SESSION_COOKIE; bug #319396.

Test plan

Verify that automounting of USB sticks (which is granted by ConsoleKit) works from a live and an installed system. Check with an installed system using the default ubuntu username, and with another username.


CategorySpec

Specs/MidDisplayManager (last edited 2009-03-17 14:20:55 by 82-69-40-219)