Is it possible to resume after hibernating at the multi-user.target? Essentially logging out immediately before hibernation.
I am using xinit to start my xfce4 desktop.
How would you go about it? Preferrably without installing new programs.
This sounds like a very specific question, what problem are you really trying to solve?
Logout before suspend/hibernate, or something else?
Exactly this.
I hibernated one of my laptops and someone else opened it and just got back into my session.
I would be glad if i could use the multi.user-target for this because I experienced different issues with login managers like LightDM, GDM and SDDM and started to mistrust such.
There’s several pages on the arch wiki that should help:
Session Lock, specifically the xorg/wayland triggers and units sections