Results 1 to 5 of 5

Thread: Run kate as root

  1. #1

    Run kate as root

    I am trying to run Kate as root. After looking at the FAQs, I detemined I needed to do
    Code:
    sudo kate
    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?

  2. #2
    Senior Member registered user
    Join Date
    Apr 2005
    Posts
    159
    xhost + ; DISPLAY=:0 sudo kate

  3. #3

    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.

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    "kdesu kate" as user

  5. #5
    Senior Member registered user
    Join Date
    Apr 2005
    Posts
    159

    Re: D'oh!

    Quote 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

  1. Lost [executable] file permissions after edit with Kate
    By Ecilop in forum General Support
    Replies: 0
    Last Post: 04-14-2007, 12:41 AM
  2. X Server Errors with Kwrite/Kate
    By downdogWoof in forum General Support
    Replies: 1
    Last Post: 03-01-2005, 05:42 AM
  3. Can only log on as Root
    By Amdmhz in forum Networking
    Replies: 4
    Last Post: 10-23-2004, 04:21 PM
  4. KATE and CUPS?
    By A. Jorge Garcia in forum General Support
    Replies: 3
    Last Post: 06-14-2003, 02:55 AM
  5. df -a has no (root) / ??
    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
  •  


SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Finisar Copper SFP 1Gbps Transceiver Module FCLF8522P2BTL (34 total) picture

Finisar Copper SFP 1Gbps Transceiver Module FCLF8522P2BTL (34 total)

$680.00



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



Dell Mellanox ConnectX-4 Lx CX4121C Dual 25GbE SFP28 LP | 20NJD picture

Dell Mellanox ConnectX-4 Lx CX4121C Dual 25GbE SFP28 LP | 20NJD

$25.00



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001 picture

HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001

$14.90



Cisco Meraki MA-SFP-1GB-SX Network Tranceiver Module picture

Cisco Meraki MA-SFP-1GB-SX Network Tranceiver Module

$89.00



Netgear ProSafe AGM732F 1000BASE-LX SFP 1310nm GBIC Module NEW SEALED picture

Netgear ProSafe AGM732F 1000BASE-LX SFP 1310nm GBIC Module NEW SEALED

$80.00