Skip to content

Commit

Permalink
lightdm: Rebuild to revert change in startup
Browse files Browse the repository at this point in the history
Remove --login from the shebang of /usr/bin/lightdm-session.
This effectively reverts ee684e9
"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.
  • Loading branch information
donald committed Sep 25, 2019
1 parent c335b18 commit 677527a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lightdm.be0
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -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'.

Expand Down

0 comments on commit 677527a

Please sign in to comment.