Bug#1040920: Acknowledgement (gnome-flashback: Gnome flashback unsets XDG_SESSION_ID)

2023-07-18 Thread Alberts Muktupāvels
Hi, Look at this - https://wiki.gnome.org/Initiatives/SystemdUser and related merge requests. As far as I understand, current behaviour is expected one when a session is started/managed by systemd --user. You already confirmed that with --builtin / --systemd test. And this confirms above:

Bug#1040920: Acknowledgement (gnome-flashback: Gnome flashback unsets XDG_SESSION_ID)

2023-07-18 Thread Nikolaus Rath
Hi Alberts, One example of a real problem is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040917. https://manpages.ubuntu.com/manpages/impish/man5/org.freedesktop.login1.5.html also seems pretty clear to me: > *GetSessionByPID()* and *GetUserByPID()* get the session/user object the >

Bug#1040920: Acknowledgement (gnome-flashback: Gnome flashback unsets XDG_SESSION_ID)

2023-07-17 Thread Alberts Muktupāvels
Hi, I just logged into the Ubuntu GNOME x11 session. The XDG_SESSION_ID environment variable is not set there either. Also GetSessionByPID for gnome-shell returns the same error at least for me. Sorry but you will have to link to relevant documentation if you think that there are real problems.

Bug#1040920: Acknowledgement (gnome-flashback: Gnome flashback unsets XDG_SESSION_ID)

2023-07-17 Thread Nikolaus Rath
Hi Alberts, I believe that way you can get *a session id*. However, the fact that the dbus query returns an error means that the various X11 processes (those started by gnome-session as well as those started by the user) are actually not part of that session (or any session, for that matter).

Bug#1040920: Acknowledgement (gnome-flashback: Gnome flashback unsets XDG_SESSION_ID)

2023-07-17 Thread Alberts Muktupāvels
Can not you get session id from logind manager using /org/freedesktop/login1/session/auto path? dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1/session/auto org.freedesktop.DBus.Properties.Get string:org.freedesktop.login1.Session string:Id On Sun, Jul 16,

Bug#1040920: Info received (Bug#1040920: Acknowledgement (gnome-flashback: Gnome flashback unsets XDG_SESSION_ID))

2023-07-16 Thread Nikolaus Rath
Another finding: starting gnome-session with `--builtin` instead of `--systemd` works around the problem.

Bug#1040920: Acknowledgement (gnome-flashback: Gnome flashback unsets XDG_SESSION_ID)

2023-07-16 Thread Nikolaus Rath
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

Bug#1040920: Acknowledgement (gnome-flashback: Gnome flashback unsets XDG_SESSION_ID)

2023-07-12 Thread Nikolaus Rath
On Wed, 12 Jul 2023, at 13:22, Alberts Muktupāvels wrote: > Maybe... Why do you need that variable? > > On Wed, Jul 12, 2023 at 3:12 PM Nikolaus Rath wrote: >> Could this be an unintended side effect of >>

Bug#1040920: Acknowledgement (gnome-flashback: Gnome flashback unsets XDG_SESSION_ID)

2023-07-12 Thread Alberts Muktupāvels
Maybe... Why do you need that variable? On Wed, Jul 12, 2023 at 3:12 PM Nikolaus Rath wrote: > Could this be an unintended side effect of > https://salsa.debian.org/gnome-team/gnome-session/-/commit/6f5c3c80be8f92ababd8d6201c5c58e732b47f54 > ? > > -- Alberts Muktupāvels

Bug#1040920: Acknowledgement (gnome-flashback: Gnome flashback unsets XDG_SESSION_ID)

2023-07-12 Thread Nikolaus Rath
Could this be an unintended side effect of https://salsa.debian.org/gnome-team/gnome-session/-/commit/6f5c3c80be8f92ababd8d6201c5c58e732b47f54?