You are not logged in.
I have no idea what can cause this, but all of a sudden, more often than not (though not 100% of the time), the xfce4 logout dialogue is appearing at startup.
Pressing escape dismisses it, but it shouldn't be there in the first place.
This has only started in the past couple of weeks, and no clue why.
For good measure, I cleared saved sessions just in case.
Does anyone have any ideas where to look.
My google-fu has failed me on this occasion.
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
Just a guess, have you checked the content of ~/.config/autostart/ ?
Rules for problems.
Everyone has problems. Animals have problems. And buildings. And cats, and trees.
Problems are your friends. Treat them well.
Offline
Yes, and there's nothing there to explain it (and in fact if there were I would expect it to happen on every boot, and not just some).
It's a conundrum, alright.
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
Do you have a logout shortcut and maybe spurious keyboard events?
Or maybe an overzealous session restorage (because you ran the logout dialog when logging out of the former session…)?
For good measure, I cleared saved sessions just in case.
However, did it (temporarily) go away and also tried https://wiki.archlinux.org/index.php/Xf … d_sessions ?
Offline
Nope, completely clearing saved sessions and disabling saved sessions per your link have no effect.
For the moment I've worked around by writing a script replaces /usr/bin/xfce4-session-logout (which has been moved to my scripts directory and renamed), which checks if the system has been on for less than 1 minute. If it has, it exits, and if not, hands over to the renamed binary.
I suppose I could put something in the script to delay things so that I can see if there's a parent process that will give me a clue.
EDIT: Well that didn't work. Although the script does work, I'm still getting the logout prompt, and not via the xfce4-session-logout dialogue ![]()
EDIT2: proven that it's not via the binary. I replaced my /usr/bin/xfce4-session-logout script with one which just triggers a notification and does nothing else. No notification but the logout dialogue is still appearing.
Last edited by Roken (2021-03-19 11:30:16)
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
There's a good chance that running "xprop _NET_WM_PID" and clicking the dialog will get you the clients PID.
Pot. obstacles:
1. you cannot run a terminal while the dialog is there, move to a different VT and don't forget to "export DISPLAY=:0"
2. The dialog grabs the pointer and you cannot have xprop click it. "wmctrl -l" will get you a list of windows and you can pass that to "xprop -id 0x123456"
Offline
I tried wmctrl. which doesn't even seem to see the dialogue, though I'll try with xprop and see if I have more luck.
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
Override redirect window?
xwininfo -root -treeprints a longish list of all windows.
Offline
I have a short script to extract the window ID (using xprop as you suggested) which then interrogates ps for child processes. Just waiting for it to come up at boot again. With that, I'll be able to also find the parent process.
Of course, as sod's law suggests, it hasn't happened since, but I'll report back when it does. It's not as if I can artificially invoke it since I don't even know how it's being invoked at boot, let alone where from.
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
Well the direct parent is the display manager (as expected), and it's not peculiar to one display manager.
I'm genuinely stumped.
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
Uhm.. just to take it out of the box a bit... you haven't by any chance got a mechanical fault - like a power key or lock key on the keyboard that somehow is getting worn, loose, too much Coca Cola, or something, that somehow causes it to trigger the logout dialogue?
Offline
Parent window, parent process or _NET_WM_PID ?
It'd be a bit odd for different DMs to trigger the same session related logout dialogs…
Offline
There is no mechanical fault, and in fact the front panel (with the power button) on my machine is less than 6 months old.
Getting _NET_WM_PID and then grepping that with ps tells me the PID of the parent process, which in both cases was the DM (LXDM and LightDM tested).
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
It'd be a bit odd for different DMs to trigger the same session related logout dialogs…
Do you get the dialog w/
a) a different user
b) a different session (eg. icewm or openbox)
Is the dialog actually an interactive thing, ie. can you click it to log out of the session?
Offline