From owner-freebsd-questions Mon Aug 26 17:23:12 2002 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 D566137B400 for ; Mon, 26 Aug 2002 17:23:09 -0700 (PDT) Received: from smtp3.acsu.buffalo.edu (smtp3.acsu.buffalo.edu [128.205.6.86]) by mx1.FreeBSD.org (Postfix) with SMTP id D116B43E42 for ; Mon, 26 Aug 2002 17:23:08 -0700 (PDT) (envelope-from cd9@buffalo.edu) Received: (qmail 2480 invoked from network); 27 Aug 2002 00:23:07 -0000 Received: from ubppp233-35.dialin.buffalo.edu (HELO selvirjin.buffalo.edu) (128.205.233.35) by smtp3.acsu.buffalo.edu with SMTP; 27 Aug 2002 00:23:07 -0000 Received: from dragon by selvirjin.buffalo.edu with local (Exim 3.36 #1) id 17jU7u-0000gZ-00; Mon, 26 Aug 2002 20:22:34 -0400 Date: Mon, 26 Aug 2002 20:22:34 -0400 From: "C. A. Daelhousen" To: Bsd Neophyte Cc: freebsd-questions@freebsd.org Subject: Re: how do i change my windows manager? Message-ID: <20020826202234.B2595@selvirjin.buffalo.edu> Mail-Followup-To: Bsd Neophyte , freebsd-questions@freebsd.org References: <20020825145451.17857.qmail@web20105.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020825145451.17857.qmail@web20105.mail.yahoo.com>; from bsdneophyte@yahoo.com on Sun, Aug 25, 2002 at 07:54:51AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Aug 25, 2002 at 07:54:51AM -0700, Bsd Neophyte wrote: > > i've installed hackedbox through the ports... but i'm having problems > trying to get it to load instead of twm(?). > > i've tried reading the handbook, but that didn't help me understand what > to do with the .xinit file... and the xfree86 site was of even less help > with it's documentation that's not expecially good for a newbie. > XDM uses .xsession, which must be executable. So assuming the other replies were correct: $ cat >.xsession #!/bin/sh exec hackedbox ^D $ chmod 700 .xsession startx (which runs xinit) uses .xinitrc, which is automagically run via /bin/sh. $ echo "exec hackedbox" >.xinitrc I prefer to set up .xinitrc as an executable script, and then simply (soft)link .xsession to it. -- ..: Chad Daelhousen == cd9@buffalo.edu :.........: sig v3.1 :... : Programming for 10 +/- 2 years (50 +/- 10% of a lifetime) : :.............Perl will be the first to implement mind reading.: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message