Desktop Team Updates - Monday 24th August 2020

snapd dbus activation:

snapd themes API:

  • snapd PR #9043 (refactor access checking for snapd’s REST API) is still waiting on a security review.
  • I’ve been working on implementing the theme API, roughly implementing what we were doing with the REST API in snapd-desktop-integration. No pull request ready just yet.

snapd interface connection API:

  • snapd PR #9168 was merged, which split out the parts to have snapctl is-connected check that the named plug/slot exists.
  • snapd PR #9132 was rebased on top of those changes. It still needs some work to support CUPS’s use case of wanting to talk to host system processes and classic confined snaps. The plan is to have it return distinct non-zero exit codes for those cases. This way the command behaves similar to regular snapctl is-connected for scripts that treat the exit status as a boolean, while still providing the information needed.

Ubuntu Core GDM Spike:

  • I put the scripts I used to build the Ubuntu Core GDM images on Github with a GH Actions workflow to build the images.
  • The artifacts found on the successful builds at https://github.com/jhenstridge/ubuntu-core-gdm-spike/actions contain an image plus instructions on how to run it in GDM.
  • I updated the images to include a basic Ubuntu session that can be run unconfined, and make /usr/share/wayland-sessions writable in order to allow installing additional sessions.
  • Using this, @alan_g managed to get his egmde-confined-desktop snap running as a user session launchable from GDM.
  • I’ve also got a partially working strict confined Ubuntu session running:
  • It still needs more D-Bus slots to let it own all the D-Bus names it needs, and has no way to launch applications in other snaps.
8 Likes