Connect twice to same server, get shared screen session

Bug #368963 reported by Martijn Cielen
2
Affects Status Importance Assigned to Milestone
byobu
Fix Released
Wishlist
Dustin Kirkland 
byobu (Ubuntu)
Fix Released
Wishlist
Dustin Kirkland 

Bug Description

When connecting twice over ssh to the same server, you connect to the same screen session. Default behaviour should imho be a dialog like this:

found following screen sessions
1: screen-one
2: screen-two
3: screen-three
type the number of a session, or n for a new one

or something like this, but you get the point. If I connect to the same server twice, I don't always want the shared screen session by default.

Related branches

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

Hello, thanks for the report.

This behavior is by design. The idea is that you would open multiple windows to handle separate tasks.

If you don't want to automatically connect to screen, then please disable screen by default at login. Then, proceed to login, and choose what screen you'd like to connect to.

Alternatively, we've tried to make it as easy as possible for you to detach (F6). Then, you can run 'screen -ls' and attach to a different session with screen -r.

I'm afraid I'm going to mark this as 'won't fix' for now. If you'd like to submit a patch that handles this behavior more properly, I will certainly consider it.

Sincere thanks,
:-Dustin

Changed in screen-profiles:
status: New → Won't Fix
status: Won't Fix → Invalid
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Okay, blizzkid has offered to propose a patch for this.

I have directed him to look at:
 1) screen -ls
 2) /usr/bin/screen-launcher
 3) screen's manpage on -xxR as an option

We're going to have to solve this in a manner that offends people the least, as I expect it might be controversial.

:-Dustin

Changed in screen-profiles:
assignee: nobody → martijn cielen (blizzkid)
importance: Undecided → Wishlist
status: Invalid → Confirmed
Changed in byobu:
status: Confirmed → In Progress
assignee: Martijn Cielen (mcielen) → Dustin Kirkland (kirkland)
Changed in byobu (Ubuntu):
status: New → Fix Committed
importance: Undecided → Wishlist
assignee: nobody → Dustin Kirkland (kirkland)
Changed in byobu:
status: In Progress → Fix Committed
Changed in byobu:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
byobu (2.47-0ubuntu1) lucid; urgency=low

  [ Dustin Kirkland ]
  * usr/lib/byobu/network: fix network script regresssion, LP: #506315
  * usr/lib/byobu/wifi_quality: silence error
  * byobu.desktop, byobu.svg: install these again, but hide the menu item
    by default, per pitti's fallback suggestion to LP: #498322
  * Make byobu more portable, much help from Derek Carter, LP: #503554
    - debian/rules, debian/manpages, usr/share/man/man1/*: move the manpages
      to make byobu more portable
    - debian/install, bin/*, usr/lib/byobu/*: move the status scripts
    - debian/install, usr/share/byobu/*: move the share files
    - debian/install, usr/bin/*: move the binary scripts
    - debian/install, usr/share/doc/byobu/*: move the docs
    - debian/install, etc/*: move the config file
    - debian/install, debian/rules, po/*: move the translations
    - usr/share/applications/byobu.desktop, usr/share/byobu/pixmaps/byobu.svg:
      moved
    - usr/share/byobu/tests/byobu-time-notifications: relocate, rename, and
      install the notification timing tests, add a copyright header
    - AUTHORS, ChangeLog, NEWS: added
  * bin/byobu-launcher, bin/byobu-select-session,
    share/man/man1/byobu-select-session.1: add a dynamic prompt if
    automatically launching byobu on a server where multiple sessions
    exist, LP: #368963
  * byobu-export, byobu-janitor, byobu-status: default to white text on
    black backgrounds

  [ Jason Cohen ]
  * usr/bin/byobu: check if our terminfo supports 256 colors, LP: #409353
 -- Dustin Kirkland <email address hidden> Mon, 11 Jan 2010 22:54:36 -0600

Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
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.