Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is systemd mandatory for kde/plasma with wayland?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Draenin
n00b
n00b


Joined: 24 Mar 2016
Posts: 66

PostPosted: Sun Nov 18, 2018 7:31 pm    Post subject: Is systemd mandatory for kde/plasma with wayland? Reply with quote

I want to set kde/plasma with Wayland. BUT I don't want systemd.

I am reading the documentation, it says:

- For Plasma you need Polkit
https://wiki.gentoo.org/wiki/KDE#Plasma

- Polkit depends on ConsoleKit
https://wiki.gentoo.org/wiki/Polkit

Ok, fine. We have: Plasma -> Polkit -> ConsoleKit

Now, if I want Wayland support in Plasma I need elogind. Being elogind Gentoo's developers take on systemd's logind. Oh! isn't it cute? Thank you Wayland developers for making the "new" Linux display server hard-dependent in systemd.
https://wiki.gentoo.org/wiki/KDE#Plasma

Anyway, so now we have: Wayland -> elogind.

And here comes the problem: "[When] enabling elogind support...[i]t's also recommended to disable support for other session trackers [e.g. Consolekit] to avoid conflicts".
https://wiki.gentoo.org/wiki/Elogind

Summing things up, Plasma wants ConsokeKit (because of Polkit), and Wayland wants elogind. But ConsoloKit and elogind don't get well together. So the final choices are:

1) Kde/Plasma with X11.
2) Kde/Plasma with Wayland AND systemd.

Is that it? or am I reading things wrong? I know nobody cares but in my case I think that would mean "bye bye Wayland". I don't know, I haven't completely made my mind yet.

Thanks in advance for the info.
_________________
Linux enthusiast
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Sun Nov 18, 2018 7:34 pm    Post subject: Re: Is systemd mandatory for kde/plasma with wayland? Reply with quote

No.

Draenin wrote:
I want to set kde/plasma with Wayland. BUT I don't want systemd.

I am reading the documentation, it says:
...

In short, you want to start reading from the top of the documentation: https://wiki.gentoo.org/wiki/KDE#Prerequisites

The guide would be structured a bit differently if the choice of session manager would somehow depend on Polkit. Maybe the services section should be re-ordered though...

Draenin wrote:
- Polkit depends on ConsoleKit
https://wiki.gentoo.org/wiki/Polkit

This is wrong, apparently that wiki page needs updates. A bit further down though it clarifies: https://wiki.gentoo.org/wiki/Polkit#USE_flags

Draenin wrote:
Thank you Wayland developers for making the "new" Linux display server hard-dependent in systemd.

Wayland is not a server at all. It is a protocol, and KWin is one compositor implementing that protocol.
Back to top
View user's profile Send private message
Draenin
n00b
n00b


Joined: 24 Mar 2016
Posts: 66

PostPosted: Sun Nov 18, 2018 9:49 pm    Post subject: Re: Is systemd mandatory for kde/plasma with wayland? Reply with quote

asturm wrote:
This is wrong, apparently that wiki page needs updates. A bit further down though it clarifies: https://wiki.gentoo.org/wiki/Polkit#USE_flags

Yes, the USE flags section indicates otherwise. The Prerequisites section needs a small update.

asturm wrote:
Draenin wrote:
Thank you Wayland developers for making the "new" Linux display server hard-dependent in systemd.

Wayland is not a server at all. It is a protocol, and KWin is one compositor implementing that protocol.

Your are right. I stand corrected.

ASturm, thank you for the information. It was helpful.
_________________
Linux enthusiast
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Sun Nov 18, 2018 9:55 pm    Post subject: Re: Is systemd mandatory for kde/plasma with wayland? Reply with quote

Draenin wrote:
asturm wrote:
This is wrong, apparently that wiki page needs updates. A bit further down though it clarifies: https://wiki.gentoo.org/wiki/Polkit#USE_flags

Yes, the USE flags section indicates otherwise. The Prerequisites section needs a small update.

I've tried to make some adjustments there. (it's a wiki, everyone can)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum