Add ConsoleKit2 support for launching Wayland sessions

Review Request #130163 - Created June 19, 2017 and discarded

Information
Eric Koegel
kwin
Reviewers
plasma

ConsoleKit2 as of version 1.1.1 implements the Session Controller dbus calls required by Kwin to run under Wayland. This patch first looks for the login1 service before attempting the ConsoleKit service.

On a system running ConsoleKit2, logging into a text console and running:

export $(dbus-launch); export QT_QPA_PLATFORM=wayland; startplasmacompositor

Most of this patch is just shuffling code around to support both logind and CK2.

Martin Flöser
Eric Koegel
Review request changed

Status: Discarded

Loading...