From owner-freebsd-questions@FreeBSD.ORG Fri Sep 5 05:34:32 2003 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 BB89316A4BF for ; Fri, 5 Sep 2003 05:34:32 -0700 (PDT) Received: from mf1.bredband.net (mf1.bredband.net [195.54.106.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDDB543FA3 for ; Fri, 5 Sep 2003 05:34:30 -0700 (PDT) (envelope-from peder.blom@bredband.net) Received: from Hecate.my.hell ([213.113.217.196]) by mf1.bredband.net with SMTP id <20030905123429.NNKB22258.mf1@Hecate.my.hell>; Fri, 5 Sep 2003 14:34:29 +0200 Date: Fri, 5 Sep 2003 14:34:16 +0200 From: Peder Blom To: freebsd-questions@freebsd.org Message-Id: <20030905143416.35457f10.peder.blom@bredband.net> In-Reply-To: <20030904164420.GA96934@keyslapper.org> References: <20030904040608.D11CA3AA8E@www.fastmail.fm> <034e01c372fc$51d95af0$e400a8c0@ape> <20030904164420.GA96934@keyslapper.org> X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: leblanc+freebsd@keyslapper.org Subject: Re: Two X sessions on one machine??? 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: Fri, 05 Sep 2003 12:34:32 -0000 On Thu, 4 Sep 2003 12:44:20 -0400 Louis LeBlanc wrote: > There are a hundred other questions, like how do you get an xsession > to start different WMs or even different configurations of the same WM > based on the display? > I have a number of .xinitrc versions to start different WMs, like .xinitrc_fluxbox, .xinitrc_gnome and so on. To switch WM I symlink .xinitrc to the version I want, and then do a startx from the command line. I guess this approach can be extended to symlink WM (and other) config files to different configurations depending on the value of $DISPLAY. BTW, an alternativ way to start up an xsession on screen N using terminal xx is: startx -- :N vtxx Personally I don't see much use in starting several WMs at the same time, but it comes in handy when having to deal with "FreeBSD is not ready for the desktop"-people. Can you do this on windows? :-)