You are not logged in.
Pages: 1
This is weird. Over the past couple of weeks I'm getting the logout dialogue at startup.
In debugging, I moved the /usr/bin/xfce4-session-logout binary out of the way and replaced it with a script that simply displays a notification that the logout has been triggered.
No go, I still get the logout dialogue on startup, so this is not being called via the binary. If I then select the logout menu item it displays my notification as expected.
So where in the name of all that is holy is this being triggered from and coming from.
I can find nothing in either ps nor wmctrl whilst the dialogue is showing to suggest where it's coming from (I was hoping to find a parent process).
Does the xfce4-session-logout binary call another process that actually displays the dialogue and acts on it?
Offline
Hello and welcome.
Do you have something in your autostart?
fgrep -ri xfce4-session ~/.config/autostart
fgrep -ri xfce4-session /etc/xdg/autostart
Maybe something in your saved sessions cache?
fgrep -ri xfce4-session ~/.cache/sessions
Or possibly a keyboard shortcut that is being errantly triggered?
xfconf-query -c xfce4-keyboard-shortcuts -lv | grep xfce4-session
...if a keyboard shortcut exists, try removing it to see if it makes a difference.
Does the xfce4-session-logout binary call another process that actually displays the dialogue and acts on it?
xfce4-session uses dbus internally to call this. You can use d-feet to view the calls, or dbus-monitor:
dbus-monitor --session "sender='org.xfce.SessionManager'"
...which nets me:
method return time=1616157463.300237 sender=:1.4 -> destination=:1.415 serial=308 reply_serial=12
array [
]
method return time=1616157463.300890 sender=:1.4 -> destination=:1.415 serial=309 reply_serial=13
method call time=1616157463.301082 sender=:1.4 -> destination=:1.9 serial=310 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetProperty
string "xfce4-session"
string "/general/AutoSave"
method call time=1616157463.301550 sender=:1.4 -> destination=:1.9 serial=311 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetProperty
string "xfce4-session"
string "/general/PromptOnLogout"
method call time=1616157463.302665 sender=:1.4 -> destination=:1.9 serial=312 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetProperty
string "xfce4-session"
string "/general/ShowScreenshots"
method call time=1616157463.325034 sender=:1.4 -> destination=:1.9 serial=313 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetProperty
string "xfce4-session"
string "/shutdown/ShowSuspend"
method call time=1616157463.331067 sender=:1.4 -> destination=:1.9 serial=314 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetProperty
string "xfce4-session"
string "/shutdown/ShowHibernate"
method call time=1616157463.333333 sender=:1.4 -> destination=:1.9 serial=315 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetProperty
string "xfce4-session"
string "/shutdown/ShowSwitchUser"
method call time=1616157463.335234 sender=:1.4 -> destination=:1.9 serial=316 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetProperty
string "xfce4-session"
string "/general/AutoSave"
Last edited by ToZ (2021-03-19 12:40:44)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
OK, nothing in autostart, no cached sessions, no errant keyboard shortcuts (the only one that was there was ctrl-alt-del, being stock, but I removed it for good measure, and dbus-monitor only returns:
signal time=1616316038.891958 sender=org.freedesktop.DBus -> destination=:1.174 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.174"
signal time=1616316038.891975 sender=org.freedesktop.DBus -> destination=:1.174 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.174"
I've identified that the parent process is the display manager (as expected), and have confirmed that it's not restricted to one display manager (I usually use lxdm, but switched to lightdm with the same result).
It's more annoying that it's not every startup, and seems to bypass xfce4-session-logout.
Offline
Pages: 1
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 535.64 KiB (Peak: 536.48 KiB) ]