Results 1 to 8 of 8

Thread: Cannot open files as Dolphin Superuser

  1. #1
    Join Date
    Jan 2010
    Location
    Orlando, FL
    Posts
    212

    Default Cannot open files as Dolphin Superuser

    I can't open files with anything using Dolphin as superuser. For example with Kate:
    Code:
    KDEinit cannot launch /usr/bin/kate
    Also, I can't launch kwrite or kate as root per below:

    what am I doing wrong?

    Code:
    john@vostro:~> su
    Password:        
    vostro:/home/john # kate
    kate(3007): Session bus not found 
    
    KCrash: Application 'kate' crashing...
    sock_file=/root/.kde4/socket-vostro/kdeinit4__0
    Warning: connect() failed: : No such file or directory
    KCrash cannot reach kdeinit, launching directly.      
    drkonqi(3008): Session bus not found                  
    
    vostro:/home/john # kwrite
    kwrite(3039): Session bus not found 
    
    KCrash: Application 'kwrite' crashing...
    sock_file=/root/.kde4/socket-vostro/kdeinit4__0
    Warning: connect() failed: : No such file or directory
    KCrash cannot reach kdeinit, launching directly.      
    drkonqi(3040): Session bus not found                  
    
    vostro:/home/john # exit
    Thanks for both questions...it seems they are related.
    Cheers, Big Ears!

    DΞLL Precision M6500: i7-820QM w/USB 3.0, 8.0GB DDR3-1333, Intel x-25M 160 G2 + 500GB 7200.3, nVidia Quadro FX 3800M 1.0GB DDR3, RGBLED, Intel 6300//Win7Pro x64
    DΞLL Vostro 1220 //openSUSE 11.3 KDE/Win7Pro 32

  2. #2
    Join Date
    Jun 2008
    Location
    Natchez, MS, USA
    Posts
    518

    Default Re: Cannot open files as Dolphin Superuser

    Create a text file. Name it something like root_window_allow

    #!/bin/bash
    # Allows root to open windows on your display. Example: KWrite and Kate
    xhost +local:0

    Save it in your /home/yourname/.kde4/Autostart/

    RightClick on the file
    Click Properties
    Click Permissions
    Tick the box Is Executable
    Click OK

    It will autostart on the next login, or you can run it by clicking on it.
    Free Fractal Wallpapers
    http://wilsonephillips.smugmug.com

  3. #3
    Join Date
    Jun 2008
    Location
    Natchez, MS, USA
    Posts
    518

    Default Re: Cannot open files as Dolphin Superuser

    Oh yeah.

    Don't do su
    Do su -

    Free Fractal Wallpapers
    http://wilsonephillips.smugmug.com

  4. #4
    Join Date
    Jan 2010
    Location
    Orlando, FL
    Posts
    212

    Default Re: Cannot open files as Dolphin Superuser

    Thanks, I'm doing that now...I remember su - from Fedora...what does adding the dash do?

    thanks
    Cheers, Big Ears!

    DΞLL Precision M6500: i7-820QM w/USB 3.0, 8.0GB DDR3-1333, Intel x-25M 160 G2 + 500GB 7200.3, nVidia Quadro FX 3800M 1.0GB DDR3, RGBLED, Intel 6300//Win7Pro x64
    DΞLL Vostro 1220 //openSUSE 11.3 KDE/Win7Pro 32

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,760

    Default Re: Cannot open files as Dolphin Superuser

    Without a - or -l You get a kind of hybrid environment with some from root and some from user. With - or -l you get a login shell. This is more pure root. See info su for more information

  6. #6
    Join Date
    Jan 2010
    Location
    Orlando, FL
    Posts
    212

    Default Re: Cannot open files as Dolphin Superuser

    ok...that's kind of what I thought...
    Cheers, Big Ears!

    DΞLL Precision M6500: i7-820QM w/USB 3.0, 8.0GB DDR3-1333, Intel x-25M 160 G2 + 500GB 7200.3, nVidia Quadro FX 3800M 1.0GB DDR3, RGBLED, Intel 6300//Win7Pro x64
    DΞLL Vostro 1220 //openSUSE 11.3 KDE/Win7Pro 32

  7. #7
    Join Date
    Jan 2010
    Location
    Orlando, FL
    Posts
    212

    Default Re: Cannot open files as Dolphin Superuser

    Wilson-philips:

    that did the trick...i had to save it as a script file and mark it executable....thanks

    btw....using one of your wallpapers...the one that looks like saturn getting it's rings...have you posted that to KDE-look.org?
    Cheers, Big Ears!

    DΞLL Precision M6500: i7-820QM w/USB 3.0, 8.0GB DDR3-1333, Intel x-25M 160 G2 + 500GB 7200.3, nVidia Quadro FX 3800M 1.0GB DDR3, RGBLED, Intel 6300//Win7Pro x64
    DΞLL Vostro 1220 //openSUSE 11.3 KDE/Win7Pro 32

  8. #8
    Join Date
    Jun 2008
    Location
    Natchez, MS, USA
    Posts
    518

    Default Re: Cannot open files as Dolphin Superuser

    Glad it worked.

    No. I have not put any of them on KDELook. Have not seen any reason to. Besides, I would rather folks went to my site to get them.
    Free Fractal Wallpapers
    http://wilsonephillips.smugmug.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •