[Bug 1097903] Re: lightdm-session fails if user's .profile has non-posix sh init.

2013-09-19 Thread Thomas Langewouters
*** This bug is a duplicate of bug 678421 *** https://bugs.launchpad.net/bugs/678421 It took me a while to trace the problem to this issue. These errors pointed me in the wrong direction: (I provide them here for other people, so this bug pops up in google) Xorg.2.log: [ 228.641] (EE)

[Bug 1097903] Re: lightdm-session fails if user's .profile has non-posix sh init.

2013-04-20 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lightdm (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1097903 Title:

[Bug 1097903] Re: lightdm-session fails if user's .profile has non-posix sh init.

2013-04-20 Thread Mikel Ward
Seems like the other issue is that the default .profile sources .bashrc if $BASH_VERSION is set. But $BASH_VERSION is set even if bash is invoked as /bin/sh. .bashrc is designed only for sourcing by bash, not bash in posix mode, or any other shell, given that bash itself does not source .bashrc

[Bug 1097903] Re: lightdm-session fails if user's .profile has non-posix sh init.

2013-04-20 Thread Gunnar Hjalmarsson
*** This bug is a duplicate of bug 678421 *** https://bugs.launchpad.net/bugs/678421 ** This bug has been marked a duplicate of bug 678421 Error message for a faulty ~/.profile script -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to