screen works; byobu doesn't?

Asked by Ghoti

On Ubuntu Karmic Server, when I SSH in and attempt to use Byobu, I get the following error:

ghoti@fortress:~$ byobu
Exit the current screen session to run byobu

I get the error with any mix of command-line paramaters I have tried.

However:

ghoti@fortress:~$ screen -ls
No Sockets found in /var/run/screen/S-ghoti.

Also, screen runs normally, without complaint.

Any ideas what could cause this or, more importantly, how to fix it?

Question information

Language:
English Edit question
Status:
Solved
For:
byobu Edit question
Assignee:
No assignee Edit question
Solved by:
Dustin Kirkland 
Solved:
Last query:
Last reply:
Revision history for this message
Dustin Kirkland  (kirkland) said :
#1

When you try to run byobu, are you sure that you're not already in a
screen session?

Also, what's the value of echo $TERM?

Revision history for this message
Ghoti (dopeghoti) said :
#2

There are no byobu or screen sessions running on the machine in question (that I am SSHing into and trying to run byobu on), but I am running byobu locally- does byobu not support nested screens?

ghoti@fortress:~$ echo $TERM
screen-bce

Indeed; when I connect using a non-byobu terminal, I can run byobu on the remote box. Is not allowing nested-byobu sessions the intended behavior?

Revision history for this message
Best Dustin Kirkland  (kirkland) said :
#3

On Mon, Mar 1, 2010 at 1:08 PM, Ghoti
<email address hidden> wrote:
> There are no byobu or screen sessions running on the machine in question
> (that I am SSHing into and trying to run byobu on), but I am running
> byobu locally- does byobu not support nested screens?

In Karmic, it does not.

But it does now!

> ghoti@fortress:~$ echo $TERM
> screen-bce
>
> Indeed; when I connect using a non-byobu terminal, I can run byobu on
> the remote box.  Is not allowing nested-byobu sessions the intended
> behavior?

In the version you're running, that's true. However, it has since been fixed.

Go to http://launchpad.net/byobu and add the latest PPA if you want
this fixed. Otherwise, wait for Lucid.

:-Dustin

Revision history for this message
Ghoti (dopeghoti) said :
#4

Thanks, I'll add that PPA. Thanks also for your fast answers!