xorg multihead (multiset,multiuser)

Обсуждение настройки и работы сервисов, резервирования, сетевых настроек и вопросов безопасности ОС.

Модераторы: SLEDopit, Модераторы разделов

VasyaGaykin
Сообщения: 9
ОС: Kubuntu 8.04

xorg multihead (multiset,multiuser)

Сообщение VasyaGaykin »

Дистрибутив Debian Etch. Хочется поднять несколько рабочих мест на одном системном блоке.
Пошарил в инете -- нашел примерные конфиги для Xorg, gdm. Состряпал свои (только у меня kdm)
Пока начинаю для 2-х рабочих мест.

Код:

================= xorg.conf ==================== # /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the /etc/X11/xorg.conf manual page. # (Type "man /etc/X11/xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section "Files" FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" # Load "GLcore" Load "bitmap" Load "dbe" Load "ddc" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" # Load "speedo" Load "type1" Load "vbe" EndSection #======================= KEYBOARD ============================ Section "InputDevice" Identifier "keyboard_skorik" # Driver "kbd" Driver "evdev" Option "Device" "/dev/input/event0" Option "CoreKeyboard" # Option "Phys" "isa0060/serio0/input0" Option "XkbRules" "xorg" # Option "XkbModel" "pc105" Option "XkbModel" "evdev" Option "XkbLayout" "us,ru(winkeys)" Option "XkbOptions" "grp:ctrl_shift_toggle" # Option "AutoRepeat" "250 30" EndSection Section "InputDevice" Identifier "keyboard_kola" # Driver "kbd" Driver "evdev" Option "Device" "/dev/input/event1" Option "CoreKeyboard" # Option "Phys" "isa0060/serio0/input0" Option "XkbRules" "xorg" # Option "XkbModel" "pc105" Option "XkbModel" "evdev" Option "XkbLayout" "us,ru(winkeys)" Option "XkbOptions" "grp:ctrl_shift_toggle" # Option "AutoRepeat" "250 30" EndSection #======================= MOUSE ================================ Section "InputDevice" Identifier "mouse_skorik" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mouse2" Option "Protocol" "ImPS/2" Option "Button" "3" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "mouse_kola" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mouse0" Option "Protocol" "ImPS/2" Option "Button" "3" Option "ZAxisMapping" "4 5" EndSection #======================== VIDEO CARD =========================== Section "Device" Identifier "video_1" Driver "nvidia" BusID "PCI:1:0:0" Option "DPMS" EndSection Section "Device" Identifier "video_2" Driver "ati" BusID "PCI:2:10:0" Option "DPMS" EndSection #=========================== MONITORS =========================== Section "Monitor" Identifier "monitor_1" # Device "video_1" EndSection Section "Monitor" Identifier "monitor_2" # Device "video_2" EndSection #========================== SCREEN ============================= Section "Screen" Identifier "screen_1" Device "video_1" # Monitor "Generic Monitor" Monitor "monitor_1" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "screen_2" Device "video_2" # Monitor "Generic Monitor" Monitor "monitor_2" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection #====================== SERVER LAYOUT ========================= Section "ServerLayout" Identifier "X1" Screen "screen_1" InputDevice "keyboard_skorik" "CoreKeyboard" InputDevice "mouse_skorik" "CorePointer" Option "SingleCard" "true" EndSection Section "ServerLayout" Identifier "X2" Screen "screen_2" InputDevice "keyboard_kola" "CoreKeyboard" InputDevice "mouse_kola" "CorePointer" Option "SingleCard" "true" EndSection Section "DRI" Mode 0666 EndSection ==================================================================



Код:

======================= /etc/kde3/kdm/Xservers =================== :0 local /usr/X11R6/bin/X -audit 0 -nopciaccessdisable :1 local /usr/X11R6/bin/X -layout X2 -nopciaccessdisable -novtswitches -audit 0 :1 vt8 ==================================================================


И вот в чем проблема...
Если набрать в консоли# "X -layout X1", то запускаются иксы на первом рабочем месте (серый экран и курсор мыши), если "X -layout X2" тоже самое запускается на втором рабочем месте. Но ни как не получается заставить KDM выдать loginscreen на оба рабочих места, что бы ни делал запускается только на первом. Возможно нужно еще какие-то конфиги крутить?
Спасибо сказали:
yaleks
Сообщения: 2121
Статус: вне статуса
ОС: Gentoo ~

Re: xorg multihead (multiset,multiuser)

Сообщение yaleks »

Спасибо сказали:
VasyaGaykin
Сообщения: 9
ОС: Kubuntu 8.04

Re: xorg multihead (multiset,multiuser)

Сообщение VasyaGaykin »

хы... перестарался :wacko:
Спасибо сказали: