gnome-session-failed window doesn't use Wayland and other envs
The gnome-session whale dialog is run with a reduced number of environment variables that doesn't include XDG_RUNTIME_DIR
(needed to connect to the wayland socket) and others that might be passed to gnome-shell itself.