GNOME Flashback does not do that! That variable is blacklisted by gnome-session: https://gitlab.gnome.org/GNOME/gnome-session/-/blob/main/gnome-session/gsm-util.c#L38
On Wed, Jul 12, 2023 at 2:51 PM Nikolaus Rath <nikol...@rath.org> wrote: > Package: gnome-flashback > Version: 3.46.0-1 > Severity: normal > > > When starting a Gnome Flashback session, the XDG_SESSION_ID environment > variable is not set. This results on applications that rely on logind to > not behave properly. > > Debugging this more closely, I found that XDG_SESSION_ID is still > set in ~/.xsession, but seemingly disappears somewhere in this call: > > exec gnome-session --systemd --session=gnome-flashback > --disable-acceleration-check > > -- System Information: > Debian Release: 12.0 > APT prefers stable-security > APT policy: (500, 'stable-security'), (500, 'stable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 6.1.0-10-amd64 (SMP w/8 CPU threads; PREEMPT) > Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, > TAINT_UNSIGNED_MODULE > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE > not set > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages gnome-flashback depends on: > ii gnome-flashback-common 3.46.0-1 > ii libasound2 1.2.8-1+b1 > ii libatk1.0-0 2.46.0-5 > ii libc6 2.36-9 > ii libcairo2 1.16.0-7 > ii libcanberra-gtk3-0 0.30-10 > ii libcanberra0 0.30-10 > ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-1+b1 > ii libgdm1 43.0-3 > ii libglib2.0-0 2.74.6-2 > ii libgnome-bluetooth-3.0-13 42.5-3 > ii libgnome-desktop-3-20 43.2-2 > ii libgnome-panel0 3.46.0-1+b1 > ii libgtk-3-0 3.24.37-2 > ii libibus-1.0-5 1.5.27-5 > ii libpam0g 1.5.2-6 > ii libpango-1.0-0 1.50.12+ds-1 > ii libpangocairo-1.0-0 1.50.12+ds-1 > ii libpolkit-agent-1-0 122-3 > ii libpolkit-gobject-1-0 122-3 > ii libpulse-mainloop-glib0 16.1+dfsg1-2+b1 > ii libpulse0 16.1+dfsg1-2+b1 > ii libsystemd0 252.6-1 > ii libx11-6 2:1.8.4-2+deb12u1 > ii libx11-xcb1 2:1.8.4-2+deb12u1 > ii libxcb-randr0 1.15-1 > ii libxext6 2:1.3.4-1+b1 > ii libxfixes3 1:6.0.0-2 > ii libxi6 2:1.8-1+b1 > ii libxkbfile1 1:1.1.0-1 > ii libxrandr2 2:1.5.2-2+b1 > ii libxxf86vm1 1:1.1.4-1+b2 > ii nautilus 43.2-1 > > Versions of packages gnome-flashback recommends: > ii dbus 1.14.6-1 > ii gnome-settings-daemon 43.0-4 > ii libpam-gnome-keyring 42.1-1+b2 > > Versions of packages gnome-flashback suggests: > pn gnome-power-manager <none> > > -- no debconf information > > -- Alberts Muktupāvels