I am not sure how to do it right. I tried it once as a normal user and the second time using sudo.
1)
georg@ubuntu:~$ guidance-power-manager
georg@ubuntu:~$ 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)
georg@ubuntu:~$ sudo guidance-power-manager
Password:
georg@ubuntu:~$ 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 am not sure how to do it right. I tried it once as a normal user and the second time using sudo.
1) power-manager power-manager. py' crashing...
georg@ubuntu:~$ guidance-
georg@ubuntu:~$ 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-
2) power-manager python- support/ kde-guidance/ guidance- power-manager. py", line 1045, in <module> (None, "main window") python- support/ kde-guidance/ guidance- power-manager. py", line 982, in __init__ self,name) python- support/ kde-guidance/ guidance- power-manager. py", line 96, in __init__ powermanager = PowerManage() python- support/ kde-guidance/ powermanage. py", line 69, in __init__ XF86Server( ) python- support/ kde-guidance/ xf86misc. py", line 133, in __init__ python- support/ python2. 5/apport/ python_ hook.py" , line 44, in apport_excepthook realpath( os.path. join(os. getcwdu( ), sys.argv[0]))
georg@ubuntu:~$ sudo guidance-
Password:
georg@ubuntu:~$ 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/
mainWindow = PowermanagerApp
File "/usr/share/
self.pmwidget = PowerManager(
File "/usr/share/
self.
File "/usr/share/
xg = xf86misc.
File "/usr/share/
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/
binary = os.path.
IndexError: list index out of range
Original exception was: python- support/ kde-guidance/ guidance- power-manager. py", line 1045, in <module> (None, "main window") python- support/ kde-guidance/ guidance- power-manager. py", line 982, in __init__ self,name) python- support/ kde-guidance/ guidance- power-manager. py", line 96, in __init__ powermanager = PowerManage() python- support/ kde-guidance/ powermanage. py", line 69, in __init__ XF86Server( ) python- support/ kde-guidance/ xf86misc. py", line 133, in __init__
Traceback (most recent call last):
File "/usr/share/
mainWindow = PowermanagerApp
File "/usr/share/
self.pmwidget = PowerManager(
File "/usr/share/
self.
File "/usr/share/
xg = xf86misc.
File "/usr/share/
raise XF86Error, "Couldn't connect to X server."
xf86misc.XF86Error: Couldn't connect to X server.
I hope this is what you meant.