Multiseat(Dualhead) Как реализовать?

Автор nickideb, 04 сентября 2018, 06:08:55

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

nickideb

Здравствуйте!
Помогите реализовать multiseat систему на Debian 9
Нужно сделать как в Aster  чтобы на 1 пк работало от 2ух пользователей.
Вот видео пример
https://www.youtube.com/watch?v=UTKLU8eyAxs
---------------------
Пробывал химичить с xorg не получилось(


nickideb

#2
Уже 4 раза систему поломал  :-[
admins@admins-desktop:~$ loginctl seat-status seat0
Открыть содержимое (спойлер)

seat0
        Sessions: *c2
         Devices:
                  ├─/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
                  │ input:input1 "Power Button"
                  ├─/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
                  │ input:input0 "Power Button"
                  ├─/sys/devices/pci0000:00/0000:00:01.0/0000:04:00.0
                  │ [MASTER] pci:0000:04:00.0
                  │ ├─/sys/devices/pci0000:00/0000:00:01.0/0000:04:00.0/drm/card0
                  │ │ [MASTER] drm:card0
                  │ └─/sys/devices/pci0000:00/0000:00:01.0/0000:04:00.0/drm/renderD128
                  │   drm:renderD128
                  ├─/sys/devices/pci0000:00/0000:00:01.0/0000:04:00.1/sound/card1
                  │ sound:card1 "NVidia"
                  │ ├─/sys/devices/pci0000:00/0000:00:01.0/0000:04:00.1/sound/card1/input14
                  │ │ input:input14 "HDA NVidia HDMI/DP,pcm=3"
                  │ ├─/sys/devices/pci0000:00/0000:00:01.0/0000:04:00.1/sound/card1/input15
                  │ │ input:input15 "HDA NVidia HDMI/DP,pcm=7"
                  │ ├─/sys/devices/pci0000:00/0000:00:01.0/0000:04:00.1/sound/card1/input16
                  │ │ input:input16 "HDA NVidia HDMI/DP,pcm=8"
                  │ └─/sys/devices/pci0000:00/0000:00:01.0/0000:04:00.1/sound/card1/input17
                  │   input:input17 "HDA NVidia HDMI/DP,pcm=9"
                  ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0
                  │ sound:card0 "Intel"
                  │ ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input10
                  │ │ input:input10 "HDA Intel Front Mic"
                  │ ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input11
                  │ │ input:input11 "HDA Intel Line"
                  │ ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input12
                  │ │ input:input12 "HDA Intel Line Out"
                  │ ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input13
                  │ │ input:input13 "HDA Intel Front Headphone"
                  │ └─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input9
                  │   input:input9 "HDA Intel Rear Mic"
                  ├─/sys/devices/pci0000:00/0000:00:1d.0/usb2
                  │ usb:usb2
                  │ └─/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/0003:093A:2510.0001/input/input5
                  │   input:input5 "PixArt USB Optical Mouse"
                  ├─/sys/devices/pci0000:00/0000:00:1d.1/usb3
                  │ usb:usb3
                  │ ├─/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/0003:0000:0538.0002/input/input6
                  │ │ input:input6 " USB OPTICAL MOUSE"
                  │ ├─/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:1A2C:2D23.0003/input/input7
                  │ │ input:input7 "USB USB Keyboard"
                  │ └─/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.1/0003:1A2C:2D23.0004/input/input8
                  │   input:input8 "USB USB Keyboard"
                  ├─/sys/devices/pci0000:00/0000:00:1d.2/usb4
                  │ usb:usb4
                  ├─/sys/devices/pci0000:00/0000:00:1d.3/usb5
                  │ usb:usb5
                  ├─/sys/devices/pci0000:00/0000:00:1d.7/usb1
                  │ usb:usb1
                  ├─/sys/devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:1/2:0:1:0/block/sr0
                  │ block:sr0
                  ├─/sys/devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:1/2:0:1:0/scsi_generic/sg1
                  │ scsi_generic:sg1
                  ├─/sys/devices/platform/vesa-framebuffer.0/graphics/fb0
                  │ [MASTER] graphics:fb0 "VESA VGA"
                  └─/sys/devices/virtual/misc/kvm
                    misc:kvm
[свернуть]

Хз что делать..
Нужна нормальная инструкция..
графическая оболочка у меня lxde.. и есть машины на xfce

xorg.conf
Открыть содержимое (спойлер)
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 361.42  (buildd@lcy01-16)  Tue Apr  5 14:32:56 UTC 2016

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

Section "ServerLayout"
   Identifier     "seat1"
   Screen      0  "Screen1" 0 0
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "AOC 1970W"
    HorizSync       30.0 - 60.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Philips PHL 193V5"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 430"
    BusID          "PCI:4:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 430"
    BusID          "PCI:4:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "DVI-I-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-I-1: 1366x768 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
[свернуть]

на сей раз поломал xorg)

qupl

А что в логах иксов в это время? Не изучал вопрос, а один экран можно в разных сессиях одновременно использовать?