Results 1 to 5 of 5

Thread: launching KDE applications from Dolphin Super user

  1. #1
    Join Date
    Jun 2008
    Location
    NZ
    Posts
    1,546

    Default launching KDE applications from Dolphin Super user

    This annoying problem has been around for a while now and there are a few posts on it over the past couple of years. Have yet to see a solution though.

    In Dolphin Super User mode trying to launch an application such as Kwrite gives the alert

    KDEInit could not launch '/usr/bin/kwrite
    Does anybody have any better suggestions than those posted in other threads such as

    "use Konqueror super user"
    "launch from terminal su"

    This is present in Opensuse 11.2 with KDE 4.3.5

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Re: launching KDE applications from Dolphin Super user

    I did see this option recently, don't use it, can't confirm it works. (download new services)
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2008
    Location
    NZ
    Posts
    1,546

    Default Re: launching KDE applications from Dolphin Super user

    Quote Originally Posted by caf4926 View Post
    I did see this option recently, don't use it, can't confirm it works. (download new services)
    Thanks, but that is a KDE 4.4 feature

  4. #4
    palladium NNTP User

    Default Re: launching KDE applications from Dolphin Super user

    farcusnz wrote:
    > Does anybody have any better suggestions than those posted in other
    > threads such as


    i have not searched nor read *all* the threads you might have looked
    at so i don't know what you have seen, therefore i offer these and
    hope one is helpful:

    1. press Alt+F2
    2. type kdesu [app] (app like kwrite, kate, emacs, etc)
    3. give root password

    *or*

    1: make a clickable link/icon to an "application launcher"
    2. with this as its command line argument: kdesu [app]
    3. you can add that to the panel/dock and/or place in your menu
    and/or put in your desktop folder

    *or* are you actually asking: When will i be able to just click on
    kwrite in Dolphin and expect it open with root editing powers?

    --
    palladium

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,998

    Default Re: launching KDE applications from Dolphin Super user

    Quote Originally Posted by farcusnz View Post
    This annoying problem has been around for a while now and there are a few posts on it over the past couple of years. Have yet to see a solution though.

    In Dolphin Super User mode trying to launch an application such as Kwrite gives the alert



    Does anybody have any better suggestions than those posted in other threads such as

    "use Konqueror super user"
    "launch from terminal su"

    This is present in Opensuse 11.2 with KDE 4.3.5
    As you did not provide links to thoe threads and I am not going to search for them, I can not say what solutions they provide.

    What happens is most probably that you launch FROM A SESSION OF USER ROOT (or any other user not the user loged in at the GUI) an application that wants to open a window on your GUI session. That is not allowed by default. Imagine that everybody from the Internet (or the LAN) could open windows on your xserver. This is a security feature of X that exists for more then twenty years.

    You can allow others to open windoes with the tool xhost. Read the man page, but in general to open for everybody:
    Code:
    xhost +
    To open for everybody on the local system only (that is what woould need your way of working):
    Code:
    xhost +local:0
    Type this in a konsole terminal running on your GUI. Or, when you need it often and want it permanent) put that line at the end of your
    Code:
     ~/.profile
    .

    This is independent from openSUSE level, KDE level, Gnome, ... It is pure X windows.

    Or use the method advised by palladium, because kdesu will do it for you.
    Henk van Velden

Posting Permissions

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