16
submitted 5 months ago by [email protected] to c/[email protected]

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.

top 3 comments
sorted by: hot top controversial new old
[-] [email protected] 2 points 5 months ago

This sounds like a very specific question, what problem are you really trying to solve?

Logout before suspend/hibernate, or something else?

[-] [email protected] 1 points 5 months ago

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.

[-] [email protected] 1 points 5 months ago

There’s several pages on the arch wiki that should help:

Security - Screen lockers

Session Lock, specifically the xorg/wayland triggers and units sections

this post was submitted on 26 Jan 2024
16 points (100.0% liked)

Linux

45797 readers
920 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS