Replace Elogind with ConsoleKit2?

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
brocashelm
Posts: 26
Joined: 22. Jun 2023, 20:24

Replace Elogind with ConsoleKit2?

Post by brocashelm »

Is there a way I can do that and still keep Xfce? I am aware that Salix 15.0 follows Slackware's decision to drop ConsoleKit2 in favor of Elogind, plus adding more Wayland and other Freedesktop.org components in the dependencies. I would simply like to omit those kinds of things, if it's possible to build without them. Upon checking the repository, all I see is Nologind, but I have no idea on how to use that (I tried running it as a command, but nothing worked).

Plus, I am not a fan of the newer versions of Xfce, and would prefer to go back to 4.12 (GTK2) if possible. Can you not add the 14.2 repositories, install those Xfce components, and then exclude them from being updated via 15.0? Or, better to just build it straight from source? I noticed this repository exists, but I haven't tried it yet.
djemos
Salix Warrior
Posts: 1495
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Replace Elogind with ConsoleKit2?

Post by djemos »

While technically possible in a manual setup, dropping elogind in favor of ConsoleKit2 in Slackware 15.0 is not recommended. In Slackware 15.0, elogind is considered the "standard" for session management without systemd. Removing it will make the system "incompatible" with most of the current package repository. You have to recompile hundreds of packages.
User avatar
brocashelm
Posts: 26
Joined: 22. Jun 2023, 20:24

Re: Replace Elogind with ConsoleKit2?

Post by brocashelm »

Not even with a "dummy" package for a build workaround? A few other distros have that, and I was able to get ConsoleKit2 and Seatd working splendidly with software like KDE and Network Manager. Perhaps I'll do a reinstall of Salix 14.2 and try to exclude Elogind and the rest of them as much as possible.
djemos
Salix Warrior
Posts: 1495
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Replace Elogind with ConsoleKit2?

Post by djemos »

You can build a package.
Download all from here in a folder consolekit2.
Enter the folder and type

Code: Select all

fakeroot sh ConsoleKit2.SlackBuild
install the package

Code: Select all

sudo spkg /tmp/ConsoleKit2-1.0.0-x86_64-3.txz
Post Reply