I recently upgraded to Gutsy. Odd things happen with any program that runs as root that has a graphical interface. For example, sudo kate /etc/fstab will result in this:
sudo vim /etc/fstab works perfectly for some odd reason.
A different error comes from sudo kcontrol:
along with a "Could not find mime type application/octet-stream" error.
All of the tabs, options, and formating are gone so fixing the octet-stream error for root specifically is something I can't find out how to do.
Does anyone know why this wonkiness is happening to root? It's not nice that root can't even operate properly to do root-y tasks.
Code:
X Error: BadDevice, invalid or uninitialized input device 171 Major opcode: 149 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 171 Major opcode: 149 Minor opcode: 3 Resource id: 0x0 Failed to open device 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.0 DCOP aborting call from 'anonymous-6184' to 'kded' kded: ERROR: Communication problem with kded, it probably crashed. kdeinit: Shutting down running client. --------------------------------- It looks like dcopserver is already running. If you are sure that it is not already running, remove /root/.DCOPserver_*****-desktop__0 and start dcopserver again. --------------------------------- 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.0 DCOP aborting call from 'anonymous-6192' to 'kded' kded: ERROR: Communication problem with kded, it probably crashed. kio (KSycoca): ERROR: No database available! <Repeated several (hundred) times> KCrash: Application 'kate' crashing... Xlib: connection to ":0.0" refused by server Xlib: No protocol specified drkonqi: cannot connect to X server :0.0
A different error comes from sudo kcontrol:
Code:
<same bad device error as above, but normal users get it and those programs still run> 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.0 DCOP aborting call from 'anonymous-6239' to 'kded' kded: ERROR: Communication problem with kded, it probably crashed. kio (KSycoca): ERROR: No database available! kcontrol: WARNING: No K menu group with X-KDE-BaseGroup=settings found ! Defaulting to Settings/ ERROR: Communication problem with kcontrol, it probably crashed. kcontrol: ERROR: : couldn't create slave : Unknown protocol 'file'. kcontrol: ERROR: : couldn't create slave : Unknown protocol 'file'.
All of the tabs, options, and formating are gone so fixing the octet-stream error for root specifically is something I can't find out how to do.
Does anyone know why this wonkiness is happening to root? It's not nice that root can't even operate properly to do root-y tasks.
Comment