From owner-freebsd-questions@FreeBSD.ORG Mon Apr 14 09:28:11 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 ACFA615F for ; Mon, 14 Apr 2014 09:28:11 +0000 (UTC) Received: from mailout03.yourhostingaccount.com (mailout03.yourhostingaccount.com [65.254.253.25]) by mx1.freebsd.org (Postfix) with ESMTP id 794231829 for ; Mon, 14 Apr 2014 09:28:11 +0000 (UTC) Received: from mailscan03.yourhostingaccount.com ([10.1.15.3] helo=mailscan03.yourhostingaccount.com) by mailout03.yourhostingaccount.com with esmtp (Exim) id 1WZchZ-0006Af-BT for freebsd-questions@freebsd.org; Mon, 14 Apr 2014 04:57:17 -0400 Received: from impout01.yourhostingaccount.com ([10.1.55.1] helo=impout01.yourhostingaccount.com) by mailscan03.yourhostingaccount.com with esmtp (Exim) id 1WZchY-0006K4-Qm for freebsd-questions@freebsd.org; Mon, 14 Apr 2014 04:57:16 -0400 Received: from walauthsmtp08.yourhostingaccount.com ([10.1.18.8]) by impout01.yourhostingaccount.com with NO UCE id pkxH1n0020ASqTN01kxHym; Mon, 14 Apr 2014 04:57:17 -0400 X-Authority-Analysis: v=2.0 cv=Zfqfx7pA c=1 sm=1 a=MlIERbc/LeOD9IsFJ/vXKg==:17 a=EUXf4MBdpf0A:10 a=BTUk5m_ZKwEA:10 a=oKNMHU8azEoA:10 a=kj9zAlcOel0A:10 a=rmQgN8h9AAAA:8 a=93lxVjJxAAAA:20 a=UiigrBMcAAAA:20 a=Er006EimtJINDJCPT4UA:9 a=CjuIK1q_8ugA:10 a=8amoANLqcXHyoDJd6jbCBw==:117 X-EN-OrigOutIP: 10.1.18.8 X-EN-IMPSID: pkxH1n0020ASqTN01kxHym Received: from adsl-64-218-114-145.dsl.amrltx.swbell.net ([64.218.114.145]:47386 helo=localhost) by walauthsmtp08.yourhostingaccount.com with esmtpa (Exim) id 1WZchZ-0008AO-08 for freebsd-questions@freebsd.org; Mon, 14 Apr 2014 04:57:17 -0400 Date: Mon, 14 Apr 2014 03:57:30 -0500 From: Mike Sanders To: freebsd-questions@freebsd.org Subject: Re: Question about XDM Message-ID: <20140414085730.GA1013@taco-shack.cow> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-KEY: http://freebsd.hypermart.net/gpg-key.txt User-Agent: Mutt/1.5.22 (2013-10-16) X-EN-UserInfo: 86ba54ea1171c58e9a877a5108176e6f:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: mike@freebsd.hypermart.net Sender: Mike Sanders X-EN-OrigIP: 64.218.114.145 X-EN-OrigHost: adsl-64-218-114-145.dsl.amrltx.swbell.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2014 09:28:11 -0000 Antoine Kallab wrote: > Hello everybody, > I'm new to BSD, so please bear with me if I ask a dumb question. Thanks! > --- > I am trying to set up XDM. I want it to drop me in to a minimal TWM session > after I log in. Right now, it just flashes the screen and puts me back at > the login window. > From what I read in the handbook, there are a few configuration files in > /usr/local/lib/X11/xdm that I need to change to get it to sing and dance in > the way I want it to. > If I remember correctly, it was Xsession that controlled what happened > after a user logs in. > Right now it is just an if/then loop that looks like it runs > /usr/local/bin/xsm. Is that whole thing necessary? Can't I just tell it to > run TWM? > And if that loop is necessary, where would I add my bit for starting TWM? > Google has been ZERO help. > > Many thanks in advance. Hi Antoine. Here's a paper I wrote last year on configuring XDM in FreeBSD. You can download the pdf from my site: Or you can view the pdf online via google doc's viewer: -- Mike Sanders www: http://freebsd.hypermart.net gpg: 0xD94D4C13