You are not logged in.


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.
fiAnd
# 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|saverThis 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


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


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


apt purge light-locker
apt install xfce4-screensaverYou 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


apt purge light-locker apt install xfce4-screensaverYou 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


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


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
[ Generated in 0.028 seconds, 8 queries executed - Memory usage: 538.98 KiB (Peak: 539.61 KiB) ]