void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

sddm and Consolekit

Open Hoshpak opened this issue 8 years ago • 11 comments

continuation of https://github.com/voidlinux/void-packages/issues/8048

@the-maldridge since you fell victim to a netsplit on freenode before I could reply, here are my current findings:

sddm-0.18.0 still doesn't work with ConsoleKit2 out of the box. It correctly detects the ConsoleKit interface but then the process stalls until it is terminated without any error messages, the DM is not launched.

I had more luck after trying to compile sddm with the changes proposed in https://github.com/sddm/sddm/pull/923 . The patched sddm binary sucessfully launches with ConsoleKit2 running and elogind absent. The shutdown and reboot buttons in sddm work and I can launch a lxqt session from sddm. I don't know if there's any other functionality to test for ConsoleKit. With these patches, sddm-0.18.0 works more or less the same way 0.15.0 did before.

Hoshpak avatar Aug 13 '18 19:08 Hoshpak

I'm assuming you're referring to 0.15.0_3 and 0.18.0 here?

the-maldridge avatar Aug 13 '18 20:08 the-maldridge

indeed.

Hoshpak avatar Aug 13 '18 20:08 Hoshpak

Well it looks like the best case is still waiting another 6 months for sddm to get around to making a release with the fix in it. They aren't particularly fast about pushing releases.

the-maldridge avatar Aug 13 '18 20:08 the-maldridge

hmm where are we at with this. AFAIK sddm now uses elogind only.

CameronNemo avatar Sep 06 '19 06:09 CameronNemo

wow this has been sitting for quite a long time. I've completely lost state on this, care to fill me on on your thoughts @CameronNemo ?

the-maldridge avatar Sep 06 '19 06:09 the-maldridge

Looks like alpine linux is using it with only elogind so we should be able to do it also? Since ConsoleKit isn't maintained anymore it is the right way to go I guess?

https://git.alpinelinux.org/aports/tree/community/sddm/APKBUILD

obunden avatar Oct 13 '19 03:10 obunden

Sounds like it should be fine, just needs to actually be done.

the-maldridge avatar Oct 13 '19 04:10 the-maldridge

Indeed, if they just removed the broken Consolekit detection that would be great. The status quo of our sddm package is that it only works with elogind but does not break completely when ConsoleKit2 is present but just ignores it instead.

Hoshpak avatar Oct 13 '19 06:10 Hoshpak

What do you think about making it conflict with ConsoleKit2? It doesn't really, but would fix this problem to a degree. My understanding is that ConsoleKit2 is also abandoned.

the-maldridge avatar Nov 08 '19 05:11 the-maldridge

I think conflicts should be reserved for cases where there is an actual conflict, not just software that doesn't work well with each other. However since sddm also has other issues and I switched to lxdm a long time ago, I pretty much don't care about the package anymore.

Hoshpak avatar Nov 10 '19 10:11 Hoshpak

Closing, as ConsoleKit2 is obsolete (#13474)

Piraty avatar Jan 12 '20 13:01 Piraty