From 677527a8e1cf4f1ec8655c232dc9ac5d5ca8abe5 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 25 Sep 2019 16:23:19 +0200 Subject: [PATCH] lightdm: Rebuild to revert change in startup Remove --login from the shebang of /usr/bin/lightdm-session. This effectively reverts ee684e9ac3abb0fa9f12ee8c0531a17165876d49 "lighdm: Rebuild to read bash init scripts". To many users have problems, because the anaconda installer changes the PATH in the users .bashrc to have it own directory prepended, where it installs incompatible system tools. Typical effect is a failure to start the desktop environment with a message like "Unable to contact settings server". If individual users want to opt in into having their .bashrc executed, and settings be relevant for all desktop applications, they could create ~/.config/xfce4/xinitrc with . ~/.bashrc . /etc/xdg/xfce4/xinitrc in it. --- lightdm.be0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightdm.be0 b/lightdm.be0 index bc46132aa..bb7dd050a 100755 --- a/lightdm.be0 +++ b/lightdm.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION lightdm-1.28.0-1 +# BEE_VERSION lightdm-1.28.0-2 SRCURL[0]="https://github.com/CanonicalLtd/lightdm/releases/download/${PKGVERSION}/lightdm-${PKGVERSION}.tar.xz" @@ -47,7 +47,7 @@ mee_configure() { mee_install_post() { cat > ${D}/usr/bin/lightdm-session <<- 'EOF' - #! /bin/bash --login + #! /bin/bash # First argument is full command, ´for backwards compatibility'.