Использовал мануал
http://www.altlinux.org/X11/DualSeat (спасибо автору(ам)!)
В принципе работает, но есть несколько вещей требующих исправления:
1.
У "второго" пользоватея нет прав на чтение и запись в файлах
ls -all /dev/nvidia*
crw-rw---- 1 user root 195, 0 Окт 21 20:21 /dev/nvidia0
crw-rw---- 1 user root 195, 1 Окт 21 20:21 /dev/nvidia1
crw-rw---- 1 user root 195, 255 Окт 21 20:21 /dev/nvidiactl
поэтому у него не работает 3D ускорение
2.
Невозможно переключить пользователя после блокировки экрана.
Ну, это, наверное, связано с тем, что в мануале используется wdm, а не kdm, к которому я так привык и эта доп. возможность мне бы пригодилась.
Можно ли как-то настроить kdm для запуска dualseat?
2.1.
После выхода из системы на одной из консолей -- невозможно войти, потому что не работает энтер в поле ввода логина и пароля в wdm
3.
Не работают колеса мыши
Не работают повторения клавиш стрелок "вниз" и "влево"
Звуком пока не занимался. Может он удачно настроится :)
Прилагаю xorg.conf
Section "ServerFlags"
# Option "AllowMouseOpenFail" "true"
# Option "AllowEmptyInput" "true"
Option "DefaultServerLayout" "seat0"
Option "AutoAddDevices" "false"
EndSection
Section "ServerLayout"
Identifier "dualhead"
InputDevice "Keyboards" "CoreKeyboard"
InputDevice "mice" "CorePointer"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
EndSection
Section "ServerLayout"
Identifier "xinerama"
InputDevice "Keyboards" "CoreKeyboard"
InputDevice "mice" "CorePointer"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Option "Xinerama" "on"
EndSection
Section "ServerLayout"
Identifier "seat0"
InputDevice "Keyboard0e" "CoreKeyboard"
InputDevice "usbmouse0" "CorePointer"
Screen 0 "Screen1" 0 0
# the same as IsolateDevice, but use bus id from "device" section
# note: only make things worse
# Option "SingleCard" "true"
EndSection
Section "ServerLayout"
Identifier "seat1"
# this usb keyboard has separate core and multimedia parts
InputDevice "Keyboard1e.0" "CoreKeyboard"
InputDevice "usbmouse1" "CorePointer"
Screen 0 "Screen0" 0 0
# Option "SingleCard" "true"
EndSection
Section "Module"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection
Section "InputDevice"
Identifier "Keyboards"
Driver "kbd"
Option "AutoRepeat" "250 40"
#Option "XkbModel" "pc105"
#Option "XkbModel" "a4techKBS8"
#Option "XkbLayout" "us,ru,ua"
#Option "XkbVariant" ",winkeys,winkeys"
#Option "XkbOptions" "grp:menu_toggle,grp_led:scroll"
EndSection
Section "InputDevice"
Identifier "Keyboard0e"
Driver "evdev"
Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
Option "XkbModel" "evdev"
# Option "XkbLayout" "us,ru,ua"
# Option "XkbVariant" ",winkeys,winkeys"
# Option "XkbOptions" "grp:menu_toggle,grp_led:scroll"
EndSection
Section "InputDevice"
# keyboard 1 - the main part (useful keys)
Identifier "Keyboard1e.0"
Driver "evdev"
Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:1.2:1.0-event-kbd"
Option "XkbModel" "evdev"
# Option "XkbLayout" "us,ru,ua"
# Option "XkbVariant" ",winkeys,winkeys"
# Option "XkbOptions" "grp:menu_toggle,grp_led:scroll"
EndSection
Section "InputDevice"
Identifier "mice"
Driver "mouse"
Option "Device" "/dev/input/mice"
# Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "usbmouse0"
Driver "mouse"
Option "Device" "/dev/input/by-path/platform-i8042-serio-1-mouse"
# Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "usbmouse1"
Driver "mouse"
Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:1.1:1.0-mouse"
# Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Monitor"
Identifier "Monitor1"
EndSection
Section "Device"
Identifier "CardInt"
Driver "nvidia"
BoardName "GeForce 8800 GTS Palit"
BusID "PCI:1:0:0"
Option "NoLogo" "True"
Option "ProbeAllGpus" "False"
EndSection
Section "Device"
Identifier "CardExt"
Driver "nvidia"
BoardName "GeForce 8800 GTS Albatron"
BusID "PCI:8:0:0"
Option "NoLogo" "True"
Option "ProbeAllGpus" "False"
EndSection
Section "Screen"
Identifier "Screen0"
Device "CardExt"
Monitor "Monitor0"
EndSection
Section "Screen"
Identifier "Screen1"
Device "CardInt"
Monitor "Monitor1"
EndSection