On Tue, Aug 23, 2005 at 08:52:40PM +0200, Antoine Jacoutot wrote:
> Because startkde is a script that will invoke startx which will by 
> default (meaning if you don't have a .xinitrc in your homedir) use 
> /etc/X11/xinit/xinitrc where xconsole is started from.

startkde does

        exec /usr/X11R6/bin/startx $0

if DISPLAY is unset or empty, i.e. it runs startx with it's own
name as the client, and startx shouldn't run xinitrc but startkde
in this case. Indeed after looking at startx (which is a script, too),
it should just run

        xinit /usr/local/bin/startkde --

near the end, and xinit in turn should then use /usr/local/bin/startkde
as the client program (and not ~/.xinitrc or even /etc/X11/xinit/xinitrc).

However, this *only* works if the client (startkde, in this case)
is passed with a absolute or relative pathname (see that case
statement in startx).

So, if startkde is explicitely invoked as /usr/local/bin/startkde
(instead of just startkde), it should work.

Ciao,
        Kili

Reply via email to