The session-manager-workaround launcher: Silent error messages due to inaccessible paths

This launcher fixes the non-fatal error message during launch of certain GUI snaps:

Qt: Session management error: None of the authentication protocols specified are supported

How to use

parts:
  # The session-manager-workaround launcher: Silent error messages due to inaccessible paths
  # https://forum.snapcraft.io/t/the-session-manager-workaround-launcher-silent-error-messages-due-to-inaccessible-paths/20252
  session-manager-workaround:
    source: https://github.com/Lin-Buo-Ren/session-manager-workaround-launch.git
    source-tag: v1.0.0
    plugin: dump
    stage:
      - bin/*

apps:
  _app_:
    adapter: full
    command: _app_command_
    command-chain:
      - bin/session-manager-workaround

Implementation

Lin-Buo-Ren/session-manager-workaround-launch: Silent error messages due to inaccessible paths

Reference