From owner-freebsd-questions@FreeBSD.ORG Thu Feb 24 03:23:47 2005 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 C450416A4CE for ; Thu, 24 Feb 2005 03:23:47 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E7E943D2D for ; Thu, 24 Feb 2005 03:23:45 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id ADB7285635; Thu, 24 Feb 2005 13:53:42 +1030 (CST) Date: Thu, 24 Feb 2005 13:53:42 +1030 From: Greg 'groggy' Lehey To: Kevin Kinsey Message-ID: <20050224032342.GH36248@wantadilla.lemis.com> References: <476138570.20050223180240@wanadoo.fr> <421CD2EB.9060503@wilderness.dyn.dhs.org> <1763669737.20050223212628@wanadoo.fr> <421D0A9A.2000109@daleco.biz> <20050223230921.GB62904@logik.ath.cx> <421D447A.7010704@daleco.biz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TLm6rr1HdtNCO3oW" Content-Disposition: inline In-Reply-To: <421D447A.7010704@daleco.biz> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-questions@freebsd.org cc: markzero Subject: Multiple X servers on one machine (was: Different OS's? Marketshare) 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: Thu, 24 Feb 2005 03:23:48 -0000 --TLm6rr1HdtNCO3oW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline This is an excellent idea of why the weekly "how to ask questions" message suggests changing the Subject: line to match changes in topic. I have been deleting this thread, and only by chance did I stumble on this message before deleting it. On Wednesday, 23 February 2005 at 21:05:30 -0600, Kevin Kinsey wrote: > markzero wrote: > >>>> Is it possible to install multiple X servers on the same machine so that >>>> one can fire up whichever one strikes one's fancy at a given time? >>> >>> I don't see why not, although it'd probably be more common to >>> simply kill one wm session and start another to save resources. >>> Maybe it's possible. I don't know if, since you've just one >>> DISPLAY (in theory, anyhow) you would configure it. >>> >>> Hmm, just tested. No can do, because just one DISPLAY. Maybe some >>> X guru has a solution. GNOME on ttyv1, fluxbox on ttyv2, term on ttyv3 >>> etc., etc.... Would be pretty cool. >> >> This is certainly possible. You need to start X via something other than >> startx as you must manually set DISPLAY vars. I have run two X servers on >> my machine many times - one running a local desktop environment and the >> other running a WM from a remote box over SSH (for no particular reason >> other than that it's fun). > > I figured there was a way. Most times there is. I was thinking > two Xservers, one monitor. CTL-ALT-F2 is Desktop B, CTL-ALT-F3 > is desktop C, etc. How 'bout that? Well, the terminology is "server", not "desktop". But yes, that can work. > Of course, I really have no idea *why*, either; but it does at least > sound "fun". Been there, done that, wrote a diary entry: http://www.lemis.com/grog/diary-dec2002.html#7 . The secret is to specify a different server number for each server. In the example in the diary entry, I had different window managers running on each of three servers. The scripts are in the diary entry. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. --TLm6rr1HdtNCO3oW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCHUi+IubykFB6QiMRAh8DAJ4x2QymEQcjBS5uRDTocABwvlToPgCfbghe rWHXAJkbvzdEoWROQiwdyd4= =HHNB -----END PGP SIGNATURE----- --TLm6rr1HdtNCO3oW--