byobu doesn't reconnect to gnome-session and dbus

Bug #883637 reported by Loic Jaquemet on 2011-10-29
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Medium
Unassigned

Bug Description

duplicate of https://answers.launchpad.net/byobu/+question/137736

reproducible:

open a unity session
open a terminal
open byobu in the terminal (screen mode)
launch gedit from the byobu

logoff the session

login same user
open a terminal
reattach byobu session

launch gedit

you will get this error :

-----
(gnome-open:26848): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Failed to connect to socket /tmp/dbus-8sFQqQulYt: Connection refused
GConf Error: No D-BUS daemon running

(gedit:26850): EggSMClient-WARNING **: Failed to connect to the session manager: Could not open network socket
--------------

Reason:
see your env :

DBUS_SESSION_BUS_ADDRESS
SESSION_MANAGER

are not good, because the dbus and the session -manager have changed.

Patch :
update the env ( in control-F5 ? )

export DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-3sHR7ZwvNL,guid=e57a36b49ba7abc07e4d53b40002bb64
export SESSION_MANAGER=local/computer:@/tmp/.ICE-unix/23062,unix/computer:/tmp/.ICE-unix/23062

the content should be

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: byobu 4.37-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
Uname: Linux 3.0.0-12-generic-pae i686
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sat Oct 29 15:39:46 2011
InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ScreenRC:

SourcePackage: byobu
UpgradeStatus: Upgraded to oneiric on 2011-10-23 (6 days ago)

Loic Jaquemet (loic-jaquemet) wrote :
Changed in byobu (Ubuntu):
importance: Undecided → Medium
status: New → In Progress
Changed in byobu (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

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

---------------
byobu (4.46-0ubuntu1) precise; urgency=low

  * debian/control: LP: #887344
    - promote tmux to a 'recommends'; will 'depend' on it soon
  * === added directory etc/profile.d, etc/byobu/Makefile.am,
    etc/profile.d/Makefile.am, etc/profile.d/Z97-byobu.sh, Makefile.am:
    - LP: #586546
    - Enable any user to remotely opt into launching byobu by default,
      using an LC_BYOBU=1 environment variable, which is transmitted over
      SSH
  * configure.ac, debian/install, etc/byobu/Makefile.am,
    etc/profile.d/Makefile.am:
    - fix installations to /etc
  * usr/bin/byobu, usr/bin/byobu-reconnect-sockets,
    usr/share/byobu/profiles/tmux: LP: #883637
    - fix reconnection to SESSION_MANAGER and DBUS_SESSION_BUS_ADDRESS
    - add C-F5 key to tmux profile
  * usr/bin/byobu-ctrl-a, usr/share/byobu/profiles/tmux: LP: #887387
    - support F12 as escape key in tmux mode
    - reorder byobu-ctrl-a to offer screen first, then emacs mode
    - make byobu-ctrl-a slighty more compatible with tmux (not quite
      there yet...)
  * usr/bin/byobu: LP: #713879
    - add ulimit checks to byobu -v
  * usr/lib/byobu/.constants:
    - don't use UTF8 C an F for now
  * usr/lib/byobu/network: LP: #880410
    - localize some variables, fix variable colision with cpu_temp
  * debian/control:
    - bump standards version
  * debian/install, debian/rules, etc/byobu/Makefile.am,
    etc/profile.d/Makefile.am:
    - fighting with autoconf to get shtuff installing in /etc, argh
 -- Dustin Kirkland <email address hidden> Mon, 31 Oct 2011 09:46:46 -0400

Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers