KDE Neon Plasma will not wake up from sleep mode

Really like KDE Neon Plasma but for some reason, it just won’t wake up from sleep mode.

Here below is last response from someone who apparently found a solution:

“I was experiencing a similar issue, from not waking up down to the double hard restart to get back to a usable PC.

Based on a comment on programing.dev’s linux community, I set System Settings > Display & Monitor > Display Configuration > Color profile from None (the default setting) to Built-in, for both of my two monitors.

Since doing so, I have not experienced the issue for 5 days, whereas it was a roughly daily occurence previously.”
Kde Neon Plasma 6.4 will not wake up from sleep mode - #41 by Snowplow4221 - Help - KDE Discuss

Tried it to no avail.

Didn’t want to cross-post but, not satisfied by the non-solution and worried about getting nasty remarks from that other forum… felt this place to be more “neutral” ground.

Have tried many KDE based distros, and KDE Neon Plasma is the only one to have this issue (for me).

3 Likes

I have no idea, because I have never used sleep, but I would be experimenting with the power saving settings that affect screensave and hibernate and sleep.
You dont get many settings with the GUI, but there is a file… I think from memory it is elogind.conf or maybe logind.conf in /etc. There are dozens of settings in that file that affect things like the way sleep and hibernate interact with the lid switch on a laptop, etc.
I suspect that one of those settings needs changing.

4 Likes

Either one of those files does not appear here.

Other possibility?

1 Like

Try /etc/login.d directory?
Maybe systemd is doing another takeover.? See if you can find a relevant service?
Try /etc/systemd/logind.conf

Try ps ax | grep login . Does it find logind running?

We have to solve this. An OS that sleeps permanently is unusable.

Have a look at this topic

Especially reply no 4

Update : I found something

" The /etc/sddm.conf file is where the configuration for the SDDM login manager is stored on KDE Neon, although many settings can also be managed through the System Settings application under Startup and Shutdown > Login Screen. "

and

" KDE stores sleep configuration files in
your user’s configuration directory, primarily in ~/.config/, and specifically, the power management settings are typically located in ~/.config/powermanagementprofilesrc. Older or less common settings might be found in ~/.kde/ or ~/.kde4/ directories, though ~/.config/ is the modern standard. "
Hey, what are they doing configuring a system-wide thing like sleep in users home directory? It is not like you can sleep one user’s part of the system? Crazy.

This may also be useful

3 Likes

Before i give follow up on this last post of yours @nevj
think i may have stumbled upon a solution.

Have set power management “switch to power profile” to “performance” and “when inactive” to “run after 1 minute”.

Sleep mode has come back after 1 1/2 hours (something rather unusual).

Will see if it holds again tomorrow for extended time.

3 Likes

Update:
-after 2 hours in sleep mode, OS came back to life as expected.
Solution found i guess.

Partial response to @nevj ‘s previous post:
ps ax | grep login
709 ? Ss 0:00 /usr/lib/systemd/systemd-logind
1213 ? SLl 0:00 /usr/bin/ksecretd --pam-login 13 14
4455 pts/1 S+ 0:00 grep --color=auto login

1 Like

OK it is using systemd-logind
The config file should be in /etc/systemd/logind.conf

You have a fix, but have a play with that file… you may learn something.

2 Likes