[Bug 857797] [NEW] Failure to open software sources dialog over ssh -X

Christopher Barrington-Leigh cpblpublic at gmail.com
Fri Sep 23 21:39:00 UTC 2011


Public bug reported:

No idea what's to blame, but here's what I did, and the stderr output
while I tried a few times to open the software sources dialog.  The same
thing happened if I did it without sudo.

ssh -X nearby.machine.running.oneiric.ca
Welcome to Ubuntu oneiric (development branch) (GNU/Linux 3.0.0-11-generic i686)

 * Documentation:  https://help.ubuntu.com/

Last login: Fri Sep 23 16:42:57 2011 from other.ubuntu.machine.ca
[1733][cpbl@:~]$ sudo software-center
[sudo] password for cpbl: 
2011-09-23 17:33:27,399 - softwarecenter.ui.gtk3.em - INFO - EM's: 0 0 0
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
2011-09-23 17:33:27,922 - softwarecenter.ui.gtk3.app - ERROR - could not initiate dbus
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1078, in setup_dbus_or_bring_other_instance_to_front
    bus = dbus.SessionBus()
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 219, in __new__
    mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 108, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 125, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

2011-09-23 17:33:29,571 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2011-09-23 17:33:30,093 - softwarecenter.ui.gtk3.utils - INFO - Softwarecenter style provider for ambiance Gtk theme: /usr/share/software-center/ui/gtk3/css/softwarecenter.css
2011-09-23 17:33:36,176 - softwarecenter.ui.gtk3.app - INFO - software-center-agent finished with status 1
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 25, in <module>
    from gi.repository import Gtk
  File "/usr/lib/python2.7/dist-packages/gi/importer.py", line 76, in load_module
    dynamic_module._load()
  File "/usr/lib/python2.7/dist-packages/gi/module.py", line 224, in _load
    overrides_modules = __import__('gi.overrides', fromlist=[self._namespace])
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 1404, in <module>
    raise RuntimeError("Gtk couldn't be initialized")
RuntimeError: Gtk couldn't be initialized

(software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
assertion `GDK_IS_WINDOW (window)' failed

(software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
assertion `GDK_IS_WINDOW (window)' failed

(software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
assertion `GDK_IS_WINDOW (window)' failed

(software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
assertion `GDK_IS_WINDOW (window)' failed

(software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
assertion `GDK_IS_WINDOW (window)' failed

(software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
assertion `GDK_IS_WINDOW (window)' failed

(software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
assertion `GDK_IS_WINDOW (window)' failed

(software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
assertion `GDK_IS_WINDOW (window)' failed

(software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
assertion `GDK_IS_WINDOW (window)' failed

(software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
assertion `GDK_IS_WINDOW (window)' failed

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-center 4.1.23.5
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic i686
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Fri Sep 23 17:35:06 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: software-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/857797

Title:
  Failure to open software sources dialog over ssh -X

Status in “software-center” package in Ubuntu:
  New

Bug description:
  No idea what's to blame, but here's what I did, and the stderr output
  while I tried a few times to open the software sources dialog.  The
  same thing happened if I did it without sudo.

  ssh -X nearby.machine.running.oneiric.ca
  Welcome to Ubuntu oneiric (development branch) (GNU/Linux 3.0.0-11-generic i686)

   * Documentation:  https://help.ubuntu.com/

  Last login: Fri Sep 23 16:42:57 2011 from other.ubuntu.machine.ca
  [1733][cpbl@:~]$ sudo software-center
  [sudo] password for cpbl: 
  2011-09-23 17:33:27,399 - softwarecenter.ui.gtk3.em - INFO - EM's: 0 0 0
  X11 connection rejected because of wrong authentication.
  X11 connection rejected because of wrong authentication.
  X11 connection rejected because of wrong authentication.
  X11 connection rejected because of wrong authentication.
  2011-09-23 17:33:27,922 - softwarecenter.ui.gtk3.app - ERROR - could not initiate dbus
  Traceback (most recent call last):
    File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1078, in setup_dbus_or_bring_other_instance_to_front
      bus = dbus.SessionBus()
    File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 219, in __new__
      mainloop=mainloop)
    File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 108, in __new__
      bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
    File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 125, in __new__
      bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
  DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

  2011-09-23 17:33:29,571 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
  2011-09-23 17:33:30,093 - softwarecenter.ui.gtk3.utils - INFO - Softwarecenter style provider for ambiance Gtk theme: /usr/share/software-center/ui/gtk3/css/softwarecenter.css
  2011-09-23 17:33:36,176 - softwarecenter.ui.gtk3.app - INFO - software-center-agent finished with status 1
  X11 connection rejected because of wrong authentication.
  X11 connection rejected because of wrong authentication.
  X11 connection rejected because of wrong authentication.
  X11 connection rejected because of wrong authentication.
  Traceback (most recent call last):
    File "/usr/bin/software-properties-gtk", line 25, in <module>
      from gi.repository import Gtk
    File "/usr/lib/python2.7/dist-packages/gi/importer.py", line 76, in load_module
      dynamic_module._load()
    File "/usr/lib/python2.7/dist-packages/gi/module.py", line 224, in _load
      overrides_modules = __import__('gi.overrides', fromlist=[self._namespace])
    File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 1404, in <module>
      raise RuntimeError("Gtk couldn't be initialized")
  RuntimeError: Gtk couldn't be initialized

  (software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
  assertion `GDK_IS_WINDOW (window)' failed

  (software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
  assertion `GDK_IS_WINDOW (window)' failed

  (software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
  assertion `GDK_IS_WINDOW (window)' failed

  (software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
  assertion `GDK_IS_WINDOW (window)' failed

  (software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
  assertion `GDK_IS_WINDOW (window)' failed

  (software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
  assertion `GDK_IS_WINDOW (window)' failed

  (software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
  assertion `GDK_IS_WINDOW (window)' failed

  (software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
  assertion `GDK_IS_WINDOW (window)' failed

  (software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
  assertion `GDK_IS_WINDOW (window)' failed

  (software-center:8152): Gdk-CRITICAL **: gdk_window_get_pointer:
  assertion `GDK_IS_WINDOW (window)' failed

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: software-center 4.1.23.5
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
  Uname: Linux 3.0.0-11-generic i686
  ApportVersion: 1.23-0ubuntu1
  Architecture: i386
  Date: Fri Sep 23 17:35:06 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_CA:en
   PATH=(custom, user)
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: software-center
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/857797/+subscriptions




More information about the foundations-bugs mailing list