Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-09-16 07:40:48

dselen
Member
Registered: 2025-01-06
Posts: 25
Windows 10Firefox 142.0

XFCE logs out even when light-locker is disabled.

Hello everybody.
I made a ThinClient operating system with XFCE and Debian.

Once in a while I get a user that says its system has logged out!
But how is this possible when I have done:

if [ -f /etc/xdg/autostart/light-locker.desktop ]; then
    rm /etc/xdg/autostart/light-locker.desktop # Prevent auto-locking due to autostart file.
fi

And

# Disable logout on screenlock and such things. (Unneeded without light-locker)
xfconf-query -c xfce4-power-manager -np '/xfce4-power-manager/lock-screen-suspend-hibernate' -t 'bool' -s 'false'
xfconf-query -c xfce4-power-manager -np '/xfce4-power-manager/logind-handle-lid-switch' -t 'bool' -s 'false'

But what can cause this?

ps -ef | grep -E 'locker|saver'
root        4553    4550  0 09:35 pts/0    00:00:00 grep -E locker|saver

This now bothers me, and I don't know where to start.
Restarting the system makes it autologin again, with Lightdm - but sometimes we get this call.

Offline

#2 2025-09-16 10:43:34

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 941
LinuxFirefox 142.0

Re: XFCE logs out even when light-locker is disabled.

I would try and remove light-locker and replace it with xfce4-screensaver. Light-locker has been problematic.


But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell

Offline

#3 2025-09-16 11:39:54

dselen
Member
Registered: 2025-01-06
Posts: 25
Windows 10Firefox 142.0

Re: XFCE logs out even when light-locker is disabled.

eriefisher wrote:

I would try and remove light-locker and replace it with xfce4-screensaver. Light-locker has been problematic.

Sorry to be such a noob and ask this. But how can I do that smoothly?

And since I don't want the locking at all, can't I just remove light-locker and go for nothing?

Last edited by dselen (2025-09-16 11:41:52)

Offline

#4 2025-09-16 14:46:30

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 941
LinuxFirefox 142.0

Re: XFCE logs out even when light-locker is disabled.

apt purge light-locker
apt install xfce4-screensaver

You will find it in the settings menu. You don't need to have a screen saver or lock activated. For instance, on my laptop, the screen blanks after a time or when I close the lip but it never logs me out. After I reopen it or touch the touchpad it's right where I left it.


But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell

Offline

#5 2025-09-16 14:54:25

dselen
Member
Registered: 2025-01-06
Posts: 25
LinuxFirefox 128.0

Re: XFCE logs out even when light-locker is disabled.

eriefisher wrote:
apt purge light-locker
apt install xfce4-screensaver

You will find it in the settings menu. You don't need to have a screen saver or lock activated. For instance, on my laptop, the screen blanks after a time or when I close the lip but it never logs me out. After I reopen it or touch the touchpad it's right where I left it.

That behaviour is exactly what I want. How can I get that as well. I remove light-locker without installing xfce4-screensaver. I hope that does the trick.

Offline

#6 2025-09-16 18:06:56

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 941
LinuxFirefox 142.0

Re: XFCE logs out even when light-locker is disabled.

You can set the screensaver to Blank Screen and not lock. Also check the Power Manager foe these settings.


But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell

Offline

#7 2025-09-17 11:21:46

dselen
Member
Registered: 2025-01-06
Posts: 25
Windows 10Firefox 142.0

Re: XFCE logs out even when light-locker is disabled.

eriefisher wrote:

You can set the screensaver to Blank Screen and not lock. Also check the Power Manager foe these settings.

Interesting - I am now testing with no screensaver... So far so good...

Offline

Registered users online in this topic: 0, guests: 1
[Bot] CCBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 538.92 KiB (Peak: 539.55 KiB) ]