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
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): caffeine" , line 36, in <module> python3/ dist-packages/ ewmh.py" , line 50, in __init__ python3/ dist-packages/ Xlib/display. py", line 80, in __init__ display) python3/ dist-packages/ Xlib/display. py", line 62, in __init__ Display. __init_ _(*(self, ) + args, **keys) python3/ dist-packages/ Xlib/protocol/ display. py", line 129, in __init__ nnectionError( self.display_ name, r.reason) DisplayConnecti onError: Can't connect to display ":0": b'Invalid MIT-MAGIC-COOKIE-1 key'
File "/usr/bin/
ewmh = EWMH()
File "/usr/lib/
self.display = _display or display.Display()
File "/usr/lib/
self.display = _BaseDisplay(
File "/usr/lib/
display.
File "/usr/lib/
raise error.DisplayCo
Xlib.error.
- Seems to happen because of this bug that has been fixed upstream /github. com/LiuLang/ python3- xlib/issues/ 6
https:/
- 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