Multiseat setup

J T Dsouza <[email protected]>
Newsgroups gmane.user-groups.linux.mumbai
Message-ID <CACE1qH4QXn+5GOL7pPfgd3hTPbfLATr9MUy6=b7uBe4WaJL56g@mail.gmail.com>
Has anyone done a multi seat setup?

I am trying to do it with lightdm which is supposed to have built in
ability for multiseat.
I am able to get two mouse pointers but not independent.
I get two keyboards but working as one.
Both screens are controlled by one user  with one single login instead
of getting two independent lightdm login greeters.

my lightdm.conf

[LightDM]
start-default-seat=true
#[Seat:*]
[Seat:0]
xserver-command=/usr/bin/X :0
xserver-layout=HDMI

[Seat:1]
xserver-command=/usr/bin/X :1
xserver-layout=VGA


my xorg.conf (relevant parts)

Section "ServerLayout"
        Identifier     "HDMI"
        Screen  0      "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
#        Screen      1  "Screen1" RightOf "Screen0"
#        InputDevice    "Mouse1" "CorePointer"
#        InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

#Section "ServerLayout"
#        Identifier     "VGA"
#        Screen      0  "Screen0" 0 0
#        Screen 1       "Screen1" 1367 0
#        InputDevice    "Mouse1" "CorePointer"
#        InputDevice    "Keyboard1" "CoreKeyboard"
#EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "Device" "/dev/input/event0"
EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "kbd"
        Option      "Device" "/dev/input/event2"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mouse0"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mouse1"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "LG"
        ModelName    "20MK400H-BB"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "LG"
        ModelName    "20MP48HB-BB"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                     # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "AccelMethod"               # <str>
        #Option     "DRI3"                      # [<bool>]
        #Option     "DRI"                       # <i>
        #Option     "ShadowPrimary"             # [<bool>]
        #Option     "TearFree"                  # [<bool>]
        #Option     "DeleteUnusedDP12Displays"  # [<bool>]
        Identifier  "Card0"
        Driver      "amdgpu"
        BusID       "PCI:6:0:0"
        Screen          0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                     # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "AccelMethod"               # <str>
        #Option     "DRI3"                      # [<bool>]
        #Option     "ShadowPrimary"             # [<bool>]
        #Option     "TearFree"                  # [<bool>]
        #Option     "DeleteUnusedDP12Displays"  # [<bool>]
        Identifier  "Card1"
        Driver      "amdgpu"
        BusID       "PCI:6:0:1"
        Screen          1
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
EndSection
-- 
https://mm.ilug-bom.org.in/mailman/listinfo/linuxers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.