You are not logged in.
Pages: 1
If it possible to kill all processes except the base (root processes and DE, etc...) before hibernation as in windows (Fast startup mode) ?
in order to start a new session after hibernation
Offline
Sure. "man 7 signal" is your new casual read.
Offline
Look into systemd's target isolation as well. Maybe there are a few additional processes you have to clean up, though.
# logout users here
systemctl isolate basic.target
# kill remaining user processes here?
systemctl start default.targetEdit: I missed that you want to keep your xserver/wayland running, so isolate is probably too aggressive for you.
Last edited by progandy (2018-07-02 15:37:51)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
I'd also like to add, that Windows does not hibernate the desktop session, it only hibernates a login screen kind of state.
Offline
Pages: 1