From owner-freebsd-questions@FreeBSD.ORG Fri Nov 29 02:28:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04B861D5; Fri, 29 Nov 2013 02:28:25 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BF07C158B; Fri, 29 Nov 2013 02:28:24 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa02.fnfis.com (8.14.5/8.14.5) with ESMTP id rAT2SMZm006835 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 28 Nov 2013 20:28:23 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([169.254.1.7]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.03.0158.001; Thu, 28 Nov 2013 20:28:22 -0600 From: "Teske, Devin" To: Da Rock Subject: Re: What is the "thinnest" display manager available? Thread-Topic: What is the "thinnest" display manager available? Thread-Index: AQHO7FD3VdYWTnJcaE6BVb4HayxOlQ== Date: Fri, 29 Nov 2013 02:28:21 +0000 Message-ID: <5D50D2EB-229C-428B-BE19-E4B1BFEFBCAE@fisglobal.com> References: <201311281310.rASDAWwK005480@kontrol.kode5.net> <9ACDC2F1-58FE-4C1A-9D70-80581AA93A81@fisglobal.com> <5297E070.3030400@herveybayaustralia.com.au> In-Reply-To: <5297E070.3030400@herveybayaustralia.com.au> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-ID: <1FA2F361BDC8D64E882E74063A725617@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.72, 1.0.14, 0.0.0000 definitions=2013-11-28_08:2013-11-28,2013-11-28,1970-01-01 signatures=0 Cc: Devin Teske , "Teske, Devin" , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2013 02:28:25 -0000 On Nov 28, 2013, at 4:31 PM, Da Rock wrote: > On 11/29/13 01:46, Teske, Devin wrote: >> On Nov 28, 2013, at 5:10 AM, James Griffin wrote: >>=20 >>> On 11/27/13 06:55, Walter Hurry wrote: >>> > On Tue, 26 Nov 2013 09:59:07 +0100, Polytropon wrote: >>> > >>> >> Source: http://www.freebsd.org/doc/handbook/x-xdm.html >>> >> >>> >> Allow me to ask the following question: >>> >> >>> >> Is xdm (and as far as I know, also wdm) still an exception fr= om the >>> >> "rc.conf rule", or how is it supposed to be started on "more = modern" >>> >> versions? >>> > I'd be interested in the answer to that too, as I use XDM on t= tyv8 per >>> > the handbook, and it has been faultless for me. >>> I still use ttys like Polytropon, but I believe recommended prac= tice is >>> to use an rc.d system - just nobody has/could be bothered actual= ly >>> writing one :D >>>=20 >>> Maybe I'll (or someone else) get a round tuit one day, but I wou= ldn't >>> hold your breath: it's been on the books for near a decade :) >>> _______________________________________________ >>>=20 >>>=20 >>> Actually, I came across a script written by someone for the CDE desktop. >>> It would be easy to modify it for another X11 DM (I would think). >>>=20 >>> Might be helpful to someone looking for a script of that type. >> Funny to see someone say "it's been on the books for near a decade" >>=20 >> At $work, we launched xdm from rc.d for about that long (a decade) >> and then moved away from it (toward ttys). >>=20 >> Dusted off and attached for your pleasure. >>=20 >>=20 > Wow, awesome! I'll look at using that... :D >=20 > Have you considered committing it to the port? And why move away from tha= t to ttys again? Reason we first started putting the onus on an rc.d script was because we w= anted the script to be able to decide (based on the hostname) whether XDM would be st= arted or not. HINT: Hostnames that are known to be workstations (versus servers) would st= art XDM, otherwise XDM is not started. Well, when we migrated from FreeBSD-4.11 to FreeBSD-8, we found that XDM ha= d changed considerably, and was no longer the animal we had patches for. Being in the situation that our old patches would not apply, we decided... We're going to write one from scratch. In Perl/Tk. In that rewrite, we moved the logic into the application. So now... Every machine has an entry for our display manager and the display manager = decides (again, based on the hostname) whether to start X and display a login windo= w, otherwise just launch getty for the vty. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.