[ale] .Xclients won't run

Michael D. Hirsch mhirsch at nubridges.com
Mon Feb 10 14:31:42 EST 2003


On Monday 10 February 2003 02:20 pm, cfowler wrote:
> Code in question:
>
> if [ -f $HOME/.Xclients ]; then
>     exec $HOME/.Xclients
> elif [ -f /etc/X11/xinit/Xclients ]; then
>     exec /etc/X11/xinit/Xclients
> else
>        # failsafe settings.  Although we should never get here
>        # (we provide fallbacks in Xclients as well) it can't hurt.
>        xclock -geometry 100x100-5+5 &
>        xterm -geometry 80x50-50+150 &
>
> This is in my /etc/X11/xinit/xinitrc file.

Yup, except that mine is now liberally sprinked with "echo 3 >> /tmp/xinit" 
lines.

> Dows ~.Xclients have executable permissions?

Yup.

[1005] hirsch>ls -l .Xclients
-rwxr-xr-x    1 hirsch   hirsch        272 Feb 10 11:36 .Xclients

Michael

>
> On Mon, 2003-02-10 at 14:12, Michael D. Hirsch wrote:
> > I've got a really weird one.  When I run startx on my RedHat 8.0
> > system the file /etc/X11/xinitrc runs, which then checks for the
> > existence of $HOME/.Xclients.  Finding it, it execs it.  At least,
> > that is the theory.
> >
> > By putting in some echos redirected to a file, I can say that this is
> > what happens:
> > 1. When I run startx the X server starts and then
> > /etc/X11/xinit/xinitrc starts running.
> > 2. xinitrc detects that I have the file $HOME/.Xclients
> > 3. xinitrc execs $HOME/.Xclients
> > 4. .Xclients never executes.
> >
> > If I put 'echo "hello" > /tmp/hello' as the first executable line of
> > .Xclients, the line never executes.  I can run .Xclients by hand and
> > it executes fine.
> >
> > WFT?
> >
> > I should say that the major change I've made recently is to compile
> > KDE 3.1 by hand and install it in /usr/local/kde.  I've changed the
> > path and ld.co.conf to point to this new code.
> >
> > Anyone know what is going on?
> >
> > Michael
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list