Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2005 13:53:42 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Kevin Kinsey <kdk@daleco.biz>
Cc:        markzero <mark@darklogik.org>
Subject:    Multiple X servers on one machine (was: Different OS's? Marketshare)
Message-ID:  <20050224032342.GH36248@wantadilla.lemis.com>
In-Reply-To: <421D447A.7010704@daleco.biz>
References:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAkUru9e0Xgkm1jphiEj0758KAAAAQAAAAVNKPkcwi5Uq3w6wWDp/biAEAAAAA@video-phones-evdo.com> <LOBBIFDAGNMAMLGJJCKNIEHPFAAA.tedm@toybox.placo.com> <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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050224032342.GH36248>