Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636174 - sys-apps/consolekit - add support for wayland sessions
Summary: sys-apps/consolekit - add support for wayland sessions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-01 16:44 UTC by Thomas Capricelli
Modified: 2020-06-30 19:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2017-11-01 16:44:20 UTC
Until recently, it was well-known that wayland sessions on gentoo would require elogind or systemd (for example https://wiki.gentoo.org/wiki/KDE#Session_tracker, but it's documented in lot of different places).

According to the announcement (https://www.kde.org/announcements/plasma-5.11.0.php) plasma 5.11 is supposed to work with consolekit2, as is traditional in a typical gentoo/openrc setup.

Unfortunately, testing with sddm (the only display manager in gentoo that knows about wayland session, as far as I know), gives exactly the same result as with previous plasma versions : a dark screen with neither error or working session.

My bet is that something is missing in plasma integration in gentoo. Problem is that i dont even known which package handle this.

Can you bring this (wonderful!) feature of plasma 5.11 in gentoo ? Or if it is already available, provide some hints on how to make it work, as the obvious test with sddm doesn't work.
Comment 1 Thomas Capricelli 2017-11-03 21:15:06 UTC
Oh, you sure it's this way around ? Consolekit needs to be adapted ?
Comment 2 Thomas Capricelli 2017-12-13 19:07:06 UTC
What's the deal ? Is the problem upstream ? (not yet implemented ?)
Comment 3 Thomas Capricelli 2017-12-13 19:14:32 UTC
ConsoleKit2-1.2.0 (last stable on gentoo/amd64) seems to have what's needed:

https://github.com/ConsoleKit2/ConsoleKit2/search?utf8=%E2%9C%93&q=wayland&type=

And as my initial report says, kwin now is patched to work with such consolekit2:

https://phabricator.kde.org/R108:6ebc3d65f032ef79f2ce7db0fa86016aadbbf18f
Comment 4 Andreas Sturmlechner gentoo-dev 2020-06-30 16:28:35 UTC
The patch landed in KWin, the code is still there, there is nothing special we have to do re logind either.

There should not be any difference between SDDM or other display managers, did you try?

Did you ever try run startplasma-wayland manually as described in the (outdated) phabricator MR?

Not that it matters much anymore, with consolekit on its way out. The typical gentoo/openrc desktop setup now has elogind.
Comment 5 Thomas Capricelli 2020-06-30 19:31:08 UTC
Since this bug report, i've indeed switched my systems from consolkit to elogind, as is customary now in gentoo.

The phabricator mentions "startplasmacompositor", which i dont have.

I can indeed now log in plasma/wayland, but only using sddm. Which is ok for me. Then lot of things are broken, but I guess it has nothing to do with this bug report which was about login in.