Announcement

Collapse
No announcement yet.

Regarding Kate....

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Regarding Kate....

    When I open Konsole and type
    Code:
    sudo kate <path/filename>
    and then my password, I always see the following:
    Code:
    X Error: BadDevice, invalid or uninitialized input device 169
     Major opcode: 145
     Minor opcode: 3
     Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 169
     Major opcode: 145
     Minor opcode: 3
     Resource id: 0x0
    Failed to open device
    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
    
    kded: cannot connect to X server :0.0
    DCOP aborting call from 'anonymous-5826' to 'kded'
    kded: ERROR: Communication problem with kded, it probably crashed.
    ...and then Kate opens the file I want to edit and I can proceed.

    What is the problem here? Thanks!

    #2
    Re: Regarding Kate....

    You need to use
    Code:
    kdesu kate <path/filename>
    Graphical applications that you wish to start from a console should be done so with kdesu, not sudo.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Regarding Kate....

      Oh! I'm a recent switch-over from Unbuntu & Mint. Still have much to learn.
      Thanks!

      Comment


        #4
        Re: Regarding Kate....

        Also this.
        For external use only.

        Comment

        Working...
        X