Multiple monitors on linux












1















I am using a special configuration of monitors on some computers with two monitors. On old setup with NVidia graphics card I used xorg.conf with two screens setup. I was able to start different windows managers on each monitor, because one was DISPLAY :0.0 and another was DISPLAY :0.1.



Now I try to migrate from CentOS5 to CentOS7 and also computers have onboard Intel graphics instead of NVidia.



Whatever I try I only get DISPLAY :0.0. xdpyinfo says that the number of screens is 1 and dimensions of that screen are combined dimensions of both monitors.



There is no more xorg.conf in CentOS7. I would rather use /etc/X11/xorg.conf.d/ directory where I could put parts of xorg.conf, which are special.



How could I start xorg in that way that each separate screens and not one combined display? I want screens :0.0 and :0.1.



I used some xrandr commands to rotate one of the screen, etc. Can I add as display with xrandr?










share|improve this question













migrated from serverfault.com Jan 25 at 15:12


This question came from our site for system and network administrators.



















  • I usually just use something like xrandr --output DP2 --mode 1920x1200 --above eDP1, where eDP1 is my laptop's screen and DP2 is the external monitor.

    – choroba
    Jan 18 at 13:43











  • I have no problems displaying graphics on both screens. I want them to be separate screens (:0.0, :0.1) to be able to run different windows managers on them and that windows could not be moved from one screen to another. I have tried xrandr commands as you suggested and they do not provide what I need.

    – nobody
    Jan 18 at 13:49











  • Oh, I see. Unfortunately, I've never tried that with xrandr :-(

    – choroba
    Jan 18 at 14:07











  • I used ZaphodHeads option a while ago and I don't know whether this still works. I will try it.

    – nobody
    Jan 18 at 15:13
















1















I am using a special configuration of monitors on some computers with two monitors. On old setup with NVidia graphics card I used xorg.conf with two screens setup. I was able to start different windows managers on each monitor, because one was DISPLAY :0.0 and another was DISPLAY :0.1.



Now I try to migrate from CentOS5 to CentOS7 and also computers have onboard Intel graphics instead of NVidia.



Whatever I try I only get DISPLAY :0.0. xdpyinfo says that the number of screens is 1 and dimensions of that screen are combined dimensions of both monitors.



There is no more xorg.conf in CentOS7. I would rather use /etc/X11/xorg.conf.d/ directory where I could put parts of xorg.conf, which are special.



How could I start xorg in that way that each separate screens and not one combined display? I want screens :0.0 and :0.1.



I used some xrandr commands to rotate one of the screen, etc. Can I add as display with xrandr?










share|improve this question













migrated from serverfault.com Jan 25 at 15:12


This question came from our site for system and network administrators.



















  • I usually just use something like xrandr --output DP2 --mode 1920x1200 --above eDP1, where eDP1 is my laptop's screen and DP2 is the external monitor.

    – choroba
    Jan 18 at 13:43











  • I have no problems displaying graphics on both screens. I want them to be separate screens (:0.0, :0.1) to be able to run different windows managers on them and that windows could not be moved from one screen to another. I have tried xrandr commands as you suggested and they do not provide what I need.

    – nobody
    Jan 18 at 13:49











  • Oh, I see. Unfortunately, I've never tried that with xrandr :-(

    – choroba
    Jan 18 at 14:07











  • I used ZaphodHeads option a while ago and I don't know whether this still works. I will try it.

    – nobody
    Jan 18 at 15:13














1












1








1








I am using a special configuration of monitors on some computers with two monitors. On old setup with NVidia graphics card I used xorg.conf with two screens setup. I was able to start different windows managers on each monitor, because one was DISPLAY :0.0 and another was DISPLAY :0.1.



Now I try to migrate from CentOS5 to CentOS7 and also computers have onboard Intel graphics instead of NVidia.



Whatever I try I only get DISPLAY :0.0. xdpyinfo says that the number of screens is 1 and dimensions of that screen are combined dimensions of both monitors.



There is no more xorg.conf in CentOS7. I would rather use /etc/X11/xorg.conf.d/ directory where I could put parts of xorg.conf, which are special.



How could I start xorg in that way that each separate screens and not one combined display? I want screens :0.0 and :0.1.



I used some xrandr commands to rotate one of the screen, etc. Can I add as display with xrandr?










share|improve this question














I am using a special configuration of monitors on some computers with two monitors. On old setup with NVidia graphics card I used xorg.conf with two screens setup. I was able to start different windows managers on each monitor, because one was DISPLAY :0.0 and another was DISPLAY :0.1.



Now I try to migrate from CentOS5 to CentOS7 and also computers have onboard Intel graphics instead of NVidia.



Whatever I try I only get DISPLAY :0.0. xdpyinfo says that the number of screens is 1 and dimensions of that screen are combined dimensions of both monitors.



There is no more xorg.conf in CentOS7. I would rather use /etc/X11/xorg.conf.d/ directory where I could put parts of xorg.conf, which are special.



How could I start xorg in that way that each separate screens and not one combined display? I want screens :0.0 and :0.1.



I used some xrandr commands to rotate one of the screen, etc. Can I add as display with xrandr?







linux centos xorg






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 18 at 13:19









nobodynobody

1133




1133




migrated from serverfault.com Jan 25 at 15:12


This question came from our site for system and network administrators.









migrated from serverfault.com Jan 25 at 15:12


This question came from our site for system and network administrators.















  • I usually just use something like xrandr --output DP2 --mode 1920x1200 --above eDP1, where eDP1 is my laptop's screen and DP2 is the external monitor.

    – choroba
    Jan 18 at 13:43











  • I have no problems displaying graphics on both screens. I want them to be separate screens (:0.0, :0.1) to be able to run different windows managers on them and that windows could not be moved from one screen to another. I have tried xrandr commands as you suggested and they do not provide what I need.

    – nobody
    Jan 18 at 13:49











  • Oh, I see. Unfortunately, I've never tried that with xrandr :-(

    – choroba
    Jan 18 at 14:07











  • I used ZaphodHeads option a while ago and I don't know whether this still works. I will try it.

    – nobody
    Jan 18 at 15:13



















  • I usually just use something like xrandr --output DP2 --mode 1920x1200 --above eDP1, where eDP1 is my laptop's screen and DP2 is the external monitor.

    – choroba
    Jan 18 at 13:43











  • I have no problems displaying graphics on both screens. I want them to be separate screens (:0.0, :0.1) to be able to run different windows managers on them and that windows could not be moved from one screen to another. I have tried xrandr commands as you suggested and they do not provide what I need.

    – nobody
    Jan 18 at 13:49











  • Oh, I see. Unfortunately, I've never tried that with xrandr :-(

    – choroba
    Jan 18 at 14:07











  • I used ZaphodHeads option a while ago and I don't know whether this still works. I will try it.

    – nobody
    Jan 18 at 15:13

















I usually just use something like xrandr --output DP2 --mode 1920x1200 --above eDP1, where eDP1 is my laptop's screen and DP2 is the external monitor.

– choroba
Jan 18 at 13:43





I usually just use something like xrandr --output DP2 --mode 1920x1200 --above eDP1, where eDP1 is my laptop's screen and DP2 is the external monitor.

– choroba
Jan 18 at 13:43













I have no problems displaying graphics on both screens. I want them to be separate screens (:0.0, :0.1) to be able to run different windows managers on them and that windows could not be moved from one screen to another. I have tried xrandr commands as you suggested and they do not provide what I need.

– nobody
Jan 18 at 13:49





I have no problems displaying graphics on both screens. I want them to be separate screens (:0.0, :0.1) to be able to run different windows managers on them and that windows could not be moved from one screen to another. I have tried xrandr commands as you suggested and they do not provide what I need.

– nobody
Jan 18 at 13:49













Oh, I see. Unfortunately, I've never tried that with xrandr :-(

– choroba
Jan 18 at 14:07





Oh, I see. Unfortunately, I've never tried that with xrandr :-(

– choroba
Jan 18 at 14:07













I used ZaphodHeads option a while ago and I don't know whether this still works. I will try it.

– nobody
Jan 18 at 15:13





I used ZaphodHeads option a while ago and I don't know whether this still works. I will try it.

– nobody
Jan 18 at 15:13










1 Answer
1






active

oldest

votes


















0














I have found a solution here https://askubuntu.com/a/419614/217214. There is one thing to be careful of. xrandr reports HDMI-1, HDMI-2 and eDP-1 outputs on my graphics adapter. However, I had to use HDMI1, HDMI2 and eDP1 in xorg.conf file.



I did not use /etc/X11/xorg.conf file. I added a file 20-screens.conf to /etc/X11/xorg.conf.d/ directory. The file is very similar to the one provided in the solution https://askubuntu.com/a/419614/217214. So I don't see the point of repeating it here.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f496696%2fmultiple-monitors-on-linux%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I have found a solution here https://askubuntu.com/a/419614/217214. There is one thing to be careful of. xrandr reports HDMI-1, HDMI-2 and eDP-1 outputs on my graphics adapter. However, I had to use HDMI1, HDMI2 and eDP1 in xorg.conf file.



    I did not use /etc/X11/xorg.conf file. I added a file 20-screens.conf to /etc/X11/xorg.conf.d/ directory. The file is very similar to the one provided in the solution https://askubuntu.com/a/419614/217214. So I don't see the point of repeating it here.






    share|improve this answer




























      0














      I have found a solution here https://askubuntu.com/a/419614/217214. There is one thing to be careful of. xrandr reports HDMI-1, HDMI-2 and eDP-1 outputs on my graphics adapter. However, I had to use HDMI1, HDMI2 and eDP1 in xorg.conf file.



      I did not use /etc/X11/xorg.conf file. I added a file 20-screens.conf to /etc/X11/xorg.conf.d/ directory. The file is very similar to the one provided in the solution https://askubuntu.com/a/419614/217214. So I don't see the point of repeating it here.






      share|improve this answer


























        0












        0








        0







        I have found a solution here https://askubuntu.com/a/419614/217214. There is one thing to be careful of. xrandr reports HDMI-1, HDMI-2 and eDP-1 outputs on my graphics adapter. However, I had to use HDMI1, HDMI2 and eDP1 in xorg.conf file.



        I did not use /etc/X11/xorg.conf file. I added a file 20-screens.conf to /etc/X11/xorg.conf.d/ directory. The file is very similar to the one provided in the solution https://askubuntu.com/a/419614/217214. So I don't see the point of repeating it here.






        share|improve this answer













        I have found a solution here https://askubuntu.com/a/419614/217214. There is one thing to be careful of. xrandr reports HDMI-1, HDMI-2 and eDP-1 outputs on my graphics adapter. However, I had to use HDMI1, HDMI2 and eDP1 in xorg.conf file.



        I did not use /etc/X11/xorg.conf file. I added a file 20-screens.conf to /etc/X11/xorg.conf.d/ directory. The file is very similar to the one provided in the solution https://askubuntu.com/a/419614/217214. So I don't see the point of repeating it here.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 22 at 8:01









        nobodynobody

        1133




        1133






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f496696%2fmultiple-monitors-on-linux%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

            is 'sed' thread safe

            How to make a Squid Proxy server?