Bug#885318: systemd kills X or freezes it when logging out from last opened tty

Awtul awtulawtul at gmail.com
Fri Dec 29 08:30:38 GMT 2017


Package: systemd
Version: 236-1
Followup-For: Bug #885318

- my user shell is bash (echo $SHELL ----> /bin/bash)

-------------------------

.bash_logout:

if [ "$SHLVL" = 1 ]; then
    [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi

--------------------------

Changing    if [ "$SHLVL" = 1 ]  in .bash_logout to  if [ "$SHLVL" = 2 ]

solves my problem; now X doesn't crash and I can switch between my openbox session (on tty1)
and other tty's (logged in or not) just fine.

Cheers,
Awtul




More information about the Pkg-systemd-maintainers mailing list