View Full Version : Run kate as root
The Japanese Geek
12-18-2005, 06:40 PM
I am trying to run Kate as root. After looking at the FAQs, I detemined I needed to do
sudo kate
Unfortuetly, this leaves me with
kate: ERROR: KUniqueApplication: Can't determine DISPLAY. Aborting.
Normally I would simply log in as root, but this is not possible on KNOPPIX.
Any Ideas?
kirol
12-18-2005, 06:48 PM
xhost + ; DISPLAY=:0 sudo kate
The Japanese Geek
12-18-2005, 07:14 PM
root@TJGCOMPY:~# xhost + ; DISPLAY=:0 sudo kate
xhost: unable to open display ""
Creating link /root/.kde/socket-TJGCOMPY.
Created link from "/root/.kde/socket-TJGCOMPY" to "/tmp/ksocket-root"
mkdir: Owner of /tmp/.ICE-unix should be set to root
/usr/X11R6/bin/iceauth: creating new authority file /root/.ICEauthority
Creating link /root/.kde/tmp-TJGCOMPY.
Created link from "/root/.kde/tmp-TJGCOMPY" to "/tmp/kde-root"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
kded: cannot connect to X server :0
DCOP aborting call from 'anonymous-31106' to 'kded'
kded: ERROR: Communication problem with kded, it probably crashed.
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
kate: cannot connect to X server :0
DCOP aborting call from 'anonymous-31093' to 'kate'
kate: ERROR: Communication problem with kate, it probably crashed.
Markus
12-18-2005, 10:50 PM
"kdesu kate" as user
kirol
12-19-2005, 11:23 AM
root@TJGCOMPY:~# xhost + ; DISPLAY=:0 sudo kate
...
Your shell prompt indicates you were already root while issuing the suggested command, which should have been typed from a regular, non-privileged shell.
There seems to be a specific problem with kate, though. Kwrite, xedit or mcedit all work.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.