I can confirm that this is a problem in Ubuntu 9.10 (Karmic Koala).
I have files in /etc/profile.d that use bash-isms (source and declare,
for example). When logging in from a regular terminal (pressing
CTRL+ALT+F2 at the gdm login window) there is no problem, but when I
login in from gdm, the login fails and my ~/.xsession-errors file
contains the following (I changed file and variable names, but you get
the picture):
/etc/gdm/Xsession: Beginning session setup...
/etc/profile.d/file1.sh: 39: source: not found
/etc/profile.d/file1.sh: 89: variable1: not found
/etc/profile.d/file1.sh: 122: [[: not found
/etc/profile.d/file2.sh: 35: source: not found
/etc/profile.d/file2.sh: 37: variable2: not found
/etc/profile.d/file2.sh: 39: Syntax error: word unexpected (expecting ")")
By changing /etc/gdm/Xsession to use /bin/bash instead of /bin/sh, the
errors went away and the GNOME session loaded successfully. Attached is
the appropriate patch file.
I request that this bug be re-opened and verified. Thank you!
** Attachment added: "This patch changes /etc/gdm/Xsession so that it uses
/bin/bash instead of /bin/sh"
http://launchpadlibrarian.net/35825989/patch
--
"shopt" xsession error upon login
https://bugs.launchpad.net/bugs/60079
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs