Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 14:34:16 +0200
From:      Peder Blom <peder.blom@bredband.net>
To:        freebsd-questions@freebsd.org
Cc:        leblanc+freebsd@keyslapper.org
Subject:   Re: Two X sessions on one machine???
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Sep 2003 12:44:20 -0400
Louis LeBlanc <leblanc+freebsd@keyslapper.org> 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? :-)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030905143416.35457f10.peder.blom>