[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) intel(0): [drm] failed to set drm interface version: 
Permission denied [13].
[   228.641] (EE) intel(0): Failed to become DRM master.
$ LIBGL_DEBUG=verbose glxinfo:
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/i915_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/i915_dri.so

-- 
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:
  lightdm-session fails if user's .profile has non-posix sh init.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1097903/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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:
  lightdm-session fails if user's .profile has non-posix sh init.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1097903/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 by default in that mode.

A thought is it should do

if [ -n $BASH_VERSION ]  [ -n $POSIXLY_CORRECT ]; then
# include .bashrc if it exists
if [ -f $HOME/.bashrc ]; then
. $HOME/.bashrc
fi
fi

but your point is still valid: lightdm could handle the user's shell
exiting much better.

-- 
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:
  lightdm-session fails if user's .profile has non-posix sh init.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1097903/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 Ubuntu.
https://bugs.launchpad.net/bugs/1097903

Title:
  lightdm-session fails if user's .profile has non-posix sh init.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1097903/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs