You are not logged in.
I use xautolock to automatically lock and suspend my arch installation with i3wm. When I don't reboot the system for about 24 hours, xautolock stops working. After reboot it again start working fine. Same thing happens with some other programs too. I have tried reinstalling xautolock but it doesn't work. reboot is the only option for making them functional, which I don't want. Can anyone give me a fix for this? How can I have my xautolock working fine for many days without rebooting? I don't like rebooting. Any helpful suggestion is welcome. Kindly reply. Thankyou.
Offline
What xautolock command are you using ?
Does it also stop working after 24 hours if you only let it lock but not suspend ?
Last edited by Lone_Wolf (2020-04-21 12:19:02)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Does simply restarting xautolock instead of rebooting work as well?
Offline
First of all Thankyou for replying . No it does not work. I did "killall xautolock" and again started it but it does not work. I then uninstalled and reinstalled it but no effect. But if I do reboot it starts working for few hours. Again I need to reboot for proper function after few hours of work. I think it might be that arch would be creating some kind of files which need to be cleaned regularly in order to avoid that kind of malfuctioning. But I am not knowing about them. or there might be some other issue.
Offline
I use "xautolock -time 1 -locker "systemctl suspend" " command
Offline
What xautolock command are you using ?
Does it also stop working after 24 hours if you only let it lock but not suspend ?
xautolock -time 1 -locker "systemctl suspend"
It just becomes unresponsive after about 24 hours. If use "systemctl suspend" or "i3lock" command manually they work, but xautolock doesn't work after about 24 hours.
Offline
Does simply restarting xautolock instead of rebooting work as well?
First of all Thankyou for replying . No it does not work. I did "killall xautolock" and again started it but it does not work. I then uninstalled and reinstalled it but no effect. But if I do reboot it starts working for few hours. Again I need to reboot for proper function after few hours of work. I think it might be that arch would be creating some kind of files which need to be cleaned regularly in order to avoid that kind of malfuctioning. But I am not knowing about them. or there might be some other issue.
Offline
What is the output of `hostnamectl`?
Offline
What is the output of `hostnamectl`?
Static hostname: archPC
Icon name: computer-laptop
Chassis: laptop
Machine ID: f3ca140e56354e66a1f5fxxxxxxxxxxxx
Boot ID: 67266a9b96684a3xxxxxxxxxxxxxxxxxxx
Operating System: Arch Linux
Kernel: Linux 5.6.5-arch3-1
Architecture: x86-64
Offline
I changed my kernel from linux-lts to linux and upgraded my system using pacman -Syu command. Now it's working fine. Problem has been solved. no more reboot required. Thankyou to everyone who tried helping me.
Offline