I am not sure how to do it right. I tried it once as a normal user and
the second time using sudo.

1) 
[EMAIL PROTECTED]:~$ guidance-power-manager
[EMAIL PROTECTED]:~$ X Error: BadDevice, invalid or uninitialized input device 
167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
KCrash: Application 'guidance-power-manager.py' crashing...

2)
[EMAIL PROTECTED]:~$ sudo guidance-power-manager
Password:
[EMAIL PROTECTED]:~$ X Error: BadDevice, invalid or uninitialized input device 
167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
No protocol specified
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
No protocol specified
kded: cannot connect to X server :0.0
DCOP aborting call from 'anonymous-6473' to 'kded'
kded: ERROR: Communication problem with kded, it probably crashed.
No protocol specified
Traceback (most recent call last):
  File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 
1045, in <module>
    mainWindow = PowermanagerApp(None, "main window")
  File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 
982, in __init__
    self.pmwidget = PowerManager(self,name)
  File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 
96, in __init__
    self.powermanager = PowerManage()
  File "/usr/share/python-support/kde-guidance/powermanage.py", line 69, in 
__init__
    xg = xf86misc.XF86Server()
  File "/usr/share/python-support/kde-guidance/xf86misc.py", line 133, in 
__init__
    raise XF86Error, "Couldn't connect to X server."
xf86misc.XF86Error: Couldn't connect to X server.
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 
1045, in <module>
    mainWindow = PowermanagerApp(None, "main window")
  File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 
982, in __init__
    self.pmwidget = PowerManager(self,name)
  File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 
96, in __init__
    self.powermanager = PowerManage()
  File "/usr/share/python-support/kde-guidance/powermanage.py", line 69, in 
__init__
    xg = xf86misc.XF86Server()
  File "/usr/share/python-support/kde-guidance/xf86misc.py", line 133, in 
__init__
    raise XF86Error, "Couldn't connect to X server."
xf86misc.XF86Error: Couldn't connect to X server.


I hope this is what you meant.

-- 
Powermanager crashes
https://launchpad.net/bugs/92550

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to