Re: [orca-list] Update: BRLTTY, Orca, and Wayland sessions



Samuel Thibault, le lun. 20 avril 2020 14:39:06 +0200, a ecrit:
Samuel Thibault, le lun. 20 avril 2020 14:31:18 +0200, a ecrit:
Samuel Thibault, le lun. 20 avril 2020 13:33:29 +0200, a ecrit:
Jason White, le dim. 19 avril 2020 17:51:18 -0400, a ecrit:
I also cloned the gdm repository, and the code to set XDG_VTNR is still
there - hasn't been worked on since 2017, according to the commit history.

What is your distribution? I just tried with a fresh install of Debian
Buster and XDG_VTNR was properly set,

I tried to upgrade to bullseye, and it wasn't set any more :/

gdm3 seems to be doing its job: both gdm-wayland-session and
gnome-session-binary have XDG_VTNR, but the session processes seem to
have systemd as their parent, not these, and the XDG_VTNR variable is
not transmitted over.

Found this in gnome-session:

/* These are variables that will not be passed on to subprocesses
 * (either directly, via systemd or DBus).
 * Some of these are blacklisted as they might end up in the wrong session
 * (e.g. XDG_VTNR), others because they simply must never be passed on
 * (NOTIFY_SOCKET).
 */
static const char * const variable_blacklist[] = {
    "NOTIFY_SOCKET",
    "XDG_SEAT",
    "XDG_SESSION_ID",
    "XDG_VTNR",
    NULL
};

Samuel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]