retitle 1040920 "Gnome flashback breaks out of logind session"
thanks

Upon closer examination, the problem is not that GNome flashback unsets 
XDG_SESSION_ID, but that it breaks out of the active logind session (so 
unsetting the variable is, in some way, correct).

In other desktop environments (vanilla i3 as well as regular Gnome), the 
desktop environment is correctly associated with a logind session:

nikratio@vostro ~> dbus-send --system --print-reply 
--dest=org.freedesktop.login1 /org/freedesktop/login1 
org.freedesktop.login1.Manager.GetSessionByPID uint32:$fish_pid 
method return time=1689506142.664977 sender=:1.6 -> destination=:1.1126 
serial=2461 reply_serial=2
   object path "/org/freedesktop/login1/session/_342"

When running Gnome Flashback, however:

ikratio@vostro ~> dbus-send --system --print-reply 
--dest=org.freedesktop.login1 /org/freedesktop/login1 
org.freedesktop.login1.Manager.GetSessionByPID uint32:$fish_pid 
Error org.freedesktop.login1.NoSessionForPID: PID 858156 does not belong to any 
known session


I don't think this is intentional.. or is it?

Best,
-Nikolaus

Reply via email to