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”
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:
press Alt+F2
type kdesu [app] (app like kwrite, kate, emacs, etc)
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?
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
~/.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.