[Bug 1482844] Re: Caffeine can't connect to display since updating Trusty to Vivid kernel and X (HWE)

Sebastien Bacher seb128 at ubuntu.com
Tue Nov 10 10:33:11 UTC 2015


** Also affects: python-xlib (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: python-xlib (Ubuntu)
   Importance: Undecided => High

** Changed in: python-xlib (Ubuntu Trusty)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1482844

Title:
  Caffeine can't connect to display since updating Trusty to Vivid
  kernel and X (HWE)

Status in python-xlib package in Ubuntu:
  Confirmed
Status in python-xlib source package in Trusty:
  New
Status in python-xlib package in Debian:
  Fix Released

Bug description:
  I get the following error message when I start Caffeine since updating
  Ubuntu 14.04 to Vivid kernel and X (HWE) :

  https://bugs.launchpad.net/caffeine/+bug/1460226

  Traceback (most recent call last):
    File "/usr/bin/caffeine", line 36, in <module>
      ewmh = EWMH()
    File "/usr/lib/python3/dist-packages/ewmh.py", line 50, in __init__
      self.display = _display or display.Display()
    File "/usr/lib/python3/dist-packages/Xlib/display.py", line 80, in __init__
      self.display = _BaseDisplay(display)
    File "/usr/lib/python3/dist-packages/Xlib/display.py", line 62, in __init__
      display.Display.__init__(*(self, ) + args, **keys)
    File "/usr/lib/python3/dist-packages/Xlib/protocol/display.py", line 129, in __init__
      raise error.DisplayConnectionError(self.display_name, r.reason)
  Xlib.error.DisplayConnectionError: Can't connect to display ":0": b'Invalid MIT-MAGIC-COOKIE-1 key'

  - Seems to happen because of this bug that has been fixed upstream
  https://github.com/LiuLang/python3-xlib/issues/6

  - I never got this error message on Ubuntu 15.04
  - it only appeared, on Ubuntu 14.04, after updating to Vivid kernel and X stack
  - installing "python3-xlib" from Vivid repository resolved the issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-xlib/+bug/1482844/+subscriptions



More information about the Ubuntu-sponsors mailing list