-
Run kate as root
I am trying to run Kate as root. After looking at the FAQs, I detemined I needed to do Unfortuetly, this leaves me with
Code:
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?
-
Senior Member
registered user
xhost + ; DISPLAY=:0 sudo kate
-
D'oh!
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.
-
-
Senior Member
registered user
Re: D'oh!

Originally Posted by
The Japanese Geek
Code:
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.
Similar Threads
-
By Ecilop in forum General Support
Replies: 0
Last Post: 04-14-2007, 12:41 AM
-
By downdogWoof in forum General Support
Replies: 1
Last Post: 03-01-2005, 05:42 AM
-
By Amdmhz in forum Networking
Replies: 4
Last Post: 10-23-2004, 04:21 PM
-
By A. Jorge Garcia in forum General Support
Replies: 3
Last Post: 06-14-2003, 02:55 AM
-
By KnoDeb in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 01-06-2003, 09:47 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY
$10.00

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99

Micron 16GB (2x8GB) 2Rx8 DDR3 1600MHz PC3-12800U Desktop RAM
$19.99

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q
$169.00

Crucial 32GB(4 x 8GB) CT8G4DFS824A.C8FDD1 DDR4-2400 UDIMM Desktop RAM - CR352A
$89.95

TeamGroup T-Force DELTA RGB 64GB 2x32GB DDR5 RAM 6000(2Rx8) CL38-38-38-78 1.35V
$600.00

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix
$66.00

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)
$89.99

Samsung 32GB DDR4-2666 PC4-21300 288-Pin DIMM RAM M393A4K40CB1CRC0Q
$185.00