Hello,
I recently installed the latest version of tumbleweed (release 20220421) in 30+ computers in my school’s computer lab.
I have one big problem - when I am on login screen after couple of minutes screen turns black, i don’t know if operating system goes to sleep etc.
I would like to prevent system from suspending/sleeping/hibernating while on login screen.
Do you have any ideas that might solve my problem?
When this is about the graphical login screen turning black after a few minutes when not used, this is simply energy saving, no suspending/sleeping/hibernating. Every touch of the keyboard brings it to live again.
So when you have to push the power button it is suspending/sleeping/hibernating, when it lights up when you start typing, it is not.
Just to help looking for a solution in the correct direction.
administrator@localhost:~> sudo su
[sudo] password for root:
localhost:/home/administrator # su -l -s /bin/sh gdm
gdm@localhost.localdomain:/var/lib/gdm> gsettings set org.gnome.desktop.session idle-delay 0
gdm@localhost.localdomain:/var/lib/gdm> DCONF_PROFILE=gdm dconf dump /org/gnome/desktop/session
error: dconf dir must end with a slash
Usage:
dconf dump DIR
Dump an entire subpath to stdout
Arguments:
DIR A directory path (starting and ending with '/')
gdm@localhost.localdomain:/var/lib/gdm> DCONF_PROFILE=gdm dconf dump /org/gnome/desktop/session/
/]
session-name='gnome-login'
gdm@localhost.localdomain:/var/lib/gdm>
So as expected the first command did not actually set any value at all. Dconf writes via D-Bus service, so dbus-launch in this post was absolutely necessary.