[comp.windows.x] How do I get xdm to run '.' files?

kane@XENURUS.GOULD.COM (Patrick E Kane) (01/31/89)

I'm if this is your problem, you did not says what OS you using.

Many SYSV kernels  (e.g. ours) do not know how to "exec"
shell scripts.  When "xdm" trys to "exec" xdm's Xsession
(which runs the user's .xsession file)
file the system call fails and an error msg is printed in 
the "xdm-errors" file.

A quick fix is to patch your "xdm-config" file to look like this:

 DisplayManager*session:         /bin/sh /usr/lib/X11/xdm/Xsession
                                 ^^^^^^^
The main problem with the fix is that on my system  I must append
an "&" to the last command in my .xsession file otherwise the process
hangs when it is killed.... I will track down the problem whne I have
the time.


Pat Kane
Motorola, INC
Urbana, IL