[kde-linux] Where to send init X commands?
jrtyrer at earthlink.net
Sat Sep 12 08:04:16 UTC 2009
Alain Mouette wrote:
> I am using KDE on Kubuntu 8.04. It has a very annoying setup that forces
> me to issue
> xhost +
> before any window runs as root.
> My question is: Where should I put a simple script to be run when KDE
> has already started?
> FWIK, ~/.kde/Autostart is for x.desktop icons, right?
Actually, the issue is that this is an X issue so it would be best not
to use the Autostart.
You don't need to write a script. You should have a script:
just add the command at the end of it.
You may still run into the need to set DISPLAY despite the fact that you
only have one X display open.
If you wish to run a KDE application as root from a Konsole, I would
still recommend that you use the "kdesu" command.
More information about the kde-linux