Bug#896817: /usr/lib/gdm3/gdm-wayland-session: bash: ligne 0 : exec: -l : option non valable

Simon McVittie smcv at debian.org
Tue Apr 24 18:33:20 BST 2018


Control: retitle -1 /usr/lib/gdm3/gdm-wayland-session: bash: ligne 0 : exec: -l : option non valable
Control: tags -1 + moreinfo

On Tue, 24 Apr 2018 at 16:29:26 +0200, Stéphane Glondu wrote:
> 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.

Thanks,
    smcv



More information about the pkg-gnome-maintainers mailing list