From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 6 16:13:00 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 383C416A402 for ; Fri, 6 Apr 2007 16:13:00 +0000 (UTC) (envelope-from john@utzweb.net) Received: from marley.grokthis.net (marley.grokthis.net [69.93.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 1704B13C4B9 for ; Fri, 6 Apr 2007 16:12:59 +0000 (UTC) (envelope-from john@utzweb.net) Received: from [192.168.2.101] (c-24-19-183-248.hsd1.mn.comcast.net [24.19.183.248]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by marley.grokthis.net (Postfix) with ESMTP id 024C0F101E; Fri, 6 Apr 2007 12:12:53 -0400 (EDT) In-Reply-To: <1175820670.8742.58.camel@nuthatch.wingbarscafe.com> References: <1175788574.8742.29.camel@nuthatch.wingbarscafe.com> <20070405173926.GO10291@bunrab.catwhisker.org> <1175820670.8742.58.camel@nuthatch.wingbarscafe.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "John L. Utz III" Date: Fri, 6 Apr 2007 09:12:46 -0700 To: jim@wingbarscafe.com X-Mailer: Apple Mail (2.752.3) Cc: freebsd-mobile Subject: Re: Using xdm and twm on freebsd 6.2 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 16:13:00 -0000 On Apr 5, 2007, at 5:51 PM, Jim Seymour wrote: > On Thu, 2007-04-05 at 10:39 -0700, David Wolfskill wrote: >> As I think you know, starting X via xinit uses ~/.xinitrc, while >> using >> xdm uses ~/.xsession. >> >> The latter need sto be executable. >> >> What's in it? >> >> (I use xdm & various window managers -- usually piewm, which is >> derived >> from tvtwm, which resembles twm quite a bit. I can send you my >> ~/.xsession if youi like, but it's not especially likely to be all >> that >> close to what you will want.) > > After creating yet another .xsession file I get the following: > > X connection to :0.0 broken (explicit kill or server shutdown). > FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc" refcount is 2, > should > be 1; fixinng. > AUDIT: Thu Apr 5 20:40:04 2007: 726 X: client 2 rejected from local > host > > In my .xsession (mode 700): > > #! /bin/sh > twm & > > When I boot it loads xdm. When I try to log in, the screen goes blank > and then comes back to the login screen. Ideas.... that return to the main screen means that it's failing - have u looked in /var/log/messages? have you looked to see if xdm has a verbose flag that u can use if u started in from the command line? > > Thanks, > -- > Jim Seymour