Two X sessions on one machine???

Louis LeBlanc leblanc+freebsd at keyslapper.org
Thu Sep 4 09:44:22 PDT 2003


On 09/04/03 04:50 PM, Markie sat at the `puter and typed:
> > <SNIP>
> 
> http://linux.about.com/library/bl/open/newbie/blnewbie4.3.6.htm
> 
> Looks about right, I remember doing this a long time ago but couldn't
> remember how. Thanks for making me get some motivation to make myself look
> it up :o)
> 

This is very cool.  I've always wondered if it was possible.  Reading
some of these FAQs lead me to the following:

Is it possible to have xdm start two separate login sessions at
startup?

I'm thinking about the following:

First, create /usr/X11R6/lib/X11/xdm/Xservers.1 which contains:

:1 local /usr/X11R6/bin/X 

Then, comment out the DisplayManager.servers setting in xdm.config and
set the following in /etc/ttys:

ttyv8   "/usr/X11R6/bin/xdm -nodaemon -server /usr/X11R6/lib/X11/xdm/Xservers"  xterm   on  secure
ttyv9   "/usr/X11R6/bin/xdm -nodaemon -server /usr/X11R6/lib/X11/xdm/Xservers.1"  xterm   on  secure

Anyone know if this is a pipe dream?

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?

Hmm.  Might be getting off topic there.

I'd be real interested if anyone has a link to some real detailed
how-tos regarding this kind of creative X setup.  One day I'm gonna
try a dual head setup - but not now (no time or extra monitor :).

Thanks
Lou
-- 
Louis LeBlanc               leblanc at keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     Ô¿Ô¬

Cynic, n.:
  One who looks through rose-colored glasses with a jaundiced eye.


More information about the freebsd-questions mailing list