I have a basic setup using kdm on a (overly) modified Mandrake with 2 X servers going.  

/etc/X11/xdm/Xservers:
:0 local /usr/X11R6/bin/XFree86 : 0 tty07 -xf86config /etc/X11/XF86config-4.hires
:1 local /usr/X11R6/bin/XFree86 : 0 tty08 -xf86config /etc/X11/XF86config-4.lores

/etc/X11/xdm/xdm-config:
DisplayManager._0.authorize:    true
DisplayManager._1.authorize:    true
DisplayManager._0.setup:        /etc/X11/xdm/Xsetup_0
DisplayManager._0.startup:      /etc/X11/xdm/GiveConsole
DisplayManager._0.reset:        /etc/X11/xdm/TakeConsole
DisplayManager._1.setup:        /etc/X11/xdm/Xsetup_1



/etc/X11/xdm/GiveConsole:
chown $USER /dev/console
/usr/X11R6/bin/sessreg  -a -w "/var/log/wtmp" -u "/var/run/utmp" \
        -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER


/etc/X11/xdm/TakeConsole:
chmod 622 /dev/console
chown root /dev/console
/usr/X11R6/bin/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp" \
        -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER


/etc/X11/xdm/Xsetup_[01]: (both files are the same, taken from Mandrake Setup)

if [ -f /etc/profile.d/kde.sh ];then
 . /etc/profile.d/kde.sh
fi
 
[ -z "$KDEDIR" ] && KDEDIR=/usr
 
if [ -x $KDEDIR/bin/kdmdesktop ];then
    $KDEDIR/bin/kdmdesktop
else
    /usr/X11R6/bin/xsetroot -solid "#666699"
    /usr/X11R6/bin/xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
fi
 
if [ -x /etc/X11/xinit/fixkeyboard ]; then
    /etc/X11/xinit/fixkeyboard
fi




This whole setup works.  It occationally will mess up with the video (my guess
is a shared memory problem), but just restarting KDM seems to take care of 
that.  You might want to check that you actuly have 2 X servers running once
you get it set up.  (`ps auxf` to see where they are all coming from)  Also,
make sure to check the log files.  Most of the time you will see 
/var/log/XFree86.0.log
and
/var/log/XFree86.1.log
if they both were started.  The log files should also give you a clue as to
why they died.  

Jay



On Thursday 05 July 2001  4:33 pm, you wrote:
>         So I decided to have kdm start two X sessions. My
>
> /etc/X11/kdm/Xservers looks like this:
> :0 local /usr/X11R6/bin/X :0 -dpi 100 -nolisten tcp
> :1 local /usr/X11R6/bin/X :1 -dpi 100 -nolisten tcp
>
> /etc/X11/kdm/kdm-config looks like this (abridged):
>
> DisplayManager._0.authorize:    true
> DisplayManager._1.authorize:    true
> DisplayManager._0.setup:        /usr/X11R6/lib/X11/kdm/Xsetup
> DisplayManager._1.setup:        /usr/X11R6/lib/X11/kdm/Xsetup
> DisplayManager._0.startup:      /usr/X11R6/lib/X11/kdm/Xstartup
> DisplayManager._1.startup:      /usr/X11R6/lib/X11/kdm/Xstartup
> DisplayManager._0.reset:        /usr/X11R6/lib/X11/kdm/Xreset
> DisplayManager._1.reset:        /usr/X11R6/lib/X11/kdm/Xreset
>
>         However, once I restart KDM, I can log into :0 just fine.
> However, when I switch to :1, all I get is a black screen. Worse yet, I
> cannot switch to another console afterwards. CTRL-ALT-F# and
> CTRL-ALT-BACKSPACE don't work, but the three-fingered salute still
> works. Also, if I switch to a text console and then back to X, it
> freezes up. I have also tried it with the DisplayManager options all
> *'ed; that is, for example, DisplayManager*authorize. Still doesn't
> work. I have searched Google and read the fine man pages, and it seems
> that the above _should_ work...but obviously doesn't. Relevent info:
> Progeny/Debian, GeForce2 MX. Any ideas what the problem might be?
>         TIA,
>
>         :Peter
>
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list

-- 
Hope not, lest ye be disappointed.
		-- M. Horner