Unable to attach to any detached session

Bug #684926 reported by Bharath Ramesh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: byobu

I recently upgraded to Ubuntu 10.10 from Ubuntu 10.04 since the upgrade byobu is broken. If I start a new byobu session and detach from it I am not able to ever reattach to the session.

If I run the command byobu -list it doesnt find any screen sessions, at the same time running screen -list will list all the sessions and one can attach to the existing session using screen as opposed to byobu.

Related branches

Revision history for this message
Bharath Ramesh (krosswindz) wrote :

I upgraded byobu to verion in ppa. If I rename any session using -S flag when starting byobu it does not detect it. If I dont use -S flag then I am able to attach to the session. This was not the case when using byobu from either karmic or lucid.

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

What version are you testing?

I'm able to do the following:

Tab1:
  $ byobu -S foo

Tab2:
  $ byobu -S bar

Tab3:
$ byobu
Byobu sessions...
  1. 28311.bar (12/07/2010 09:22:38 PM) (Attached)
  2. 25125.foo (12/07/2010 09:21:34 PM) (Attached)
  3. Create a new session
Choose 1-3 [1]:

Changed in byobu (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Bharath Ramesh (krosswindz) wrote :

I am running byobu 3.16-0ubuntu1~ppa4, I still have the same issue.

$ apt-cache policy byobu
byobu:
  Installed: 3.16-0ubuntu1~ppa4
  Candidate: 3.16-0ubuntu1~ppa4
  Version table:
 *** 3.16-0ubuntu1~ppa4 0
        500 http://ppa.launchpad.net/byobu/ppa/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status
     3.5-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages

$ byobu -list
No Sockets found in /var/run/screen/S-<username>.

$ screen -list
There are screens on:
 24027.xxxx (12/05/2010 01:56:09 PM) (Detached)
 12471.yyyy (12/03/2010 04:54:56 PM) (Attached)
 8186.zzzz (12/02/2010 11:43:46 PM) (Detached)
3 Sockets in /var/run/screen/S-<username>.

Changed in byobu (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 3.17-0ubuntu1

---------------
byobu (3.17-0ubuntu1) natty; urgency=low

  * usr/lib/byobu/cpu_temp: add cpu temp path for modern (x201) thinkpads,
    LP: #693568
  * usr/share/byobu/windows/common: must set a target site for the sample
    w3m window to work, LP: #689340
  * usr/bin/byobu: list all sessions, LP: #684926
  * usr/share/applications/byobu.desktop: enable the desktop icon by default
 -- Dustin Kirkland <email address hidden> Wed, 08 Dec 2010 08:57:51 -0600

Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Bharath Ramesh (krosswindz) wrote :

I just upgraded to 3.17-0ubuntu1~ppa4 part of the problem still exists. I am unable to attach to a session using -xS <sockname> switch.

Tab1:
  $ byobu -S foo

Tab2:
  $ byobu -S bar

Tab3:
$ byobu -list
No Sockets found in /var/run/screen/S-<username>.

$ screen -list
There are screens on:
        32608.bar (12/27/2010 10:54:46 AM) (Attached)
        32470.foo (12/27/2010 10:54:42 AM) (Attached)
2 Sockets in /var/run/screen/S-<username>.

However,
$ byobu
Byobu sessions...
   1. 32608.bar (12/27/2010 10:54:46 AM) (Attached)
   2. 32470.foo (12/27/2010 10:54:42 AM) (Attached)
   3. Create a new session
Choose 1-3 [1]:

Revision history for this message
Bharath Ramesh (krosswindz) wrote :

I upgraded to 3.19-0ubuntu1~ppa4 and I am still unable to attach to session using -xS <sockname> switch.

$ byobu -list
There are screens on:
        4467.bar (12/28/2010 10:58:36 AM) (Attached)
        4322.foo (12/28/2010 10:58:32 AM) (Attached)
2 Sockets in /var/run/screen/S-<username>.

$ byobu -xS bar
There is no screen to be attached matching byobu.

From the error it appears that byobu is always passing "byobu" as the sockname instead of what is passed to it in the switch.

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 684926] Re: Unable to attach to any detached session

Try

byobu -x -S bar

Dustin

Revision history for this message
Bharath Ramesh (krosswindz) wrote :

byobu -x -S bar works.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.