Bug 135377

Summary: Kate gives errors when launched from command line with sudo but still runs
Product: [Applications] kate Reporter: Andrew Hunter <andy.e.hunter>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andrew Hunter 2006-10-10 03:20:45 UTC
Version:           2.5.4 (using KDE KDE 3.5.4)
Installed from:    Ubuntu Packages
OS:                Linux

From https://launchpad.net/distros/ubuntu/+source/kdebase/+bug/64735:


Kate throws screens of errors when invoking with sudo through command line; kate still starts, similar error to hoary it either didn't get fixed or is back.

rexbron@rexbron-laptop:~$ sudo kate test
 Password:
 Xlib: connection to ":0.0" refused by server
 Xlib: No protocol specified
kdeinit: Can't connect to the X Server.
 kdeinit: Might not terminate at end of session.
 Xlib: connection to ":0.0" refused by server
 Xlib: No protocol specified
kded: cannot connect to X server :0
 DCOP aborting call from 'anonymous-20768' to 'kded'
 kded: ERROR: Communication problem with kded, it probably crashed.
 QObject::disconnect: Unexpected null parameter


My kate version is 2.5.4 and kdebase 4:3.5.4-0ubuntu29
Comment 1 Christoph Cullmann 2008-08-12 14:01:49 UTC
sorry, thats no KDE specific problem, can't fix that.