I've never used kdm, only xdm but this may apply also
xdm doesnt use .xinitrc it uses .Xclients and or .xsession
.xession has to be chmod +x
.xinitrc is only used when you startx(xinit)
-Justin
On Thu, 7 Sep 2000, Richard Kimber wrote:
> If you are using the GUI login like that with Mandrake, which I think uses
> kdm, you cannot start apps in the Slit by putting commands in the .xinitrc
> file, as is normally recommended.
>
> After much experimentation, it seems that a way round the problem, if not the
> solution, is as follows:
>
> Create a file with execute permission in your path, say /usr/local/bin/startBB
> that contains something like:
>
> #!/bin/sh
> bbppp -w & # or whatever you want
> exec /usr/local/bin/blackbox # or wherever BlackBox is
>
> Then edit the BlackBox section of the file
> /etc/X11/window-managers
> so that it executes the above file instead of directly executing BlackBox
>
> It seems that the GUI login takes its info from this file and executes the
> relevant script for the window manager you choose.
>
> Hope this saves someone some frustration.
>
> - Richard.
>
> Richard Kimber
> [EMAIL PROTECTED]
> http://www.psr.keele.ac.uk/
>