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.

  • 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, 2010 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. Nov 9, 2010 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, 2010 at 2:20
  • What is sh a link to? /bin/dash? /bin/bash? Feb 17, 2012 at 4:43
  • What happens if you open a sh, then exec bash ?
    – b0fh
    Jul 3, 2012 at 16:29

1 Answer 1


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

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