xhost + ; DISPLAY=:0 sudo kate
I am trying to run Kate as root. After looking at the FAQs, I detemined I needed to doUnfortuetly, this leaves me withCode:sudo kate
Normally I would simply log in as root, but this is not possible on KNOPPIX.Code:kate: ERROR: KUniqueApplication: Can't determine DISPLAY. Aborting.
Any Ideas?
xhost + ; DISPLAY=:0 sudo kate
Code: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.
"kdesu kate" as user
Your shell prompt indicates you were already root while issuing the suggested command, which should have been typed from a regular, non-privileged shell.Originally Posted by The Japanese Geek
There seems to be a specific problem with kate, though. Kwrite, xedit or mcedit all work.

Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver
$1500.00
$75.00
Cisco Catalyst C9120AXI-B Wi-Fi 6 Access Points
$36.00
Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New
$101.99
Cisco C9300-48UXM-A Switch 9300 Series 48-port UPoE Network
$874.99
Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99
Cisco | N3K-C3232C | 32-Port 100G QSFP Network Switch W/ 2x PSU, 2x Power Cords
$205.00
Cisco C9300L-STACK-KIT V02 Stack
$170.00
Cisco C9300NM8X Network Switch Module
$599.99
Cisco WS-C3850-12X48U-S 48-Port UPoE Switch 1100W PSU
$149.99