Caffeine don't start on Ubuntu 14.04

Bug #1494415 reported by libuntu
92
This bug affects 21 people
Affects Status Importance Assigned to Milestone
Caffeine
Fix Committed
Undecided
Unassigned

Bug Description

Caffeine don't work on Ubuntu 14.04.3, the follow bug display on apport (which incidentally never sends error):

"Caffeine crashed with Xlib.error.DisplayConnectionError in__init__(): can't connect to Display "0": b'No protocol specified\n'"

I use Ubuntu 14.04.3 64 bits
Mother Board: Intel DG41RQ
4 GB RAM DDR2
CPU Intel Core 2 Duo E7400 2,8GHz x2
Graphic Card NVIDIA GeForce 9800 GT
Graphics Driver: privative 340.93

Attach the screen

Revision history for this message
libuntu (libuntu) wrote :
Revision history for this message
melomane (domenico-guerra) wrote :

i have the same problem, caffeine crash after upgrade to 14.04.3 , was working on 14.04.2

Revision history for this message
libuntu (libuntu) wrote :

yeah, it works and caffeine it's work too on Ubuntu 12.04. Please clicking on " This bug affects you" so they begin to assign the error or copy this link: https://bugs.launchpad.net/caffeine/+bug/1494415/+affectsmetoo and click on "This bug affects me. "

regards

Revision history for this message
Jon (doogie544) wrote :

Same issue here as well.

Ubuntu 14.04.03
Fresh install on a new computer.

Nvidia Geforce GTX 970 with driver 355- installed from the new "Ubuntu Graphics ppa"

Intel i7 (Haswell) Quad core multithreading enabled

Application simply crashes with the above error

(caffeine-indicator does does as well)

Revision history for this message
Jason Gambrel (jaygambrel) wrote :

I just added a bug report for elementary OS 0.3.1 which uses the same hardware enablement stack as Ubuntu 14.04.03. Same problem. Here is the output when runningit from the terminal:

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'No protocol specified\n'

Any help would be appreciated. Thank you.

Jay

Revision history for this message
libuntu (libuntu) wrote :

I've re-install Ubuntu 14.04 again with the driver nvidia-340 by default (recently it was release) with xorg server 1.15 and kernel Linux 3.19 and it work caffeine!!! the problem is caused by the ppa ubuntu graphic.

Revision history for this message
David M. Karr (davidmichaelkarr) wrote :

I'm seeing this also. I'm running it in a Ubuntu 14.04.3 VM, hosted on CentOS7.1, on an HP Zbook laptop. If it matters, the info from "lspci" for my display adapter says "NVIDIA Corporation GK107GLM [Quadro K1100M] (rev a1)".

Revision history for this message
libuntu (libuntu) wrote :

The problem is on lts-vivid stack graphics:

https://bugs.launchpad.net/bugs/1505857

Revision history for this message
Ales Kvapil (aleskva) wrote :

Same like @melomane. 14.04.2 fully working, then upgrade to 14.04.3 - nothing. Clean install of 14.04.3 - nothing. Any hack, how to make it work (partially at least)?

Revision history for this message
Reuben Thomas (rrt) wrote :

This is a bug in python-xlib. Update to the version from xenial, as it's unlikely to be fixed in Trusty.

Changed in caffeine:
status: New → Fix Committed
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.