Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2005 13:53:42 +1030
From:      Greg 'groggy' Lehey <>
To:        Kevin Kinsey <>
Cc:        markzero <>
Subject:    Multiple X servers on one machine (was: Different OS's? Marketshare)
Message-ID:  <>
In-Reply-To: <>
References:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAkUru9e0Xgkm1jphiEj0758KAAAAQAAAAVNKPkcwi5Uq3w6wWDp/> <> <> <> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

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

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.

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
See complete headers for address and phone numbers.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.6 (FreeBSD)



Want to link to this message? Use this URL: <>