[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

multiseat: kdm не запускает второе рабочее место.



вобщем решил я сделать комп на два рабочих места. почитал немного что есть на эту тему в интернете. сейчас имею следующее:
железо
1 видео - Інтел, встроено в материнку, настроен в BIOS как монитор по умолчанию, сконфигурирован на Layout0
2 видео - PCI GeForce2 MX/MX 400 [NV11] сконфигурирован на Layout1
комплект клавиатура+мишка PS/2
комплект клавиатура+мишка USB

драйвер для nvidia использую свободный.

запуск иксов по отдельности на каждом из лайаутов происходит успешно, все работает без проблем.

внес исправления в /etc/kde3/kdm/kdmrc для запуска двух серверов. при запуске на мониторе, который подключен к intel
появляется приглашение для входа с просьбой ввести логин и пароль. Второй монитор переключается в графический режим, экран
становится темным и на нем появляется курсор мышки в форме часов(он чего-то ждет) при этом курсор не двигается.
посмотрел что запущено
$ ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
..................................
root      2489  0.0  0.0   3252   616 ?        Ss   11:08   0:00 /usr/bin/kdm -config /var/run/kdm/kdmrc
root      2491 76.5  1.0  16224 10800 ?        Rs   11:08   0:17 /usr/bin/X -br -nolisten tcp -layout Layout1 -sharevts -novtswitch :1 vt8 -auth /var/run/xauth/A:1-
root      2492  0.0  0.0   3344   960 ?        S    11:08   0:00 -:1
root      2499  6.2  0.5  16412  5920 ?        Ss   11:08   0:01 /usr/bin/X -br -nolisten tcp -layout Layout0 -sharevts -novtswitch :0 vt7 -auth /var/run/xauth/A:0-
root      2500  0.0  0.0   3556  1000 ?        S    11:08   0:00 -:0
root      2505  1.8  1.2  27868 13012 ?        S    11:08   0:00 /usr/bin/kdm_greet
root      2531  3.5  1.0  25480 10560 ?        S    11:08   0:00 /usr/bin/krootimage /var/run/kdm/backgroundrc
root      2536  2.3  1.2  27872 13220 ?        S    11:08   0:00 /usr/bin/kdm_greet

меня терзают смутные сомненья но вроде что-то не запущено, или заблокировано. Почему статус процесса 2491 Rs ?
и еще, если меняю местами мониторы в лайаутах то тот, что подключен к nvidia все равно не запускается и у того процеса статус Rs.
остановить kdm после этого не получается, тот процесс не останавливается. его можно только убить командой
kill -s SIGABRT 2491

пробовал еще переставлять местами разные параметры но от перестановки слагаемых сума не меняется, то есть результат прежний - на мониторе что к
NV подключен темный экран и курсор мышки в виде часиков. только в одном случае результат иной -  если в BIOS поставить видеокарту NV по умолчанию
тогда компьютер просто зависает при запуске kdm, развешивает его только кнопка RESET.

что ему сделать чтоб запустить?
файлы xorg.conf и kdmrc прилагаются.

PS пробовал настраивать gdm. в результате на мониторе что к intel подключен - приглашение к входу, на втором - текст, что из BIOS видеокарты,
он даже в графический режим не переключается.

/etc/kde3/kdm/kdmrc
>>>>>>>>>>>>>>>>>>>>>>>>cut>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[General]
ConfigVersion=2.3
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
PidFile=/var/run/kdm.pid
ReserveServers=:2,:3
ServerVTs=-7
StaticServers=:0,:1

[Shutdown]
HaltCmd=/sbin/halt
RebootCmd=/sbin/reboot

[X-*-Core]
AllowNullPasswd=false
AllowRootLogin=false
AllowShutdown=Root
AutoReLogin=false
ClientLogFile=.xsession-errors-%s
Reset=/etc/kde3/kdm/Xreset
Session=/etc/kde3/kdm/Xsession
Setup=/etc/kde3/kdm/Xsetup
Startup=/etc/kde3/kdm/Xstartup

[X-*-Greeter]
AntiAliasing=true
ColorScheme=
EchoMode=OneStar
FaceSource=AdminOnly
FailFont=Sans Serif,10,-1,5,75,0,0,0,0,0
GUIStyle=
GreetFont=Sans Serif,22,-1,5,50,0,0,0,0,0
GreetString=Welcome to Debian at %n
GreeterPos=50,50
HiddenUsers=
Language=en_US
LogoArea=Logo
LogoPixmap=/usr/share/apps/kdm/pics/kdelogo.png
MaxShowUID=29999
MinShowUID=500
Preloader=/usr/bin/preloadkde
SelectedUsers=
ShowUsers=NotHidden
SortUsers=true
StdFont=Sans Serif,10,-1,5,50,0,0,0,0,0
Theme=@@@ToBeReplacedByDesktopBase@@@
UseBackground=true
UserCompletion=false
UserList=true

[X-:*-Core]
AllowNullPasswd=true
AllowShutdown=All
NoPassEnable=false
NoPassUsers=

[X-:*-Greeter]
AllowClose=true
DefaultUser=operator
FocusPasswd=true
LoginMode=DefaultLocal
PreselectUser=Previous

[X-:0-Core]
#AutoLoginAgain=false
#AutoLoginDelay=0
#AutoLoginEnable=false
#AutoLoginLocked=false
#AutoLoginUser=operator
#ClientLogFile=.xsession-errors
ServerArgsLocal=-nolisten tcp -layout Layout0 -sharevts -novtswitch

[X-:1-Core]
ServerArgsLocal=-nolisten tcp -layout Layout1 -sharevts -novtswitch

[Xdmcp]
Enable=false
Willing=/etc/kde3/kdm/Xwilling


<<<<<<<<<<<<<<<<<<< cut <<<<<<<<<<<<<<<<<<<<<<<<<<<<

/etc/X11/xorg.conf
>>>>>>>>>>>>>>>>>>> cut >>>>>>>>>>>>>>>>>>>>>>>>>>>>
Section "ServerLayout"
        Identifier     "Layout1"
        Screen      0  "Screen1" 0 0
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
EndSection


Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection



Section "Files"
        RgbPath      "/etc/X11/rgb"
        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"
EndSection

Section "Module"
        Load  "glx"
        Load  "dbe"
        Load  "record"
        Load  "GLcore"
        Load  "dri"
        Load  "xtrap"
        Load  "extmod"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "evdev"
        Option      "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option      "Device" "/dev/input/event0"
EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "evdev"
        Option      "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option      "Device" "/dev/input/event1"
EndSection


Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option          "Protocol"              "IMPS/2"
        Option      "Device" "/dev/input/mouse1"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option          "Protocol"              "IMPS/2"
        Option      "Device" "/dev/input/mouse0"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor0"
        VendorName   "VSC"
        ModelName    "VA703-3Series"
 ### Comment all HorizSync and VertRefresh values to use DDC:
        HorizSync    30.0 - 82.0
        VertRefresh  50.0 - 75.0
        Option      "DPMS"
EndSection

Section "Monitor"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor1"
        VendorName   "VSC"
        ModelName    "VA703-3Series"
 ### Comment all HorizSync and VertRefresh values to use DDC:
        HorizSync    30.0 - 82.0
        VertRefresh  50.0 - 75.0
        Option      "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82865G Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card1"
        Driver          "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV11 [GeForce2 MX/MX 400]"
        BusID       "PCI:1:11:0"
EndSection


Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
        Monitor    "Monitor1"
EndSection
<<<<<<<<<<<<<<<<<<< cut <<<<<<<<<<<<<<<<<<<<<<<<<<<<



Reply to: