Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

SOLVED Buster XFCE: How to find the cause of random crashes?

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
User avatar
sunrat
Administrator
Administrator
Posts: 6465
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 473 times

Re: Buste XFCE: How can I find the cause of random crashes?

#21 Post by sunrat »

stevepusser wrote:You have described an Intel serial device, just as it says. That is not a video device. You only have the Nivdia GPU.
Oops there I am being caught out giving incorrect advice, no Intel GPU. Still correct is it's not Optimus as suggested earlier.
Also correct is the GT210 should be well supported by the nouveau driver so it's possible the crashes have a different cause entirely.

It makes reading lines of terminal output much easier if they are included in tags. Please do that.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: Buste XFCE: How can I find the cause of random crashes?

#22 Post by efrpcabo »

Just to post my feedback.
Here's what I've done:

install recommended packages at terminal as root:
apt update
apt install firmware-misc-nonfree
apt install intel-microcode
reboot


install and run nvidia-detect to find out which nvidia driver to use
apt update
apt install nvidia-detect


run nvidia detect
nvidia-detect
output:
Detected NVIDIA GPUs:
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218 [GeForce 210] [10de:0a65] (rev a2)
Checking card: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
Your card is only supported up to the 340 legacy drivers series.
It is recommended to install the
nvidia-legacy-340xx-driver
package.


---------------------------------------------
install nvidia-legacy-340xx-driver

before installation
check the current driver in use (do it again later)
lspci -k | grep -EA3 'VGA|3D|Display'
output:
02:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
Subsystem: ASUSTeK Computer Inc. GT218 [GeForce 210]
Kernel driver in use: nouveau
Kernel modules: nouveau


installation
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//') nvidia-legacy-340xx-driver

reboot [as recommended by the Wiki, so that Nouveau becomes blacklisted


after installation
lspci -k | grep -EA3 'VGA|3D|Display'
output:
02:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
Subsystem: ASUSTeK Computer Inc. GT218 [GeForce 210]
Kernel driver in use: nvidia
Kernel modules: nvidia


So far I hadn't any crash (log out), but I think it's too soon to reach a conclusion.

User avatar
sunrat
Administrator
Administrator
Posts: 6465
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 473 times

Re: Buste XFCE: How can I find the cause of random crashes?

#23 Post by sunrat »

Nice work. Fingers crossed!

Just as a vaguely related comment, I have an Nvidia GTX 560 Ti which freezes with the Nvidia driver but not with nouveau. There's no universal solution.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: Buste XFCE: How can I find the cause of random crashes?

#24 Post by efrpcabo »

sunrat wrote:Nice work. Fingers crossed!
Thank you!

Until now, I haven't experienced any crash.
But today is sunday and I only have been little time at the computer.

But now my display manager crashes immediately when I log out with "Crtl + Alt + Delete":
I just see a black screen with the cursor blinking in the top left corner. And the greeter doesn't appear.

Before the Nvidia driver installation, when I pressed "Crtl + Alt + Delete" I would log out and the greeter would appear.

However, when I log out using the button in the panel (log out, restart, shutdown, etc), it works well and goes to the greeter.
I just see for a split second the image of the Nvidia logo.

So I think this is directly related with the Nvidia driver installation.

From another computer, I am able to restart the display manager if I log in with ssh and run this:
systemctl restart display-manager

Any ideas on how to make "Crtl + Alt + Delete" behave like it used to?

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: Buste XFCE: How can I find the cause of random crashes?

#25 Post by efrpcabo »

I checked in my keyboard settings and "Crtl + Alt + Delete" lauches command "xflock4".

And then, if I hit "Crtl + Alt + Delete" a second time, I get a reboot.

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: Buste XFCE: How can I find the cause of random crashes?

#26 Post by efrpcabo »

After googling, I came across this thread:
https://unix.stackexchange.com/question ... l-shutdown

This led me to investigate a bit:
which xflock4
output:
/usr/bin/xflock4

mousepad /usr/bin/xflock4
[see below]

which xfce4-screensaver
outuput:
[none]

which screensaver
outuput:
[none]

apt update
apt install xfce4-screensaver
Then, I logged out using the the button in the panel (log out, restart, shutdown, etc).

Then, I pressed "Crtl + Alt + Delete" and now it works well:
I get logged out and go to the greeter.

However, the greeeter is different than it was.

Before, the greeter was like this:
https://linuxdicasesuporte.blogspot.com ... or-de.html

It's a nice and beautiful greeter, just not the same.
I don't now why.
It has my wallpaper as it's background image.

And it has the options:
- User
- Password
- Switch User
- Cancel
- Shutdown

If I introduce the password, I enter the display manager and everything works well.

If I choose "Switch User, I get a black screen with the cursor blinking in the top left corner.
And the greeter doesn't appear.
I press "Crtl + Alt + Delete" and the computer reboots.

Terminal:
mousepad /usr/bin/xflock4
#!/bin/sh
#
# xfce4
#
# Copyright (C) 1999, 2003 Olivier Fourdan (fourdan@xfce.org)
# Copyright (C) 2011 Guido Berhoerster (guido+xfce.org@berhoerster.name)
# Copyright (C) 2011 Jarno Suni (8@iki.fi)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#

# First test for the command set in the session's xfconf channel
LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)

# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
for lock_cmd in \
"$LOCK_CMD" \
"xfce4-screensaver-command --lock" \
"xscreensaver-command -lock" \
"light-locker-command --lock" \
"gnome-screensaver-command --lock" \
"mate-screensaver-command --lock"
do
if [ ! -z "$lock_cmd" ]; then
$lock_cmd >/dev/null 2>&1 && exit
fi
done

# else run another access locking utility, if installed
for lock_cmd in \
"xlock -mode blank" \
"slock"
do
set -- $lock_cmd
if command -v -- $1 >/dev/null 2>&1; then
$lock_cmd >/dev/null 2>&1 &
# turn off display backlight:
xset dpms force off
exit
fi
done

# else access locking failed
exit 1

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: Buste XFCE: How can I find the cause of random crashes?

#27 Post by efrpcabo »

After some minutes after logging out by pressing "Crtl + Alt + Delete", I get a black screen with the cursor blinking in the top left corner.
And the greeter doesn't appear.
I press "Crtl + Alt + Delete" and the computer reboots.

I think this happens because the power manager options gets my computer to suspend or hibernate, but I'm just gessing here.
But my system is set to never suspend or hibernate in the Power Manager settings.
But I guess this settings are getting overrided by something else now. Problably the same cause the causes the different greeter.

I someones has some clue, please post here.
Or if there's a way to reinstall or reset the greeter and screensaving and power manager options.

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: Buste XFCE: How can I find the cause of random crashes?

#28 Post by efrpcabo »

I've read this in the Wiki. The instructions don't mention Buster, but I guess it may apply to it also:
https://wiki.debian.org/Suspend

And tried disabling suspend and hibernate:
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

But immediatly after logging out by pressing "Crtl + Alt + Delete", I get a black screen with the cursor blinking in the top left corner.

So, I disabled it again running this:
systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target

I'm running out of ideas :roll:

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: Buste XFCE: How can I find the cause of random crashes?

#29 Post by efrpcabo »

The good news is I'm working for some hours here at the computer and the crashes seem to be gone.

But the problem now is my computer must shutdown every time I stop working.
Because if I don't shut it down, I will get the blinking cursor when I come back later.

User avatar
NFT5
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 598
Joined: 2014-10-10 11:38
Location: Canberra, Australia
Has thanked: 10 times
Been thanked: 43 times

Re: Buste XFCE: How can I find the cause of random crashes?

#30 Post by NFT5 »

When I was running XFCE I found that the Power Manager didn't play nice with Gnome Screensaver and I was experiencing similar, but not as severe, problems as you are.

Disabling the Power Manager completely and using only the blank screen screensaver seemed to work.

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: Buste XFCE: How can I find the cause of random crashes?

#31 Post by efrpcabo »

NFT5 wrote:Disabling the Power Manager completely and using only the blank screen screensaver seemed to work.
How can I do that?

Is it like this?
Menu "Settings, Power Manager", then in the "Display" tab, and switch off "Display power management"

Or is other way?

User avatar
NFT5
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 598
Joined: 2014-10-10 11:38
Location: Canberra, Australia
Has thanked: 10 times
Been thanked: 43 times

Re: Buste XFCE: How can I find the cause of random crashes?

#32 Post by NFT5 »

In Stretch, that's what I did, but I just fired up the Buster installation to check and there I have removed Gnome Screensaver and left Power Manager turned on to blank after 20 minutes.

In the General tab I set the Power Button to "ask"; Sleep and Hibernate options to "Do Nothing". In the System tab Sleep mode to Suspend; When inactive for "Never". In Security tab set Lock the session to "Never".

This also seems to work.

My system is a desktop, like yours, so there is no real need for power management to save a battery, like on a notebook.

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: Buste XFCE: How can I find the cause of random crashes?

#33 Post by efrpcabo »

NFT5 wrote:In Stretch, that's what I did, but I just fired up the Buster installation to check and there I have removed Gnome Screensaver and left Power Manager turned on to blank after 20 minutes.

In the General tab I set the Power Button to "ask"; Sleep and Hibernate options to "Do Nothing". In the System tab Sleep mode to Suspend; When inactive for "Never". In Security tab set Lock the session to "Never".

This also seems to work.

My system is a desktop, like yours, so there is no real need for power management to save a battery, like on a notebook.
Yes, but don't forget I only got this issue after I installed the Nvidia driver.
I have a clone of my system, before the Nvidia driver installation, in a virtual machine, and it works well also.
I have been testing both my physival and virtual systems to see the differences in the last hours.
And I think you didn't remove the screensaver; I guess it doesn't comes installed at all in Buster.

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: Buste XFCE: How can I find the cause of random crashes?

#34 Post by efrpcabo »

Short answer

The solution was to install "xscreensaver".
This finally solved this last problem.

=========================================
Long answer

I guess I have mistaken two situations here:
- log out
- lock session

But I may be wrong, so it would be nice to know the opinion of someone more knowledgeable on this matter.

What happened was this:

---------------------------------------------
Before I install the Nvida driver, when I pressed "Crtl + Alt + Delete":
- my session would get locked
- when I moved the mouse or keyboard, the screen would present me with the greeter that appears by default since I installed Debian 10 Buster
- to see a similar greeter, see the first image in this page:
https://linuxdicasesuporte.blogspot.com ... -para.html
- this greeter also would appear after I logged out, using the menu option to log out (restart, logout, shutdown, etc)

---------------------------------------------
After I install the Nvida driver, when I pressed "Crtl + Alt + Delete":
- I would get a black screen with the cursor blinking in the top left corner
- then, if I pressed "Alt + 1" I would see for for a split second similar logs like when the computer performs a shutdown, and at the end, a terminal login prompt.
- if I kept pressing "Alt + 1", I would see the screen quickly changing between the blinking cursor at the top left corner and what I described in the line above
- if I pressed "Alt + 2", I would see a terminal login prompt, without those similar logs
- if I pressed "Alt + 3", I would also see a terminal login prompt, without those similar logs
- to get out of there I would press "Crtl + Alt + Delete" and get a reboot

---------------------------------------------
So, after some hours of googling and testing, I installed the package "xscreensaver".
And now everything works great.
However, now when I press "Crtl + Alt + Delete":
- I no longer get the greeter I used to get before (like the one in the link image above)
- but instead, I get the screensaver greeter like in this link here:
http://3.bp.blogspot.com/-s-UDjwCcDIk/U ... saver2.png

But I do keep getting the default greeter when I use the menu option to log out.

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.

In fact, I have played both with the "Screensaver" settings and the "Power Management" settings, and have waited until the screensaver appeared and have also have logged out manually, and every time I would get either the screensaver greeter or the default greeter, and so I just introduced my password and would get to the display manager (my desktop folder) like before all this situation.

=============================================

So, I am finally marking this thread as solved, since I haven't got any crash after I installed the Nvidia driver.

Thank you all that helped me on this:
Segfault
stevepusser
NFT5
ruwolf
sunrat

Regards

User avatar
NFT5
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 598
Joined: 2014-10-10 11:38
Location: Canberra, Australia
Has thanked: 10 times
Been thanked: 43 times

Re: SOLVED Buster XFCE: How to find the cause of random cras

#35 Post by NFT5 »

Thanks for updating us on this. It's good news if you have solved it.

Would you be able to give us another update in a week or so, just to confirm that the problem has definitely been resolved?

One of the things I found, trying to resolve the issue was that it would seem to go away, but then come back a few days later.

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: SOLVED Buster XFCE: How to find the cause of random cras

#36 Post by efrpcabo »

NFT5 wrote:Thanks for updating us on this. It's good news if you have solved it.

Would you be able to give us another update in a week or so, just to confirm that the problem has definitely been resolved?

One of the things I found, trying to resolve the issue was that it would seem to go away, but then come back a few days later.
Yes, I will update this in a week. You've got my word on this.

And I understand what you feel, I hate when I can't solve a problem definitively and it still appears some time in the future.

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: Buste XFCE: How can I find the cause of random crashes?

#37 Post by efrpcabo »

efrpcabo wrote: - then, if I pressed "Alt + 1" I would see for for a split second similar logs like when the computer performs a shutdown, and at the end, a terminal login prompt.
- if I kept pressing "Alt + 1", I would see the screen quickly changing between the blinking cursor at the top left corner and what I described in the line above
- if I pressed "Alt + 2", I would see a terminal login prompt, without those similar logs
- if I pressed "Alt + 3", I would also see a terminal login prompt, without those similar logs
This is incorrect.

The correct is this:
Short answer
- then, if I pressed "Alt + F1" I would see for for a split second similar logs like when the computer performs a shutdown, and at the end, a terminal login prompt.
- if I kept pressing "Alt + F1", I would see the screen quickly changing between the blinking cursor at the top left corner and what I described in the line above
- if I pressed "Alt + F2", I would see a terminal login prompt, without those similar logs
- if I pressed "Alt + F3", I would also see a terminal login prompt, without those similar logs

It is the "tty", I've taken a better look in one of my posterior tests.
Last edited by efrpcabo on 2019-09-02 15:06, edited 2 times in total.

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: SOLVED Buster XFCE: How to find the cause of random cras

#38 Post by efrpcabo »

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.

=============================================

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: SOLVED Buster XFCE: How to find the cause of random cras

#39 Post by efrpcabo »

Just to give some feedback:
- until now, not a single crash, everything is ok
- looking back now, I think the issue is related to Light Locker which issue in turn is related to the Nvidia driver installation
- fortunatelly the install and configuration of Xscreensaver solved this

User avatar
efrpcabo
Posts: 108
Joined: 2013-08-08 06:36

Re: SOLVED Buster XFCE: How to find the cause of random cras

#40 Post by efrpcabo »

More feedback:
- everything keeps going just fine
- no more crashes, not even one

One correction to my above reply!
This is wrong:
efrpcabo wrote: To do that, set this setting like this:
XFCE Power Manager, Security, automatically lock the session: never
If you set Power Manager like this, it will prevent Xscreensaver to lock the screen.
I believe Xscreensaver overrides Xscreensaver on this.

Instead, consider this:
To do that, set this setting like this:
XFCE Power Manager, Display, Blank after: [define here a time period bigger than the one set in the "Screensaver"]
XFCE Power Manager, Security, automatically lock the session: "When the screensaver is ativated" [this is only necessary to avoid choosing "Never"]


Example:
Set the lock screen in Power Manager to 60 minutes.
Set the lock screen in Xscreensaver to blank after 55 minutes and lock after 1 minute.
The lock screen will be effective at 56 minutes.
The important thing here is NOT to let the Power Manager lock the screen, by setting the Xscreensaver to lock it first.

Sorry about the extensive posts and somewhat confusion throughout this thread.
The reason for it is because this took me several days to figure out, and many minutes to wait and see if the screensaver would work or a crash would happen.
And as I was doing it, I tried to register everything, so I would lose track on changes, or forget what I did and what I hadn't already done.

Post Reply