Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using byobu within xterm. Whenever I try to create a new window with bash, the window opens then immediately closes. Whenever I create a window with plain old sh however, it works fine.

I am running Crunchbang Linux.

share|improve this question

closed as too localized by slhck Nov 1 '12 at 17:21

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I apologize for the dupe. When I posted the first time it gave me a 408 Request Timeout error so I tried posting again. Sorry. – Wuffers Nov 8 '10 at 23:35
Is there an exit or return in your ~/.bashrc or similar startup file? Also, please detail the steps you are taking to produce this result. – Dennis Williamson Nov 9 '10 at 1:34
In my .bashrc, at line 8 there is something that says [ -z "$PS1" ] && return. And, to get this to happen, byobu has to be set to start at login, then I press F2 to create a new window with bash, after doing that, the window opens for a moment and then closes. – Wuffers Nov 9 '10 at 2:20
What is sh a link to? /bin/dash? /bin/bash? – Dustin Kirkland Feb 17 '12 at 4:43
What happens if you open a sh, then exec bash ? – b0fh Jul 3 '12 at 16:29

I have no idea why, but after closing the status window (Opened by pressing F9), it works again.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .