From owner-freebsd-questions@FreeBSD.ORG Sat Jan 31 14:10:22 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8C6716A4CE for ; Sat, 31 Jan 2004 14:10:22 -0800 (PST) Received: from hotmail.com (sea2-f33.sea2.hotmail.com [207.68.165.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9155143D2D for ; Sat, 31 Jan 2004 14:10:21 -0800 (PST) (envelope-from avdiscolo@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 31 Jan 2004 14:10:21 -0800 Received: from 4.5.52.43 by sea2fd.sea2.hotmail.msn.com with HTTP; Sat, 31 Jan 2004 22:10:21 GMT X-Originating-IP: [4.5.52.43] X-Originating-Email: [avdiscolo@hotmail.com] X-Sender: avdiscolo@hotmail.com From: "Anthony Discolo" To: freebsd-questions-local@be-well.ilk.org Date: Sat, 31 Jan 2004 14:10:21 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 31 Jan 2004 22:10:21.0387 (UTC) FILETIME=[049791B0:01C3E847] cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.2: How do I automatically restart twm with the Default session? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 22:10:22 -0000 This is the twm that comes with 5.2. These problems occured when I was not using a ~/.twmrc or ~/.xsession. I found that there is some problem with xsm restarting twm within a session. I tried everything I could think of but twm always dumps core when its restarted by xsm. Twm only works correctly when a Fail Safe session is started by xsm. I figured out how to eliminate the session dialog after I logged in by adding "xsm -session Default" in my .xsession, but when twm dumps core, it leaves the session locked, and that prevents me from subsequently automatically logging into the Default session. I ended up just running twm from my .xsession and not using xsm at all. It seems to work fine. If anyone has a workaround for these problems, let me know. Thanks. ----Original Message Follows---- From: Lowell Gilbert Reply-To: freebsd-questions@freebsd.org To: "Anthony Discolo" CC: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.2: How do I automatically restart twm with the Default session? Date: 31 Jan 2004 12:28:47 -0500 "Anthony Discolo" writes: > Everytime I log in twm asks me to load the Default session. Is there > any way I can have it automatically load it (maybe something in the > ~/.twmrc)? > > I've also run into problems with reloading the Default session. > Sometimes twm dumps core. If I load the Fail Safe session, it seems > to work fine. Is this actually twm as installed from the base X packages? Are you starting it from xdm(1) or startx(1)? What does your .xsession or .xinitrc look like? Does removing your personal .twmrc have any effect? _________________________________________________________________ Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/