I haven't had to mess with XDM in a while now, I've been spoiled by Redhat
and Gnome, and I don't exactly what your setup is but here goes.

Usually what XDM does is execute the global xinit scripts when someone
logs in, and those scripts will then run the user's individual .xinitrc,
and whatever else, after doing various system wide stuff.

The file Xsession in the xdm directory is a shell script that takes over
once the user is logged in, so it is from this file that you should call
the xinit scripts if they aren't already being called.

if all else fails you can throw something like this into the Xsession
file:
if [-x "$HOME/.xinitrc" ]; then
        exec "$HOME/.xinitrc"
fi

but you should probably be running the global xinit stuff, because that
tends to make in unnecessary for most users to even have an
.xinitrc

Hope that's of some help.

-Dan
<[EMAIL PROTECTED]>


On Mon, 9 Apr 2001, Gregor Diseth wrote:

> I'm looking for a bit of xdm assistance, and I'm not sure where to
> start.  I've perused the man page, but I'm still baffled.
>
> First off, this is running on my standalone machine (FreeBSD 4.2), and not
> an X terminal.
>
> I've been looking at the config files in /usr/X11R6/lib/X11/xdm.
>
> By default, when a user logs in, it presents them with the default grey
> desktop and an xterm, with twm as the window manager.
>
> For now, all I would like it do is 'pick up' the user's .xinitrc and give
> them their desktop, as if they had run xinit from the shell.
>
> I would also like to customize the appearance of the xdm login screen, but
> I'll save that for later.
>
> Thanks in advance for any tips.
>
>    -Gregor
>
>        <[EMAIL PROTECTED]> /* Oregon Public Networking - Eugene, OR */
>

Reply via email to