You are not logged in.

#1 2020-04-21 10:36:45

ajayyadav2412
Member
Registered: 2020-04-21
Posts: 11

Reboot needed after few hours for proper functioning of some apps

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

#2 2020-04-21 12:18:50

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,418

Re: Reboot needed after few hours for proper functioning of some apps

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

#3 2020-04-21 13:13:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,854

Re: Reboot needed after few hours for proper functioning of some apps

Does simply restarting xautolock instead of rebooting work as well?

Offline

#4 2020-04-22 16:47:00

ajayyadav2412
Member
Registered: 2020-04-21
Posts: 11

Re: Reboot needed after few hours for proper functioning of some apps

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

#5 2020-04-22 16:51:16

ajayyadav2412
Member
Registered: 2020-04-21
Posts: 11

Re: Reboot needed after few hours for proper functioning of some apps

I use "xautolock -time 1 -locker "systemctl suspend" " command

Offline

#6 2020-04-22 16:56:15

ajayyadav2412
Member
Registered: 2020-04-21
Posts: 11

Re: Reboot needed after few hours for proper functioning of some apps

Lone_Wolf wrote:

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

#7 2020-04-22 16:57:07

ajayyadav2412
Member
Registered: 2020-04-21
Posts: 11

Re: Reboot needed after few hours for proper functioning of some apps

seth wrote:

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

#8 2020-04-22 17:02:00

loqs
Member
Registered: 2014-03-06
Posts: 19,078

Re: Reboot needed after few hours for proper functioning of some apps

What is the output of `hostnamectl`?

Offline

#9 2020-04-23 15:05:37

ajayyadav2412
Member
Registered: 2020-04-21
Posts: 11

Re: Reboot needed after few hours for proper functioning of some apps

loqs wrote:

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

#10 2020-04-23 15:09:26

ajayyadav2412
Member
Registered: 2020-04-21
Posts: 11

Re: Reboot needed after few hours for proper functioning of some apps

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

Board footer

Powered by FluxBB