I have exactly the same problem here and I'm using Xinerama and multihead too
Notebook: Sony Vaio VGN-FE11S
output from sudo guidance-power-manager:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Problem connecting to X server for idletime detection.
Traceback (most recent call last):
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 1077, in <module>
mainWindow = PowermanagerApp(None, "main window")
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 1021, in __init__
self.pmwidget.prepare()
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 116, in prepare
self.poll(False)
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 668, in poll
self.checkIdletime()
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 942, in checkIdletime
idlesec = round(self.powermanager.getIdleSeconds()/60, 2)
File "/usr/share/python-support/kde-guidance/powermanage.py", line 431, in getIdleSeconds
return self.xscreen.getIdleSeconds()
AttributeError: PowerManage instance has no attribute 'xscreen'
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/apport_python_hook.py", line 44, in apport_excepthook
binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
IndexError: list index out of range
Original exception was:
Traceback (most recent call last):
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 1077, in <module>
mainWindow = PowermanagerApp(None, "main window")
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 1021, in __init__
self.pmwidget.prepare()
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 116, in prepare
self.poll(False)
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 668, in poll
self.checkIdletime()
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 942, in checkIdletime
idlesec = round(self.powermanager.getIdleSeconds()/60, 2)
File "/usr/share/python-support/kde-guidance/powermanage.py", line 431, in getIdleSeconds
return self.xscreen.getIdleSeconds()
AttributeError: PowerManage instance has no attribute 'xscreen'
I have exactly the same problem here and I'm using Xinerama and multihead too
Notebook: Sony Vaio VGN-FE11S
output from sudo guidance- power-manager:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Problem connecting to X server for idletime detection. python- support/ kde-guidance/ guidance- power-manager. py", line 1077, in <module> (None, "main window") python- support/ kde-guidance/ guidance- power-manager. py", line 1021, in __init__ pmwidget. prepare( ) python- support/ kde-guidance/ guidance- power-manager. py", line 116, in prepare poll(False) python- support/ kde-guidance/ guidance- power-manager. py", line 668, in poll checkIdletime( ) python- support/ kde-guidance/ guidance- power-manager. py", line 942, in checkIdletime powermanager. getIdleSeconds( )/60, 2) python- support/ kde-guidance/ powermanage. py", line 431, in getIdleSeconds getIdleSeconds( ) python- support/ python2. 5/apport_ python_ hook.py" , line 44, in apport_excepthook realpath( os.path. join(os. getcwdu( ), sys.argv[0]))
Traceback (most recent call last):
File "/usr/share/
mainWindow = PowermanagerApp
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
idlesec = round(self.
File "/usr/share/
return self.xscreen.
AttributeError: PowerManage instance has no attribute 'xscreen'
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/
binary = os.path.
IndexError: list index out of range
Original exception was: python- support/ kde-guidance/ guidance- power-manager. py", line 1077, in <module> (None, "main window") python- support/ kde-guidance/ guidance- power-manager. py", line 1021, in __init__ pmwidget. prepare( ) python- support/ kde-guidance/ guidance- power-manager. py", line 116, in prepare poll(False) python- support/ kde-guidance/ guidance- power-manager. py", line 668, in poll checkIdletime( ) python- support/ kde-guidance/ guidance- power-manager. py", line 942, in checkIdletime powermanager. getIdleSeconds( )/60, 2) python- support/ kde-guidance/ powermanage. py", line 431, in getIdleSeconds getIdleSeconds( )
Traceback (most recent call last):
File "/usr/share/
mainWindow = PowermanagerApp
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
idlesec = round(self.
File "/usr/share/
return self.xscreen.
AttributeError: PowerManage instance has no attribute 'xscreen'