Question about XDM

Lowell Gilbert freebsd-questions-local at
Sun Apr 13 15:17:06 UTC 2014

Antoine Kallab <antoine at> writes:

> On Apr 13, 2014, at 10:27 AM, Lowell Gilbert <freebsd-questions-local at> wrote:
>> Yes. If you look at that script some more, it only runs xsm if you don't
>> have a .xsession file in your home directory.
> Then if I want all users to use the same WM I have to add a .xsession file to every home dir that exists?

That would be one way to do it, but not the only way. Changing the
X11/xdm/Xsession file to do an "exec twm" instead of "exec xsm" would
be another. Another common approach is to add an xsession file to
/usr/share/skel before creating the users.

More information about the freebsd-questions mailing list