1. /etc/X11/xorg.conf
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "Monitor2"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "InputDevice"
Identifier "kbd_10"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-MOSART_Semi._2.4G_Keyboard_Mouse-event-kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "105"
Option "XkbLayout" "us"
Option "Protocol" "Auto"
Option "GrabDevice" "on"
EndSection
Section "InputDevice"
Identifier "kbd_20"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-RAPOO_RAPOO_2.4G_Wireless_Device-event-kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "105"
Option "XkbLayout" "us"
Option "Protocol" "Auto"
Option "GrabDevice" "on"
EndSection
Section "InputDevice"
Identifier "mouse_10"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-MOSART_Semi._2.4G_Keyboard_Mouse-if01-event-mouse"
Option "GrabDevice" "on"
EndSection
Section "InputDevice"
Identifier "mouse_11"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-MOSART_Semi._2.4G_Keyboard_Mouse-if01-mouse"
Option "GrabDevice" "on"
EndSection
Section "InputDevice"
Identifier "mouse_20"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-RAPOO_RAPOO_2.4G_Wireless_Device-if01-event-mouse"
Option "GrabDevice" "on"
EndSection
Section "InputDevice"
Identifier "mouse_21"
Driver "evdev"
Option "GrabDevice" "on"
Option "Device" "/dev/input/by-id/usb-RAPOO_RAPOO_2.4G_Wireless_Device-if01-mouse"
EndSection
Section "Extensions"
Option "Composite" "enable"
EndSection
Section "ServerLayout"
Identifier "Layout1"
Screen 0 "Screen1" 0 0
InputDevice "kbd_10" "SendCoreEvents"
InputDevice "mouse_10" "SendCoreEvents"
InputDevice "mouse_11" "SendCoreEvents"
Option "AutoEnableDevices" "true"
Option "AutoAddDevices" "false"
Option "AllowEmptyInput" "true"
EndSection
Section "ServerLayout"
Identifier "Layout2"
Screen 0 "Screen2" 0 0
InputDevice "kbd_20" "SendCoreEvents"
InputDevice "mouse_20" "SendCoreEvents"
InputDevice "mouse_21" "SendCoreEvents"
Option "AutoEnableDevices" "true"
Option "AutoAddDevices" "false"
Option "AllowEmptyInput" "true"
EndSection
Section "Device"
Identifier "Card2"
Driver "nouveau"
# Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 520"
Option "Coolbits" "1"
Option "AddARGBGLXVisuals" "true"
Option "TripleBuffer" "false"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Card1"
Driver "i915"
BusID "PCI:0:2:0"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
Option "DontVTSwitch" "true"
EndSection
2. /etc/kdm4/kdm/kdmrc
[General]
ConfigVersion=2.4
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
GreeterUID=kdm
PidFile=/var/run/kdm.pid
ReserveServers=:3,:4
ServerVTs=8,9
StaticServers=:0,:1
[Shutdown]
BootManager=Grub
HaltCmd=/sbin/shutdown -P 0
RebootCmd=/sbin/reboot
[X-*-Core]
AllowNullPasswd=false
AllowRootLogin=false
AllowShutdown=All
AutoReLogin=false
ClientLogFile=.xsession-errors-%d
Reset=/etc/kde4/kdm/Xreset
Session=/etc/kde4/kdm/Xsession
Setup=/etc/kde4/kdm/Xsetup
Startup=/etc/kde4/kdm/Xstartup
[X-*-Greeter]
AntiAliasing=false
ColorScheme=
FaceSource=PreferUser
FailFont=Sans Serif,10,-1,5,75,0,0,0,0,0
GUIStyle=Oxygen
GreetFont=Serif,20,-1,5,50,0,0,0,0,0
GreetString=Welcome to %s at %n
GreeterPos=50,50
HiddenUsers=
Language=ru
LogoArea=Clock
LogoPixmap=
MaxShowUID=29999
MinShowUID=1000
Preloader=/usr/bin/preloadkde
SelectedUsers=
ShowList=true
ShowUsers=NotHidden
SortUsers=true
StdFont=Sans Serif,10,-1,5,50,0,0,0,0,0
Theme=
UseBackground=true
UseTheme=true
UserCompletion=false
UserList=true
[X-:*-Core]
AllowNullPasswd=true
AllowShutdown=All
NoPassEnable=false
NoPassUsers=
ServerArgsLocal=-nr -nolisten tcp
[X-:*-Greeter]
AllowClose=true
DefaultUser=Lida
FocusPasswd=true
LoginMode=DefaultLocal
PreselectUser=Previous
[X-:1-Core]
AutoLoginEnable=false
AutoLoginLocked=false
AutoLoginUser=
ClientLogFile=.xsession-errors
ServerCmd=/usr/bin/X -sharevts -layout layout1 -isolateDevice PCI:0:2:0 -keeptty
ServerVT=8
[X-:0-Core]
AutoLoginEnable=false
AutoLoginLocked=false
AutoLoginUser=
ClientLogFile=.xsession-errors
ServerCmd=/usr/bin/X -novtswitch -sharevts -layout layout2 -isolateDevice PCI:1:0:0 -keeptty
ServerVT=9
[Xdmcp]
Enable=true
Willing=/etc/kde4/kdm/Xwilling
3. ну и в /etc/X11/default-display-manager прописано: "/usr/bin/kdm"