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
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$202.50



Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11 picture

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11

$62.55



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Micron MTA36ASF4G72PZ-2G6 DDR4 PC4-2666V 4x32GB (128GB) ECC Server Memory picture

Micron MTA36ASF4G72PZ-2G6 DDR4 PC4-2666V 4x32GB (128GB) ECC Server Memory

$599.99



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB picture

Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB

$124.95



4x8GB Samsung DDR4 2133MHz PC4-2133P 1Rx4 ECC Registered Server RAM 32GB Sansumg picture

4x8GB Samsung DDR4 2133MHz PC4-2133P 1Rx4 ECC Registered Server RAM 32GB Sansumg

$149.99



Lot of 4 8GB DDR4 PC4-2400T ECC Registered Server RAM 32GB 1Rx8 RDIMM MICRON picture

Lot of 4 8GB DDR4 PC4-2400T ECC Registered Server RAM 32GB 1Rx8 RDIMM MICRON

$149.99