kdesu leads to no permission for X
Bug #144722 reported by
wateenellende
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdesudo (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kdesudo
Using kdesu is not particularly sucessful:
$ kdesu adept_updater
X Error: BadDevice, invalid or uninitialized input device 171
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 171
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
Xlib: connection to ":0.0" refused by server
Xlib:
No protocol specified
adept_updater: cannot connect to X server :0
$ xhost +
$ kdesu adept_updater
... now it works fine.
To post a comment you must log in.
I can confirm this, but the solution with xhost + doesn't seem to work.
See also bug #140793 .
If I do e.g. kdesudo kedit, it starts kedit, but as myself, not as root
When I do a kdesudo -u testuser kedit, it gives a:
- No protocol specified
- Xlib: connection to ":0.0" refused by server
It gives also sometimes these error messages: kdecache- jeroen" is owned by uid 1000 instead of uid 0. jeroenzvlc9S" is owned by uid 1000 instead of uid 0.
- Error: "/var/tmp/
- Error: "/tmp/ksocket-
Please fix. Seems very critical.