[Bug 60079] Re: shopt xsession error upon login

2010-05-03 Thread atomic-penguin
I came across this problem when doing a clean install of Lucid. I had an existing /home partition which was not formatted. I'm not sure if the installer overwrote my .bashrc, but I couldn't login to GDM after the install was finished. I overwrote my .bashrc with the default Lucid skeleton

[Bug 60079] Re: shopt xsession error upon login

2009-11-19 Thread joe14
While researching this problem further, I stumbled across this page: https://wiki.ubuntu.com/DashAsBinSh Prior to the release of 6.10, Ubuntu developers made a conscious decision to change the default shell (the shell that is used to load scripts in /etc/profile.d) from bash to dash. dash is

[Bug 60079] Re: shopt xsession error upon login

2009-11-18 Thread joe14
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

[Bug 60079] Re: shopt xsession error upon login

2009-11-10 Thread dfsmith
This has reared itself again in Karmic. /etc/gdm/Xsession uses /bin/dash as its parser, but sets the $SHELL environment variable to /bin/bash (!). This makes any ~/.profile that uses bash-isms kill the gdm login process. -- shopt xsession error upon login https://bugs.launchpad.net/bugs/60079

[Bug 60079] Re: shopt xsession error upon login

2007-07-17 Thread tkoopa
I had a similar problem not being able to log in to the default GNOME session ( your last session lasted less than 10 seconds message). The problem came from the fact that I had created a .profile symlink linking to .bashrc. unlink .profile fixed the problem for me -- shopt xsession error upon

[Bug 60079] Re: shopt xsession error upon login

2007-03-30 Thread Daniel Holbach
As described in the previous comments, your report lacks the information we need to investigate the problem further. We'll close this report for now - please reopen it if you can give us the missing information. ** Changed in: gdm (Ubuntu) Status: Needs Info = Rejected -- shopt xsession

[Bug 60079] Re: shopt xsession error upon login

2007-02-07 Thread Noah Slater
Right, I see what's going on here. I edited my /etc/profile not to check for these two variables. I would say that was a misunderstanding on my part and those others who removed the checks. I have added the checks back in and everything works fine. -- shopt xsession error upon login

[Bug 60079] Re: shopt xsession error upon login

2007-02-07 Thread Sebastien Bacher
Thank you for confirming that Noah. Benjamin, did you change your profile? ** Changed in: gdm (Ubuntu) Status: Unconfirmed = Needs Info -- shopt xsession error upon login https://launchpad.net/bugs/60079 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com

[Bug 60079] Re: shopt xsession error upon login

2007-02-07 Thread Benjamin Reed
nope, I didn't edit /etc/profile, nor do I have a ~/.profile file, only ~/.bashrc looking at it closely, it's the one from /etc/skel/.bashrc with a few aliases and env vars added, and a set -o vi I can't imagine that would trigger bash-specific behavior, but I dunno... -- shopt xsession error

[Bug 60079] Re: shopt xsession error upon login

2007-02-07 Thread Sebastien Bacher
that's not likely due to some user file, what do you have to /etc/profile? Could you copy it to a comment? -- shopt xsession error upon login https://launchpad.net/bugs/60079 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 60079] Re: shopt xsession error upon login

2007-02-07 Thread Benjamin Reed
attached is my /etc/profile ** Attachment added: /etc/profile http://librarian.launchpad.net/6339021/profile -- shopt xsession error upon login https://launchpad.net/bugs/60079 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 60079] Re: shopt xsession error upon login

2007-02-07 Thread Sebastien Bacher
the profile looks like the stock one, did you change any of the xorg startup files? could that change make bash_completion be loaded? -- shopt xsession error upon login https://launchpad.net/bugs/60079 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com

[Bug 60079] Re: shopt xsession error upon login

2007-02-06 Thread Sebastien Bacher
The bug is marked rejected because nobody reopened it, doing that now. That doesn't really look like a gdm bug though, the /etc/gdm/Xsession instructions work fine with sh. The /etc/profile file is loaded, it sources bash.bashrc only if PS1 and BASH are set, is that the case when gdm is starting?

[Bug 60079] Re: shopt xsession error upon login

2007-02-02 Thread Noah Slater
Bump. Why is this still at rejected? -- shopt xsession error upon login https://launchpad.net/bugs/60079 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 60079] Re: shopt xsession error upon login

2007-01-31 Thread Sebastien Bacher
Where do you have your bash specific commands, shouldn't your startup file use #!/bin/bash if you are using them? -- shopt xsession error upon login https://launchpad.net/bugs/60079 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com

[Bug 60079] Re: shopt xsession error upon login

2007-01-31 Thread Noah Slater
No, my file of bash specific start up commands is in /etc/bash.bashrc which is sourced from /etc/profile You cannot put the hash bang at the top of a sourced file. I do not think I am alone in having bash specific stuff in these files which is why there are a few other cases of people

[Bug 60079] Re: shopt xsession error upon login

2007-01-30 Thread Noah Slater
I can confirm that this a bug for me too. My global /etc/bash.bashrc file is sourcing /etc/bash_completion which in turn exits with a error status of 2 with the following message: /etc/bash_completion: 44: Syntax error: Bad substitution You can reproduce by sourcing /etc/bash_completion your

[Bug 60079] Re: shopt xsession error upon login

2007-01-30 Thread Sebastien Bacher
that looks like a bash bug, not a gdm one -- shopt xsession error upon login https://launchpad.net/bugs/60079 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 60079] Re: shopt xsession error upon login

2007-01-30 Thread Noah Slater
https://launchpad.net/ubuntu/+source/bash/+bug/82276 -- shopt xsession error upon login https://launchpad.net/bugs/60079 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 60079] Re: shopt xsession error upon login

2007-01-30 Thread Noah Slater
Should I refile against Ubuntu bash? -- shopt xsession error upon login https://launchpad.net/bugs/60079 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 60079] Re: shopt xsession error upon login

2007-01-30 Thread Noah Slater
I think I have figured it out... My /etc/profile was sourcing /etc/bash.bashrc every time. You must have made a change to /etc/X11/Xsession recently that means when you source /etc/profile under sh you end up sourcing /etc/bash.bashrc. I assume I am in the wrong here so I have removed the line

[Bug 60079] Re: shopt xsession error upon login

2007-01-30 Thread Noah Slater
Thinking about it a little more... this is happening becuase I have bash specific commands in one of my startup files. The gdm package is sourcing my startup files under sh. I think therefor that the bug is with the gdm package. -- shopt xsession error upon login

[Bug 60079] Re: shopt xsession error upon login

2006-12-14 Thread Daniel Holbach
Your bug lacks information we would need to investigate further. We are now going to close the bug - please reopen if you have more information at hand. ** Changed in: gdm (Ubuntu) Status: Needs Info = Rejected -- shopt xsession error upon login https://launchpad.net/bugs/60079 --

[Bug 60079] Re: shopt xsession error upon login

2006-09-14 Thread Sebastien Bacher
the session to start is written to .dmrc. Do you have the same issue if you pick GNOME from the sessions list? -- shopt xsession error upon login https://launchpad.net/bugs/60079 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 60079] Re: shopt xsession error upon login

2006-09-13 Thread Sebastien Bacher
Thanks for your bug. What session did you pick from gdm? gdm has no reason to use .bashrc if bash is not used. Using to shopt to .bashrc doesn't stop the session to start on my edgy desktop ** Changed in: gdm (Ubuntu) Importance: Untriaged = Low Assignee: (unassigned) = Ubuntu Desktop

[Bug 60079] Re: shopt xsession error upon login

2006-09-13 Thread Benjamin Reed
How would I go about figuring out what session I've got? When I'm in gdm, it just says last session and an ls -la in my home dir doesn't give me anything with session in the name. I'm starting up in gnome, if that's what you're referring to. -- shopt xsession error upon login