-
Task
-
Resolution: Fixed
-
Major
-
None
In order to follow the principle of least privilege, we should start the compositor and all user applications/services as the user itself.
This can be achieved by creating a user session through systemd, and a system service for automatically starting this session.
Moreover, any user service needed to run in the background can easily be setup as a dependency to the session target.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
26937,1 | weston: allow weston to be started from a systemd user session | master | AGL/meta-agl-demo | Status: ABANDONED | -1 | +1 |
26938,1 | weston-ini-conf: automatically start homescreen | master | AGL/meta-agl-demo | Status: ABANDONED | -1 | +1 |
26939,1 | recipes-config: add new agl-session recipe | master | AGL/meta-agl-demo | Status: ABANDONED | -1 | +1 |
26940,1 | weston-init: start agl-compositor as part of the systemd user session | master | AGL/meta-agl-demo | Status: ABANDONED | -1 | -1 |
26942,5 | wayland: add .desktop file for weston-terminal | master | AGL/meta-agl-demo | Status: MERGED | +2 | +1 |
26943,5 | agl-demo-platform: add launcher and make it work with new App FW | master | AGL/meta-agl-demo | Status: MERGED | +2 | +1 |
26945,3 | Add sublayer for new application framework components | master | AGL/meta-agl | Status: MERGED | +2 | +1 |
26946,3 | Add templates for new application framework components | master | AGL/meta-agl | Status: MERGED | +2 | +1 |
26968,2 | weston: allow weston to be started from a systemd user session | master | AGL/meta-agl | Status: MERGED | +2 | +1 |
26973,2 | meta-app-framework: add new AGL feature and fix build | master | AGL/meta-agl | Status: MERGED | +2 | +1 |
26974,3 | meta-app-framework: add new agl-session recipe | master | AGL/meta-agl | Status: MERGED | +2 | +1 |
26975,4 | meta-app-framework: start agl-compositor in a systemd user session | master | AGL/meta-agl | Status: MERGED | +2 | +1 |
26976,3 | templates: feature: ensure agl-demo uses agl-app-framework | master | AGL/meta-agl-demo | Status: MERGED | +2 | +1 |
26977,4 | homescreen: convert to using the new App FW | master | AGL/meta-agl-demo | Status: MERGED | +2 | +1 |
27016,1 | agl-compositor-init: set proper environment for Qt apps | master | AGL/meta-agl-demo | Status: ABANDONED | -1 | -1 |
27056,2 | homescreen: import environment file on service start | master | AGL/meta-agl-demo | Status: MERGED | +2 | +1 |
27059,1 | agl-users: remove | master | AGL/meta-agl-demo | Status: MERGED | +2 | +1 |
27060,2 | meta-app-framework: tweak agl-driver definition | master | AGL/meta-agl | Status: MERGED | +2 | +1 |