Re: Multiseat setup

"Rajeev R. K." <[email protected]>
Newsgroups gmane.user-groups.linux.mumbai
Message-ID <CAGFDF9i14dThjq0+O1CzPFVf9Vy3CMC7sCAAPw2KhEdiQEGX-Q@mail.gmail.com>
On Tue, 7 Aug 2018 at 17:28, J T Dsouza <[email protected]> wrote:

> On Mon, Aug 6, 2018 at 6:12 PM, Rajeev R. K. <[email protected]> wrote:
> > On Mon, 6 Aug 2018 at 11:20, J T Dsouza <[email protected]> wrote:
> >
> >> Has anyone done a multi seat setup?
> >>
> >
> > I have tested the same, with a few caveats. My test setup was based on
> > Fedora 26, with consolekit used to manage seats and the input device
> > pairings. The Caveat was that each seat had to have an independent
> display
> > card/device. Multiple outputs connected to a single card cannot be used
> to
> > do a multi seat configuration(At least not yet. but is being worked upon
> by
> > me).
>
> Trying it out on a gigabyte AB350+ Ryzen 5 2600gpu. Which has 3
> outputs. With loginctl I can split the devices between 2  seats quite
> easily.
>
>
There are you using the On-Board Display ports as seat 0, and the addon GPU
ports as seat1? Or do you have multiple on-board ports with a single
display controller serviing multiple seats? Could you share your 'loginctl
seat-status' output?

Thanks and Regards

R. K. Rajeev
Ph : +91-9323802020


> Using this as a guide
> https://wiki.archlinux.org/index.php/Xorg_multiseat
>
> >
> >> I am trying to do it with lightdm which is supposed to have built in
> >> ability for multiseat.
> >>
> >
> > I tested it back then with both LightDM and GDM, both of which had built
> in
> > multiseat support in F26. I intend to be running some more experiments on
> > the same once I'm back in mumbai in a couple of weeks. Will report more
> > details then.
> >
> > 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
> >
> >
> > Thanks and Regards
> >
> > R. K. Rajeev
> > Ph : +91-9323802020
> > --
> > https://mm.ilug-bom.org.in/mailman/listinfo/linuxers
> --
> https://mm.ilug-bom.org.in/mailman/listinfo/linuxers
>
-- 
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.