Separate X servers on separate monitors

Adrian Allen aallen at envysion.com
Thu Dec 17 12:08:03 PST 2015


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 | Visit our blog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20151217/75dbd6b2/attachment.html>


More information about the xorg mailing list