Two X-screens, how to get a window manager on second screen?











up vote
10
down vote

favorite
1












I'm using Ubuntu 14.04 with Unity. I have two X-screens, on separate graphics cards. I believe the screens are :0.0 and :0.1.



The problem is that, at startup, only my primary screen has a window manager, with Unity/compiz on it.



I have tried the following:



DISPLAY=:0.1 compiz --replace &


which has the effect of removing all window decorations from my primary display and removes the unity launcher. Furthermore, all keyboard input is directed permanently to my second display!



DISPLAY=:0.0 metacity --replace &


In the second display is able to restore functionality, with both displays operational, but no Unity, and no window decorations on second display.



I've tried several combinations of :0.0, :0.1, unity metacity gnome-wm and compiz with --replace, but haven't found any way to work it. What I need, is both displays to have a window manager, and to have Compositing to enabled on the primary display.



PS:



I have decided on 2 X-screens is because the monitors are driven by two different Nvidia graphics cards, so from what I gather compositing would require separate X-screens.



I have previously had success with gnome-classic + Xinerama, which allows a single large X-screen covering both monitors but with no compositing.





PS



My /etc/X11/xorg.conf has:



Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 1920 0
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection


And



Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "DVI-I-1: nvidia-auto-select +1080+0 {rotation=left}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection


Where Device0 is a "Quadro FX 580" and Device1 is a "GeForce 8600 GT".










share|improve this question




























    up vote
    10
    down vote

    favorite
    1












    I'm using Ubuntu 14.04 with Unity. I have two X-screens, on separate graphics cards. I believe the screens are :0.0 and :0.1.



    The problem is that, at startup, only my primary screen has a window manager, with Unity/compiz on it.



    I have tried the following:



    DISPLAY=:0.1 compiz --replace &


    which has the effect of removing all window decorations from my primary display and removes the unity launcher. Furthermore, all keyboard input is directed permanently to my second display!



    DISPLAY=:0.0 metacity --replace &


    In the second display is able to restore functionality, with both displays operational, but no Unity, and no window decorations on second display.



    I've tried several combinations of :0.0, :0.1, unity metacity gnome-wm and compiz with --replace, but haven't found any way to work it. What I need, is both displays to have a window manager, and to have Compositing to enabled on the primary display.



    PS:



    I have decided on 2 X-screens is because the monitors are driven by two different Nvidia graphics cards, so from what I gather compositing would require separate X-screens.



    I have previously had success with gnome-classic + Xinerama, which allows a single large X-screen covering both monitors but with no compositing.





    PS



    My /etc/X11/xorg.conf has:



    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 1920 0
    Screen 1 "Screen1" LeftOf "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
    EndSection


    And



    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "Stereo" "0"
    Option "metamodes" "DVI-I-1: nvidia-auto-select +1080+0 {rotation=left}"
    Option "SLI" "Off"
    Option "MultiGPU" "Off"
    Option "BaseMosaic" "off"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

    Section "Screen"
    Identifier "Screen1"
    Device "Device1"
    Monitor "Monitor1"
    DefaultDepth 24
    Option "Stereo" "0"
    Option "metamodes" "nvidia-auto-select +0+0"
    Option "SLI" "Off"
    Option "MultiGPU" "Off"
    Option "BaseMosaic" "off"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection


    Where Device0 is a "Quadro FX 580" and Device1 is a "GeForce 8600 GT".










    share|improve this question


























      up vote
      10
      down vote

      favorite
      1









      up vote
      10
      down vote

      favorite
      1






      1





      I'm using Ubuntu 14.04 with Unity. I have two X-screens, on separate graphics cards. I believe the screens are :0.0 and :0.1.



      The problem is that, at startup, only my primary screen has a window manager, with Unity/compiz on it.



      I have tried the following:



      DISPLAY=:0.1 compiz --replace &


      which has the effect of removing all window decorations from my primary display and removes the unity launcher. Furthermore, all keyboard input is directed permanently to my second display!



      DISPLAY=:0.0 metacity --replace &


      In the second display is able to restore functionality, with both displays operational, but no Unity, and no window decorations on second display.



      I've tried several combinations of :0.0, :0.1, unity metacity gnome-wm and compiz with --replace, but haven't found any way to work it. What I need, is both displays to have a window manager, and to have Compositing to enabled on the primary display.



      PS:



      I have decided on 2 X-screens is because the monitors are driven by two different Nvidia graphics cards, so from what I gather compositing would require separate X-screens.



      I have previously had success with gnome-classic + Xinerama, which allows a single large X-screen covering both monitors but with no compositing.





      PS



      My /etc/X11/xorg.conf has:



      Section "ServerLayout"
      Identifier "Layout0"
      Screen 0 "Screen0" 1920 0
      Screen 1 "Screen1" LeftOf "Screen0"
      InputDevice "Keyboard0" "CoreKeyboard"
      InputDevice "Mouse0" "CorePointer"
      Option "Xinerama" "0"
      EndSection


      And



      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      Option "Stereo" "0"
      Option "metamodes" "DVI-I-1: nvidia-auto-select +1080+0 {rotation=left}"
      Option "SLI" "Off"
      Option "MultiGPU" "Off"
      Option "BaseMosaic" "off"
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection

      Section "Screen"
      Identifier "Screen1"
      Device "Device1"
      Monitor "Monitor1"
      DefaultDepth 24
      Option "Stereo" "0"
      Option "metamodes" "nvidia-auto-select +0+0"
      Option "SLI" "Off"
      Option "MultiGPU" "Off"
      Option "BaseMosaic" "off"
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection


      Where Device0 is a "Quadro FX 580" and Device1 is a "GeForce 8600 GT".










      share|improve this question















      I'm using Ubuntu 14.04 with Unity. I have two X-screens, on separate graphics cards. I believe the screens are :0.0 and :0.1.



      The problem is that, at startup, only my primary screen has a window manager, with Unity/compiz on it.



      I have tried the following:



      DISPLAY=:0.1 compiz --replace &


      which has the effect of removing all window decorations from my primary display and removes the unity launcher. Furthermore, all keyboard input is directed permanently to my second display!



      DISPLAY=:0.0 metacity --replace &


      In the second display is able to restore functionality, with both displays operational, but no Unity, and no window decorations on second display.



      I've tried several combinations of :0.0, :0.1, unity metacity gnome-wm and compiz with --replace, but haven't found any way to work it. What I need, is both displays to have a window manager, and to have Compositing to enabled on the primary display.



      PS:



      I have decided on 2 X-screens is because the monitors are driven by two different Nvidia graphics cards, so from what I gather compositing would require separate X-screens.



      I have previously had success with gnome-classic + Xinerama, which allows a single large X-screen covering both monitors but with no compositing.





      PS



      My /etc/X11/xorg.conf has:



      Section "ServerLayout"
      Identifier "Layout0"
      Screen 0 "Screen0" 1920 0
      Screen 1 "Screen1" LeftOf "Screen0"
      InputDevice "Keyboard0" "CoreKeyboard"
      InputDevice "Mouse0" "CorePointer"
      Option "Xinerama" "0"
      EndSection


      And



      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      Option "Stereo" "0"
      Option "metamodes" "DVI-I-1: nvidia-auto-select +1080+0 {rotation=left}"
      Option "SLI" "Off"
      Option "MultiGPU" "Off"
      Option "BaseMosaic" "off"
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection

      Section "Screen"
      Identifier "Screen1"
      Device "Device1"
      Monitor "Monitor1"
      DefaultDepth 24
      Option "Stereo" "0"
      Option "metamodes" "nvidia-auto-select +0+0"
      Option "SLI" "Off"
      Option "MultiGPU" "Off"
      Option "BaseMosaic" "off"
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection


      Where Device0 is a "Quadro FX 580" and Device1 is a "GeForce 8600 GT".







      unity xorg multiple-monitors window-manager






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 6 at 15:15









      Yufenyuy Veyeh Dider

      1,5254924




      1,5254924










      asked Jun 25 '15 at 11:29









      Sanjay Manohar

      324317




      324317



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2faskubuntu.com%2fquestions%2f640807%2ftwo-x-screens-how-to-get-a-window-manager-on-second-screen%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • 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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2faskubuntu.com%2fquestions%2f640807%2ftwo-x-screens-how-to-get-a-window-manager-on-second-screen%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

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕