Le 2018-04-24 19:33, Simon McVittie a écrit :
Since very recently, when I try to log in with default choice, it does
not work.
(Retitled to something a little less generic.)
Please try editing /usr/bin/gnome-session (it's a shell script) and
making it log what it's doing:
#!/bin/sh
echo "SHELL: $SHELL" >&2
echo "XDG_SESSION_CLASS: $XDG_SESSION_CLASS" >&2
echo "XDG_SESSION_TYPE: $XDG_SESSION_TYPE" >&2
echo "\$0: $0" >&2
echo "bash: $(command -v bash)" >&2
echo "BASH_VERSION: $(bash -c 'echo $BASH_VERSION')" >&2
for arg in "$@"; do
echo "\$@: $arg" >&2
done
echo "end of \$@"
... continue with what the script does now ...
Then try logging in again, in the same way. You should get more
information
logged.
I cannot reproduce the bug any more. I'm not sure what "the default
choice" was when I made my initial report. But I could proceed by
selection "GNOME on Xorg".
Here is what appears in /var/log/user.log when I select "GNOME":
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]: SHELL:
/bin/zsh
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]:
XDG_SESSION_CLASS:
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]:
XDG_SESSION_TYPE: wayland
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]: $0:
/usr/bin/gnome-session
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]: bash:
/usr/bin/bash
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]:
BASH_VERSION: 4.4.19(1)-release
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]: end of
$@
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]: SHELL:
/bin/zsh
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]:
XDG_SESSION_CLASS:
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]:
XDG_SESSION_TYPE: wayland
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]: $0:
/usr/bin/gnome-session
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]: bash:
/usr/bin/bash
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]:
BASH_VERSION: 4.4.19(1)-release
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]: $@: -l
Apr 25 00:05:22 korell /usr/lib/gdm3/gdm-wayland-session[4753]: end of
$@
Cheers,
--
Stéphane