-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WM quits (or gets killed) when idle for long #36
Comments
On Wed, 27 Sep 2023 at 1:07:55 -0700, Martin Dietze wrote:
My machine is on 24/7. In the evening I lock the screen (xscreensaver), unlock again on the next morning. Sometimes I don't use the machine for a few days.
After having switched back to WM with the recent new release I have run into this issue: when switching on the display in the morning I am at the GDM login prompt, and my session has ended.
I ran an `strace -p` on all WM processes the other day. No crash, segfault etc., the process ended peacefully. In syslog I cannot see any hint either.
Having switched to another window manager again, I am not seeing this issue.
Something's wrong here. It looks like WM after some while just performs a controlled logout.
Is there any pattern in how long it takes to logout?
|
When I am away over the weekend it always does. I think, but I am not sure, that over night it does, too. I'll have to check today (and attach the processes to strace again). |
Last night was enough to trigger the problem. I have created a full set of The Now the
It terminates child process
Of course we don't know what program the cloned process then ran, and this is by far not the only call to While WM was idle (and I away) my screen was protected by I will keep my |
Another observation. May be related. I am using xscreensaver for locking my screen (by the way, a native WM screen locker would be very nice to have). This morning, after having been locked over the weekend I found WM still running, but xscreensaver (running in random mode, with 3d animations enabled), while still locking the screen looked "transparent" on one of my monitors, i.e. showed what was underneath. After unlocking the screen I found that xscreensaver animations were still shown as desktop background, not the images I have configured. There was no way to get rid of this behaviour until I logged out and then back in. |
On Mon, 9 Oct 2023 at 2:10:37 -0700, Martin Dietze wrote:
Another observation. May be related. I am using xscreensaver for
locking my screen (by the way, a native WM screen locker would be very
nice to have). This morning, after having been locked over the weekend
I found WM still running, but xscreensaver (running in random mode,
with 3d animations enabled), while still locking the screen looked
"transparent" on one of my monitors, i.e. showed what was underneath.
After unlocking the screen I found that xscreensaver animations were
still shown as desktop background, not the images I have configured.
There was no way to get rid of this behaviour until I logged out and
then back in.
Would it be possible to use another screensaver like xlock?
It could be some bad interaction between wmaker and the screensaver,
it would be good if we could nail it down.
Does anyone else see a behavior like this? Please send me a "me too"
reply if so.
I sometimes let wmaker running under a screensaver (xlock) but never
experienced these logouts.
Do you ever sleep to RAM on this machine?
|
Sure, I will give it a try.
No. Workstation, used as a server from remote when not at my desk. |
Back at my desk today. Funny effect: when switching the displays on, I see my (xlock) lock screen. Without me doing anything, it "flickers", shows my WM desktop, then my lock screen again. I switch the displays off and then on again, and I am back at my login screen, WM has quit. |
What type of connection are you using for the displays? |
2 displays via display port. |
I used to have similar issues with my desktop, which I've sometimes leaved up and running during the night. It wasn't something which happen every time (but often enough to annoy me), when I found it up with the console screen, instead of wmaker. I didn't even found anything useful in the logs and getting towards of thinking, that it might be connected with the xorg drivers, not wmaker, or there is something fishy going on between X and window manager, like forcing resolution, or whatever. Also I mildly remember, that wmaker without display detected by Xorg was loosing dockapps or messing up their position, as when X didn't recognize/detect any connected displays it sets some minimal resolution for screen, like:
wmaker processes are up and running, and the only thing I can see on
and even, if I connect the display, I'll never get into wmaker, probably because my monitor doesn't support resolution 320x200. So here's the thing. My setup was AMD based (CPU + RX570 PCI card), and I've used display port to connect the displays. If you have HDMI output on your graphics card and HDMI socket on one of the monitors, try to connect it with HDMI instead of DP, and see what happens. I know that's only a workaround (and, I'm kind of forced to use one display connected with DP and the other with HDMI, as my new tiny PC have only one of each connector type), but it might help to narrow down the issue. Perhaps there is something done extra for the X server, when displays are connected using only the DP connectors. |
Thank you. One more thing: I switch the monitors off when away. That may leave to monitors no longer being detected. |
When Xorg starts with initially connected monitors, it will start the wmaker just fine, and even, if you turn displays later off, it shouldn't do anything. I didn't noticed that simply turning monitor off affects wmaker, but when displays go off caused by DPMS it sometimes cause wmaker/xorg process to exit. |
yeah this sounds similar to what i reported #34, except the screensaver doesn't still run after unlocking. |
My machine is on 24/7. In the evening I lock the screen (xscreensaver), unlock again on the next morning. Sometimes I don't use the machine for a few days.
After having switched back to WM with the recent new release I have run into this issue: when switching on the display in the morning I am at the GDM login prompt, and my session has ended.
I ran an
strace -p
on all WM processes the other day. No crash, segfault etc., the process ended peacefully. In syslog I cannot see any hint either.Having switched to another window manager again, I am not seeing this issue.
Something's wrong here. It looks like WM after some while just performs a controlled logout.
The text was updated successfully, but these errors were encountered: