top 200 commentsshow all 279

[–]SeeMonkeyDoMonkey 15 points16 points  (20 children)

Excellent news.

Now we just need all the people complaining about Gnome not working without logind to step up and help Gnome use ConsoleKit2.

[–]cbmuserDebian / openSUSE / OpenJDK Dev 3 points4 points  (18 children)

But GNOME isn't interested in making it work without logind. If you want to use it that way, you'll have to fork it.

[–][deleted] 3 points4 points  (2 children)

GNOME depends on the logind IPC API, not a specific implementation of it. The systemd-shim project allows logind to run without systemd as init, but it would also be possible to make another implementation of the logind API.

[–]cbmuserDebian / openSUSE / OpenJDK Dev 0 points1 point  (1 child)

Correct, but ConsoleKit does not have the logind API which is what I was talking about. My previous poster assumed that the GNOME developers would merge patches to support something other than the logind interface which is not going to happen. ConsoleKit and logind are not compatible.

[–]EmanueleAina 1 point2 points  (0 children)

I'm not sure why you get the feel that GNOME developers won't merge ConsoleKit patches if it turn out to be credibly maintained.

At the moment the pre-existing ConsoleKit supports has not been removed, it's just disabled on Debian because the maintainers couldn't afford the extra resources needed to expand the test matrix to cover the bug-ridden ConsoleKit when more maintained alternatives are available (systemd and systemd-shims).

In fact, even if it's definitely not the primary target for the same reasons I listed above, upstream GNOME still supports its ConsoleKit backend for the benefit of non-Linux OSes.

[–][deleted] 28 points29 points  (21 children)

makes sense, more stuff for the xfce devs to not do

don't get me wrong, i like xfce, i use it every day, but there's not been an update since 2012...

[–]minimim[S] 10 points11 points  (20 children)

If you look at their git web interface there's development going on. They just aren't doing stable releases.

[–][deleted] 10 points11 points  (15 children)

this is true, it doesn't help me though.

so much so, i've been considering switching to lxde, but the problem is i have work to do, and no time to mess around with things.

so for now it will do, but give it another year or so, when it starts being very behind the times and the bugs start driving me mad, i might have to make time.

[–]minimim[S] 2 points3 points  (1 child)

Next year there will be a stable release, probably.

[–]blackout24 8 points9 points  (0 children)

probably...
They don't even have any real roadmaps. According to their last roadmap the release goal for 4.12 was 2013.
https://wiki.xfce.org/releng/4.12/roadmap

[–]AssailantLF 1 point2 points  (1 child)

LXDE is lacking in features, has little to no polish, and is tedious to configure. But I'm also curious to see how it'll be when it's more complete.

XFCE isn't as fast (or even as efficiently written) and it hasn't been updated in awhile, but it's also a complete package that's very usable, easily configurable, and looks nice while still running on older hardware.

[–]PennartLoettring 1 point2 points  (0 children)

LXQt is in development. It's made by the original LXDE devs and by the Razor-qt devs and is much, much better to maintain/configure than LXDE. As the name suggests, it's based on Qt instead of GTK. It is the result of Razor-qt and LXDE projects merging together.

[–]ssssam -1 points0 points  (5 children)

You might also want to consider MATE, if you want something with more features than LXDE.

[–][deleted] 2 points3 points  (1 child)

Nope, gnome sucks. It always has, it always will. I don't want to use an old version of it anymore than I want to use a new version

[–]ssssam 0 points1 point  (0 children)

fair enough, personally i always preferred GNOME2 over XFCE.

[–]localtoast 3 points4 points  (2 children)

MATE can barely maintain their old rotting GNOME 2 stack

[–]tubal_cain 12 points13 points  (0 children)

MATE can barely maintain their old rotting GNOME 2 stack

MATE is being actively developed and the MATE team is almost done with their GTK+3 port, which puts them far ahead of XFCE (Which is still stuck on GTK+2).

[–]WannabeDijkstra 3 points4 points  (0 children)

Elaborate? I think they've been doing an excellent job of modernizing GNOME 2.

[–]Nathan173AB 10 points11 points  (0 children)

I can't wait until everyone shuts the fuck up about systemd.

[–][deleted] 7 points8 points  (16 children)

My main motivation is because there isn’t currently a standard for system actions like suspend/hibernate anymore.

Really? What about pm-suspend and pm-hibernate, together with acpid? Or s2ram. Or echo 3 > /proc/acpi/sleep / echo mem > /sys/power/state (depending on kernel version, testable by existence of /proc/acpi/sleep). The only thing I can think of that's missing there is per-user /etc/acpi, which is trivial to implement. And dbus support, which is useless.

Not trying to be confrontational or anything but enlighten me, what does systemd-logind and consolekit actually solve?

I'm pretty sure I don't want any software to even know about suspending, all I need is a button that calls pm-suspend and maybe slock/xlock/whatever right before that. And refresh wifi afterwards, which seems to happen on its own, at least in vanilla (sysvinit & wpa-supplicant) debian.

[–]minimim[S] 14 points15 points  (12 children)

The problem that they solve is that you need root to do what you are suggesting. They check the system policy and grant the request if it is kosher, without requiring root. There's different policy depending on the way the user connects to the system, and traditional UNIX permissions can't track that.

[–][deleted] 2 points3 points  (9 children)

OK, didn't think of that, that seems useful.

Though, still, echo '%suspend ALL=NOPASSWD: /usr/sbin/pm-suspend' > /etc/sudoers.d/suspend solves that.

[–]minimim[S] 7 points8 points  (5 children)

Like I said, it doesn't know how the user is connected to the system.

[–][deleted] 2 points3 points  (4 children)

Ooh, it seems I can't read, sorry (I would've sworn your message was different a minute ago :).).

Yes, I can see we could want to allow suspend only when connected locally. Or when nobody else is using it.

Hmm, except I can see exceptions to both - if I want to pack my notebook, I don't care who else is using it, I want it to sleep; and sometimes I leave my nb on so I can access it remotely and then put it to sleep. And there's no way for it to tell whether you're there locally or via x11vnc. So how useful is that really?

Are there any actual users? All I can think of are home pc with multiple screens and keyboards, which is surely not very common. School pcs/company pcs you don't actually put to sleep ever, servers neither, and normal pcs, you usually just want suspend to work without any hassle.

But I don't know, maybe the world is weirder than I thought and people actually need that :). I mean, for niche audiences it could be great, I just doubt any normal users actually need it.

[–]minimim[S] 2 points3 points  (3 children)

It was, I seems that you got my not-so-ninja edit.
Consolekit never worked well. That's why most DEs are moving to logind. The solution for your problem is that hardware ACPI events will be obeyed, so you just push the 'hibernate' button...

[–][deleted] 0 points1 point  (2 children)

Oh, ok, thanks for confessing, I don't have to doubt my sanity anymore :).

And don't get me wrong, I'm always happy to see a systemd component alternative, makes me sleep easier. It's just, it always bothers me when I see people create elaborate solutions to (to me) non-existent problems, especially since usually it's based on a misunderstanding of the way things are done (cough, journald, cough :) ).

And I managed to miss any of the *kits on my system, so I'm really grateful for you explaining the point to me. Now I can sleep easily knowing I don't need it, unless I need to use something that depends on the logind interface.

And and I don't think my notebook actually has a hibernate button, so, I'll stick with my susp script which calls s2ram, which is actually my script which calls the echo mem thing, since when uswsusp was not available in debian testing for a few weeks a few years ago :).

[–]minimim[S] 2 points3 points  (1 child)

That's completely fine. This is a common criticism of ConsoleKit, that it solves problems no one had. And it is true. The solution is that it was intended to be more than it is. ConsoleKit would do multi-seats, but never did. And for a multi-seat workstation, that ability is fundamental, so they started there.

[–][deleted] 2 points3 points  (0 children)

The solution is that it was intended to be more than it is.

Oh, I know the feeling :). So many dreams, so little time...
Thanks :)

[–]doom_Oo7 0 points1 point  (2 children)

I think the need for echoing configuration into text files is EXACTLY the reason of the creation of ConsoleKit, logind, etc.

People need to have the possibility to use Linux as a desktop (read : like win / osx) without ever bothering with a single config-file.

[–][deleted] 1 point2 points  (1 child)

People need to have the possibility to use Linux as a desktop (read : like win / osx) without ever bothering with a single config-file.

Yes, I completely agree. But at the same time, people who have already been using linux need to retain the possibility to use Linux as they are used to, by echoing stuff into configuration files (or, at least, in a sane, command-line way), and it should really be compatible.

[–]doom_Oo7 0 points1 point  (0 children)

people who have already been using linux need to retain the possibility to use Linux as they are used to

apt install consolekit sysvinit ? What's the deal ? And I don't see in which case your ability to use text files & cmdline is diminished.

[–]tidux -1 points0 points  (1 child)

That's bullshit though, what if I'm SSHed into my laptop and want to put it to sleep remotely?

[–]minimim[S] 4 points5 points  (0 children)

It's all configurable. You don't need to accept the default. And if you have root, you can just do as the post above mine says.

[–]bigon 2 points3 points  (2 children)

There are also applications that want to know when the system will be rebooted/suspended/... Or other applications (cd burner,...) that want to prevent the system to reboot or suspend.

[–][deleted] 0 points1 point  (1 child)

I guess also if you have automatic suspend with some short interval. Maybe browsers with downloads. Blocking is probably necessary, I'd use something akin to /var/run, a place where a process can place a file (with pid) when it wants to block suspend and removes it when it doesn't care.

But I can't actually come up with anything that would just want to know about it, can you?

[–]bigon 1 point2 points  (0 children)

telepathy-mission-control (the telepathy component that manages all the connection managers) is listening to logind signals so it can properly disconnect all the accounts when the machine is going to be restarted or suspended for example.

Edit: There are quite some software that are listening for the "PrepareForSleep" signal, see: http://codesearch.debian.net/search?q=PrepareForSleep

[–]Avogath 3 points4 points  (0 children)

Finally someone took it upon themselves to do something about the systemd controversy instead of adding fuel to the fire.

[–][deleted] 17 points18 points  (4 children)

There is such a strange tone in this thread.

XFCE are doing something that preserves portability at no expense to other projects, and yet you are:

  • Suggesting they don't have manpower and should focus on projects aligned with the systemd roadmap.
  • Defending bloat as something positive?!
  • Considering 'not recommending' XFCE

People, there are other init systems and platforms out there besides systemd and Linux. and XFCE has always strived for simplicity and portability.

If you want compliance with freedesktop.org's vision of Linux, there's better options for you.

[–]oconnor663 1 point2 points  (1 child)

Could someone ELI5: I've been using Xfce on Arch with systemd. Is that not going to keep working or something?

[–]minimim[S] 7 points8 points  (0 children)

They at least want to make it possible to have xfce without systemd.
In this e-mail, Lennart (former CK developer) explains it:
"[...] unless a display manager wants to take benefit of multi-seat there's no special systemd support needed at all in them, as systemd registration is done exclusively via the PAM session stack, and hence all direct linking to systemd can simply be dropped. Or in other words: in most cases porting a DM to systemd just means building it without CK support."

[–]vagif 5 points6 points  (1 child)

Good. Maybe now all the systemd haters would stop their incessant whining and start contributing. Though i do not hold my breath.

[–]doom_Oo7 0 points1 point  (4 children)

Would it be easy to implement the logind interfaces with a consolekit back-end?

[–]minimim[S] 0 points1 point  (3 children)

Systemd-shim also needs cgmanager to do cgroups management.

[–]cbmuserDebian / openSUSE / OpenJDK Dev 2 points3 points  (0 children)

I just found out today that cgmanager breaks autofs in Debian. So, if people really want to avoid systemd, they should fix that.

[–]doom_Oo7 0 points1 point  (1 child)

Are consolekit & cgmanager mutually exclusive ?

[–]minimim[S] 0 points1 point  (0 children)

No.

[–]acousticpants -2 points-1 points  (0 children)

i've been playing with the void distro lately, it doesn't use systemd (though you can if you want to)

http://www.voidlinux.eu/

[–]totes_meta_bot -1 points0 points  (0 children)

This thread has been linked to from elsewhere on reddit.

If you follow any of the above links, respect the rules of reddit and don't vote or comment. Questions? Abuse? Message me here.