efrpcabo wrote:
So now there are 2 settings:
- Menu, "Power Management, Security tab, Light Locker, automatically lock the session, when the screensaver is activated"
- Menu, "Settings, Screensaver, Lock screen after..."
But no matter what I set in those, I never again have gotten another cursor blinking in the top left corner.
This is incorrect.
I made more tests, because I got another cursor blinking in the top left corner.
So, I took several hours today to figure this out completely through testing.
And happily I found the cause and solved it.
And here are the results and my records of the tests:
=============================================
01 - Starting point - first test
This were my settings when I started this test "01"
In the other tests below, I just wrote the changes I made after this first test
All my system settings can be found in previous posts in this thread.
XFCE Power Manager can be found in:
Menu, Settings, Settings Manager, Power Manager
XFCE Power Manager, General, Buttons,When power button is pressed: Ask
XFCE Power Manager, General, Buttons,When sleep button is pressed: do nothing
XFCE Power Manager, General, Buttons,When hibernate button is pressed: do nothing
XFCE Power Manager, General, Buttons,When battery button is pressed: do nothing
XFCE Power Manager, General, Appearance, Status notifications: on
XFCE Power Manager, General, Appearance, System tray icon: off
XFCE Power Manager, System, System power saving, System sleep mode: Suspend
XFCE Power Manager, System, System power saving, When inactive for: Never
XFCE Power Manager, Display, Display power management: on
XFCE Power Manager, Display, Blank after: 1m
XFCE Power Manager, Display, Put to sleep after: 2m
XFCE Power Manager, Display, Switch off after: 3m
XFCE Power Manager, Security, Light Locker, Automatically lock the session: When the screensaver is activated
XFCE Power Manager, Security, Light Locker, Delay locking screensaver for: 1s
XFCE Power Manager, Security, Light Locker, Lock screen when system is going to sleep: on
result:
black screen after 01m00s of inactivity in keyboard or mouse
cursor blink at left top at 01m03s
then I rebooted with "Ctrl + Alt + Del"
---------------------------------------------
02 - second test
XFCE Power Manager, Display, Display power management: on
XFCE Power Manager, Security, increased lock delay 01s->30s
nothing for more than 05m00s
then, freeze, some seconds after I opened Gthumb and set it to open a new instance for clicking new files and opened another file
it was the first time I had a freeze with Debian 10 Buster
rebooted display manager with ssh from another machine with "systemctl restart display-manager"
after one or two minutes, I got another freeze
rebooted
and couldn't reproduce this anymore
I don't know what happened, but maybe something related to ssh or "systemctl restart display-manager"
rebooted with ssh from another machine with command "reboot"
---------------------------------------------
03
XFCE Power Manager, Display, Display power management: on
XFCE Power Manager, Security, reduced lock delay 30s->10s
black 01m00s
blink 01m13s
then I rebooted with "Ctrl + Alt + Del"
---------------------------------------------
04
XFCE Power Manager, Display, Display power management: on
XFCE Power Manager, Security, reduced lock delay 10s->01s
black 01m00s
blink 01m03s
then I rebooted with "Ctrl + Alt + Del"
---------------------------------------------
05
XFCE Power Manager, Display, Display power management: off
XFCE Power Manager, Security, lock delay 01s
black 01m00s
blink 01m03s
then I rebooted with "Ctrl + Alt + Del"
---------------------------------------------
06
increased blank after: 1m->2m
black 02m00s
blink 02m03s
then I rebooted with "Ctrl + Alt + Del"
---------------------------------------------
07
XFCE Power Manager, Security, increased lock delay 01s->20s
black 02m00s
02m10s: I touched the keyboard space bar and the desktop folder appeared
---------------------------------------------
08
black 02m00s
blink 02m23s
then I rebooted with "Ctrl + Alt + Del"
---------------------------------------------
09
XFCE Power Manager, Security, automatically lock the session: never
02m30s: I touched the keyboard space bar and the desktop folder appeared
---------------------------------------------
10
XFCE Power Manager, Display, blank after: 2m->3m
XFCE Power Manager, Security, automatically lock the session: when the screensaver is activated
XFCE Power Manager, Security, increased lock delay 01s->20s [note]
note: because it automatically goes to 01s when "automatically lock the session" is set to "never" which happened in test 09
03m00s black
03m10s: I touched the keyboard space bar and the desktop folder appeared
---------------------------------------------
11
black 03m00s
blink 03m23s
then I rebooted with "Ctrl + Alt + Del"
---------------------------------------------
12 - started testing Screensaver
Screensaver can be found in:
Menu, Settings, Settings Manager, Screensaver
Note: needs to be installed, doesn't come by default with Debian 10 Buster
the package name is "xscreensaver"
Screensaver settings:
Mode: Only one screensaver [but I think you can safely set what you like here]
Screensaver, blank after 1m
Screensaver, lock after 1m
01m03s screensaver appeared, I did nothing and waited until 01m20s
01m20s: I touched the keyboard space bar and the desktop folder appeared
---------------------------------------------
13
01m03s screensaver appeared
02m10s: I touched the keyboard space bar and the screensaver greeter appeared, I introduced my password and the desktop appeared
---------------------------------------------
14
01m03s screensaver appeared
01m30s: I touched the keyboard space bar and the desktop folder appeared
---------------------------------------------
15
XFCE Power Manager, Security, automatically lock the session: never
XFCE Power Manager, Display, blank after: 3m->1m
Screensaver, blank after 2m
Screensaver, lock after 1m
01m10s: nothing happened, so I advanced to test 16
---------------------------------------------
16
XFCE Power Manager, Display, Display power management: on
01m10s: nothing happened, so I advanced to test 17
---------------------------------------------
17
02m03s screensaver appeared, I did nothing and waited
02m10s: I touched the keyboard space bar and the desktop folder appeared
---------------------------------------------
18
02m03s screensaver
03m10s: I touched the keyboard space bar and the screensaver greeter appeared, I introduced my password and the desktop appeared
---------------------------------------------
My conclusion:
In Debian 10 Buster, don't allow "Power Manager" to "automatic lock" the screen
To do that, set this setting like this:
XFCE Power Manager, Security, automatically lock the session: never
And instead use the "Screensaver" to configure the automatic screen lock
As I mentioned above, the package xscreensaver has to be installed because it doesn't comes by default in Buster
Screensaver settings:
Screensaver, blank after "x" minutes
Screensaver, lock after "x" minutes
"x" minutes = 10, 30, 300, etc, whatever you want
Example:
Screensaver, blank after 30 minutes
Screensaver, lock after 1 minutes
When you don't touch the mouse or keyboard for 30 minutes, the screensaver will appear, but the screen won't be locked
And 1 minute after it appears, the screen will be locked and when you touch the keyboard it will ask for your password (screensaver greeter)
Success in solving the crashes (logouts).
Success in solving the black screens with blinking cursor.
=============================================