Skip to content

lighdm: Rebuild to read bash init scripts #1205

Merged
merged 1 commit into from
Aug 21, 2019
Merged

lighdm: Rebuild to read bash init scripts #1205

merged 1 commit into from
Aug 21, 2019

Conversation

donald
Copy link
Collaborator

@donald donald commented Aug 21, 2019

Change shebang of /usr/bin/lightdm-session from /bin/sh to
/bin/bash --login, so that the bash startup logic reads the
same init files as a login shell in a terminal window would do.
This is what users expect, so that, for example, applications
started from the desktop launcher have the same environment
and umask as applications started from a terminal window.

The scripts executed by the login shell include /etc/profile, so we
no longer need to call it explicitly.

Change shebang of /usr/bin/lightdm-session from /bin/sh to
`/bin/bash --login`, so that the bash startup logic reads the
same init files as a login shell in a terminal window would do.
This is what users expect, so that, for example, applications
started from the desktop launcher have the same environment
and umask as applications started from a terminal window.

The scripts executed by the login shell include /etc/profile, so we
no longer need to call it explicitly.
@thomas thomas merged commit c5b5b90 into master Aug 21, 2019
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants