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:
- Error: "/var/tmp/kdecache-jeroen" is owned by uid 1000 instead of uid 0.
- Error: "/tmp/ksocket-jeroenzvlc9S" is owned by uid 1000 instead of uid 0.
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.