[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-linux
Subject: Re: [kde-linux] Where to send init X commands?
From: James Tyrer <jrtyrer () earthlink ! net>
Date: 2009-09-12 8:04:16
Message-ID: 4AAB5600.2070905 () earthlink ! net
[Download RAW message or body]
Alain Mouette wrote:
> Hi,
>
> 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:
$KDEDIR/share/config/kdm/Xstartup
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.
---
JRT
___________________________________________________
This message is from the kde-linux mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic