Separate X servers on separate monitors

Jason Kim jason at userful.com
Thu Dec 17 12:21:03 PST 2015


Only one Xorg can be started on each PCI entity. You can not start two 
Xorg servers on your intel HD 4400.

Use Xephyr/Xnest to start on each head.. You can get more info with 
googling "Multiseat Linux".

If you want independent screens, not the independent displays, use 
zaphod mode, so that you can get :0.0 and :0.1.
You need to add once more Screen in the serverlayout section;

Section "ServerLayout"
         Identifier     "default"
         Screen      0  "Screen0" 0 0
         Screen      1  "Screen1" 0 0
         InputDevice    "Mouse0" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
EndSection


On 15-12-17 01:08 PM, Adrian Allen wrote:
> Greetings -
>
> For the past few days I've been trying to configure what used to be 
> the default behavior (a separate X server for each connected physical 
> monitor).  It would be even better if the mouse were constrained to 
> one of those displays (don't really care which).
>
> I'm working on this configuration in a Scientific Linux 6.5 system on 
> an Intel i3-4170 CPU with integrated Intel HD Graphics 4400 (device 
> 041e in lspci).
>
> The issue is that, apparently no matter how I configure things, I 
> cannot get any given X screen to not slurp up both attached monitors.
>
> The current (mess of) xorg.conf I'm trying is (leaving out the input 
> device definitions etc):
>
> Section "ServerLayout"
>         Identifier     "default"
>         Screen      0  "Screen0" 0 0
>         InputDevice    "Mouse0" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "ServerLayout"
>         Identifier     "secondary"
>         Screen      1  "Screen1" 1280 0
> EndSection
>
> Section "Monitor"
>         Identifier   "VGA1"
>         Option       "PreferredMode"    "1280x1024"
>         Option       "Position"         "0 0"
> EndSection
>
> Section "Monitor"
>         Identifier   "HDMI1"
>         Option       "PreferredMode"    "1280x1024"
>         Option       "Position"         "1280 0"
> EndSection
>
> Section "Device"
>         Identifier  "Card0"
>         Driver      "intel"
>         BusID       "PCI:0:2:0"
>         Screen      0
>         Option      "Monitor-HDMI1"     "HDMI1"
> EndSection
>
> Section "Device"
>         Identifier  "Card1"
>         Driver      "intel"
>         BusID       "PCI:0:2:0"
>         Screen      1
>         Option      "Monitor-VGA1"      "VGA1"
> EndSection
>
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Card0"
>         Monitor    "HDMI1"
> EndSection
>
> Section "Screen"
>         Identifier "Screen1"
>         Device     "Card1"
>         Monitor    "VGA1"
> EndSection
>
>
> I've tried many other permutations of an xorg.conf and I just can't 
> get it to not attach both screens to :0.
>
> I want one Xserver running on :0 and another on :1, with one monitor 
> attached to each screen.
>
> Can anyone point me in the right direction and/or tell me what I'm 
> doing wrong with the above config?
> -- 
>
> Adrian Allen
>
> Systems Engineer
>
> Envysion, Inc.
>
> 100 Superior Plaza Way, Suite 260
>
> Superior, CO 80027
>
> D: 303.590.2381
>
> www.envysion.com <http://www.envysion.com> | Visit our blog
>
>
>
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20151217/8664d380/attachment.html>


More information about the xorg mailing list