lol wtf is greetd???? it forks and switches user to start the shell so your compositor is running OUTSIDE of the systemd user slice

like this is actually gross

@cas why would anyone do this?
@cas the double-fork used to be standard practice because it was the only way to make sure your daemon didn't die unexpectedly when its parent process did. we're not specifically familiar with greetd but we'd guess it's old enough to have continued that behavior without considering whether it makes sense today?
@cas erm you're supposed to fork and switch user to start the user session leader but you're supposed to do it from the process that talked to PAM 🫪
@AdrianVovk so the compositor (phoc in this case) should be inside the user slice right??? i think currently it launches gnome-session
@cas greetd is a "simple" not-display-manager-just-a-greeter primarily designed for not having to use logind at all..