Skip to content

launcher-logind: fallback to primary session

Stefan Agner requested to merge agners/weston:fallback-to-primary-session into master

In case sd_pid_get_session fails to return a session try to use the users primary session. This can be useful e.g. when trying to start Weston from inside a container, where sd_pid_get_session fails since the container engine and hence Weston started from within the container does not run under the user session.

Fixes: #401 (closed) Signed-off-by: Stefan Agner stefan@agner.ch

Merge request reports