Multiseat xorg+gdm on slackware 13 x86_64

One computer, two people using it, that means
– 2 video cards, one in the motherboard, and another in PCI-E
– 2 monitors, 2 keyboards, 2 mouses
lspci says:
root@kraftek:~# lspci | grep -i vga
02:00.0 VGA compatible controller: nVidia Corporation C77 [GeForce 8200] (rev a2)
03:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1)
Make sure you select the pci-e as the first card to be initialised in the bios
To find out which mouse and keyboard is which, for each /dev/input/mouse1 /dev/input/mouse2 and /dev/input/event0 /dev/input/event1 /dev/input/event10 /dev/input/event11 /dev/input/event12 /dev/input/event13 /dev/input/event2 /dev/input/event3 /dev/input/event5 /dev/input/event7 /dev/input/event8 /dev/input/event9 do a:
# cat /dev/input/mouse X
# cat /dev/input/eventX
and move the mouse or type in the keyboard, if you see characters in the terminal, that is your kb or mouse.
Also make sure you enable this on the ServerFlags section in xorg.conf so that xorg honors the devices you
select in xorg.conf
Option “AutoAddDevices” “false”
/etc/X11/xorg.conf
30/433
/etc/X11/gdm/custom.conf
The gdm custom.conf is necessary so you have 2 login screens, one on each screen, the important part is:
[servers]
0=Standard device=/dev/console
1=Standard1
[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -nolisten tcp -novtswitch -sharevts -layout seat1
flexible=true
[server-Standard 1]
name=Standard server
command=/usr/X11R6/bin/X -nolisten tcp -novtswitch -sharevts -layout seat2
flexible=true
enjoy!
31/433

Leave a Reply

Your email address will not be published. Required fields are marked *