From owner-freebsd-questions@FreeBSD.ORG Sun Apr 13 15:17:06 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DBA21BCA for ; Sun, 13 Apr 2014 15:17:06 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id B1D42182B for ; Sun, 13 Apr 2014 15:17:06 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 0FE9433C48; Sun, 13 Apr 2014 11:17:01 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 7E31239846; Sun, 13 Apr 2014 11:16:59 -0400 (EDT) From: Lowell Gilbert To: Antoine Kallab Subject: Re: Question about XDM References: <44fvlhuwx9.fsf@lowell-desk.lan> <66485B94-01FD-405D-A62A-A54421C01821@kallab.com> Date: Sun, 13 Apr 2014 11:16:58 -0400 In-Reply-To: <66485B94-01FD-405D-A62A-A54421C01821@kallab.com> (Antoine Kallab's message of "Sun, 13 Apr 2014 10:33:06 -0400") Message-ID: <44siphtg2d.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2014 15:17:06 -0000 Antoine Kallab writes: > On Apr 13, 2014, at 10:27 AM, Lowell Gilbert 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.