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

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

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


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?


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:

xhost +

To open for everybody on the local system only (that is what woould need your way of working):

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



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.