@lj-pinho, Unfortunately that solution will not work if you have Bash-
specific shell syntax in your .bash_profile (and why wouldn't you?).
I'm currently having this same issue because of using `[[ ]]` instead of
`[ ]` and source instead of `.`. I _knew_ there was a good reason I'd
previously chan
A possible temporary workaround for this, is to create a .profile file,
if it not already exists and add the following line:
bash ~/.bash_profile
This is what I have to do to all my 150 LDAP users, now it works.
--
You received this bug notification because you are a member of Ubuntu
Bugs, whic
I suddenly got this bug after an update; my primary user login does NOT
work. I can log in on a text alternate console; or as Guest.
What is interesting is I have NO user customizations to any ~/.bash*
files; so the critique above does NOT apply to me.
.xsession looks like this:
/usr/bin/lightdm-
Please specify why lightdm-session's shell script is not called
interactively? The default declaration in bashrc is to return if bashrc
is called non-interactively.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad
Nevermind, I don't know why I was under the impression that some users
execute X session with anything other than /bin/sh.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/962270
Title:
/usr/sbin/light
This needs to be reopened.
1. It's possible that the .profile should be executed with the user's shell.
2. It would appear that for some user's, .profile happens to be executed with
bash (or the user's shell) and in other cases it is executed with /bin/sh.
3. Please specify at what point in the
@hamish: thanks for debugging this!
Closing the bug, Barry it seems it's just a bash specific syntax in your
user config and that turning it to a proper posix syntax should fix the
issue
** Changed in: lightdm (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification be
'if [ a == b ]' is a bashism. you need to do 'if [ a = b ]' instead if
the shebang is #!/bin/sh.
Hamish
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/962270
Title:
/usr/sbin/lightdm-session: 34: [
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/962270
Title:
/us
I'm also running into this issue on two of my machines. Both are Asus
X53U laptops running almost 100% stock versions of Ubuntu 12.04. I've
installed nothing but chrome and gnome-panel on the machines. This
manifests as users not being able to login using lightdm to the
machines.
I see an ident
On Jul 03, 2012, at 11:10 AM, Philippe Poilbarbe wrote:
>/usr/sbin/lightdm-session is a script executed with /bin/sh (see shebang line
>"#!/bin/sh"). It sources $HOME/.profile (and some others), not
>$HOME/.bash_profile.
This does make it rather impossible to set up the environment both for the
/usr/sbin/lightdm-session is a script executed with /bin/sh (see shebang line
"#!/bin/sh").
It sources $HOME/.profile (and some others), not $HOME/.bash_profile.
So things specific to bash and not in sh are not recognized, for example:
if [[ "$x" == "yes " || "$y" != "no" ]]
then
fi
must be writ
My guess is that the Line 34 is related to my .bash_profile, which has
this on line 34:
if [ "`uname -s`" == "Darwin" ]
then
# On MacOS X, the $PATH is set in .MacOSX/environment.plist
export PATH=$PATH:/opt/local/bin
# Path to emacsclient.
export EDITOR=/Applications/Emacs.app/Con
On May 31, 2012, at 03:25 AM, hamish wrote:
>your line numbers are off by +3 (going from "53:
>/home/barry/.bash_profile: source: not found"), but still no "a == b"
>bashisms or unquoted enviro variables that I can see...
>
>which version is this?
I'm still seeing this in quantal. From the top o
your line numbers are off by +3 (going from "53:
/home/barry/.bash_profile: source: not found"), but still no "a == b"
bashisms or unquoted enviro variables that I can see...
which version is this?
Hamish
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is s
On Mar 29, 2012, at 07:02 PM, Sebastien Bacher wrote:
>weird, that doesn't really make sense to me, l34 is "XKB_IN_USE=yes",
>how can that hit the error in the summary?
Exactly! :)
I can't explain it either.
-Barry
--
You received this bug notification because you are a member of Ubuntu
Bugs,
weird, that doesn't really make sense to me, l34 is "XKB_IN_USE=yes",
how can that hit the error in the summary?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/962270
Title:
/usr/sbin/lightdm-session
** Attachment added: "lightdm-session"
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/962270/+attachment/2961179/+files/lightdm-session
** Changed in: lightdm (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, whic
Thank you for your bug report, could you attach your /usr/sbin/lightdm-
session to the bug?
** Changed in: lightdm (Ubuntu)
Status: New => Incomplete
** Changed in: lightdm (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
B
19 matches
Mail list logo