How can I run a second window manager?












3















Specifically, I'd like to run awesome-git at the same time as awesome. I've tried running the former from a shell in the latter:



$ awesome-git/pkg/awesome-git/usr/bin/awesome
[…] E: awesome: main:653: another window manager is already running (can't select SubstructureRedirect)


I get the same result if I add --replace.



After changing to a different VT:



$ awesome-git/pkg/awesome-git/usr/bin/awesome
[…] E: awesome: main:592: cannot open display (error 5)


If I try to specify a display I get the following:



$ DISPLAY=:1 awesome-git/pkg/awesome-git/usr/bin/awesome
[…] E: awesome: main:592: cannot open display (error 1)


I tried to rm ~/.Xauthority, but that didn't help.










share|improve this question





























    3















    Specifically, I'd like to run awesome-git at the same time as awesome. I've tried running the former from a shell in the latter:



    $ awesome-git/pkg/awesome-git/usr/bin/awesome
    […] E: awesome: main:653: another window manager is already running (can't select SubstructureRedirect)


    I get the same result if I add --replace.



    After changing to a different VT:



    $ awesome-git/pkg/awesome-git/usr/bin/awesome
    […] E: awesome: main:592: cannot open display (error 5)


    If I try to specify a display I get the following:



    $ DISPLAY=:1 awesome-git/pkg/awesome-git/usr/bin/awesome
    […] E: awesome: main:592: cannot open display (error 1)


    I tried to rm ~/.Xauthority, but that didn't help.










    share|improve this question



























      3












      3








      3








      Specifically, I'd like to run awesome-git at the same time as awesome. I've tried running the former from a shell in the latter:



      $ awesome-git/pkg/awesome-git/usr/bin/awesome
      […] E: awesome: main:653: another window manager is already running (can't select SubstructureRedirect)


      I get the same result if I add --replace.



      After changing to a different VT:



      $ awesome-git/pkg/awesome-git/usr/bin/awesome
      […] E: awesome: main:592: cannot open display (error 5)


      If I try to specify a display I get the following:



      $ DISPLAY=:1 awesome-git/pkg/awesome-git/usr/bin/awesome
      […] E: awesome: main:592: cannot open display (error 1)


      I tried to rm ~/.Xauthority, but that didn't help.










      share|improve this question
















      Specifically, I'd like to run awesome-git at the same time as awesome. I've tried running the former from a shell in the latter:



      $ awesome-git/pkg/awesome-git/usr/bin/awesome
      […] E: awesome: main:653: another window manager is already running (can't select SubstructureRedirect)


      I get the same result if I add --replace.



      After changing to a different VT:



      $ awesome-git/pkg/awesome-git/usr/bin/awesome
      […] E: awesome: main:592: cannot open display (error 5)


      If I try to specify a display I get the following:



      $ DISPLAY=:1 awesome-git/pkg/awesome-git/usr/bin/awesome
      […] E: awesome: main:592: cannot open display (error 1)


      I tried to rm ~/.Xauthority, but that didn't help.







      arch-linux window-manager awesome






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 20 '17 at 10:04









      Community

      1




      1










      asked Nov 3 '16 at 22:11









      l0b0l0b0

      28k17119246




      28k17119246






















          2 Answers
          2






          active

          oldest

          votes


















          4














          Because of the way X window managers work, you can only run one at a time in an X server. (Oddly enough I can't find an obvious resource to back this up...)



          It won't give quite the same effect, but you can easily run a second window manager inside a nested X server such as Xephyr:



          Xephyr :30 -screen 1024x768 &
          DISPLAY=:30 xterm &
          DISPLAY=:30 awesome-git &


          This will give you a tiled awesome-git running inside a nested 1024×768 screen in your (presumably awesome-managed) current X session.






          share|improve this answer































            0














            Use vncserver and vncviewer:




            • start a VNC server in the backgrounded process by running the vncserver [1] command

            • start a VNC viewer in your current window manager by running the vncviewer [1] command and connect to the VNC server you just started


            [1] On CentOS-7 vncserver is provided by the tigervnc-server RPM package (if your distro is different then you will have to query your package manager to see what provides the vncserver.



            [2] On CentOS-7 vncviewer is provided by the tigervnc RPM package (so again if your distro is diffferent you will have to query your package manager to see what provides vncviewer).





            UPDATE: I just noticed the question is tagged for Arch Linux. So I checked to see if Arch has vncserver and it looks like it does have it: https://wiki.archlinux.org/index.php/TigerVNC .






            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%2f320914%2fhow-can-i-run-a-second-window-manager%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              4














              Because of the way X window managers work, you can only run one at a time in an X server. (Oddly enough I can't find an obvious resource to back this up...)



              It won't give quite the same effect, but you can easily run a second window manager inside a nested X server such as Xephyr:



              Xephyr :30 -screen 1024x768 &
              DISPLAY=:30 xterm &
              DISPLAY=:30 awesome-git &


              This will give you a tiled awesome-git running inside a nested 1024×768 screen in your (presumably awesome-managed) current X session.






              share|improve this answer




























                4














                Because of the way X window managers work, you can only run one at a time in an X server. (Oddly enough I can't find an obvious resource to back this up...)



                It won't give quite the same effect, but you can easily run a second window manager inside a nested X server such as Xephyr:



                Xephyr :30 -screen 1024x768 &
                DISPLAY=:30 xterm &
                DISPLAY=:30 awesome-git &


                This will give you a tiled awesome-git running inside a nested 1024×768 screen in your (presumably awesome-managed) current X session.






                share|improve this answer


























                  4












                  4








                  4







                  Because of the way X window managers work, you can only run one at a time in an X server. (Oddly enough I can't find an obvious resource to back this up...)



                  It won't give quite the same effect, but you can easily run a second window manager inside a nested X server such as Xephyr:



                  Xephyr :30 -screen 1024x768 &
                  DISPLAY=:30 xterm &
                  DISPLAY=:30 awesome-git &


                  This will give you a tiled awesome-git running inside a nested 1024×768 screen in your (presumably awesome-managed) current X session.






                  share|improve this answer













                  Because of the way X window managers work, you can only run one at a time in an X server. (Oddly enough I can't find an obvious resource to back this up...)



                  It won't give quite the same effect, but you can easily run a second window manager inside a nested X server such as Xephyr:



                  Xephyr :30 -screen 1024x768 &
                  DISPLAY=:30 xterm &
                  DISPLAY=:30 awesome-git &


                  This will give you a tiled awesome-git running inside a nested 1024×768 screen in your (presumably awesome-managed) current X session.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 3 '16 at 22:25









                  Stephen KittStephen Kitt

                  169k24380458




                  169k24380458

























                      0














                      Use vncserver and vncviewer:




                      • start a VNC server in the backgrounded process by running the vncserver [1] command

                      • start a VNC viewer in your current window manager by running the vncviewer [1] command and connect to the VNC server you just started


                      [1] On CentOS-7 vncserver is provided by the tigervnc-server RPM package (if your distro is different then you will have to query your package manager to see what provides the vncserver.



                      [2] On CentOS-7 vncviewer is provided by the tigervnc RPM package (so again if your distro is diffferent you will have to query your package manager to see what provides vncviewer).





                      UPDATE: I just noticed the question is tagged for Arch Linux. So I checked to see if Arch has vncserver and it looks like it does have it: https://wiki.archlinux.org/index.php/TigerVNC .






                      share|improve this answer






























                        0














                        Use vncserver and vncviewer:




                        • start a VNC server in the backgrounded process by running the vncserver [1] command

                        • start a VNC viewer in your current window manager by running the vncviewer [1] command and connect to the VNC server you just started


                        [1] On CentOS-7 vncserver is provided by the tigervnc-server RPM package (if your distro is different then you will have to query your package manager to see what provides the vncserver.



                        [2] On CentOS-7 vncviewer is provided by the tigervnc RPM package (so again if your distro is diffferent you will have to query your package manager to see what provides vncviewer).





                        UPDATE: I just noticed the question is tagged for Arch Linux. So I checked to see if Arch has vncserver and it looks like it does have it: https://wiki.archlinux.org/index.php/TigerVNC .






                        share|improve this answer




























                          0












                          0








                          0







                          Use vncserver and vncviewer:




                          • start a VNC server in the backgrounded process by running the vncserver [1] command

                          • start a VNC viewer in your current window manager by running the vncviewer [1] command and connect to the VNC server you just started


                          [1] On CentOS-7 vncserver is provided by the tigervnc-server RPM package (if your distro is different then you will have to query your package manager to see what provides the vncserver.



                          [2] On CentOS-7 vncviewer is provided by the tigervnc RPM package (so again if your distro is diffferent you will have to query your package manager to see what provides vncviewer).





                          UPDATE: I just noticed the question is tagged for Arch Linux. So I checked to see if Arch has vncserver and it looks like it does have it: https://wiki.archlinux.org/index.php/TigerVNC .






                          share|improve this answer















                          Use vncserver and vncviewer:




                          • start a VNC server in the backgrounded process by running the vncserver [1] command

                          • start a VNC viewer in your current window manager by running the vncviewer [1] command and connect to the VNC server you just started


                          [1] On CentOS-7 vncserver is provided by the tigervnc-server RPM package (if your distro is different then you will have to query your package manager to see what provides the vncserver.



                          [2] On CentOS-7 vncviewer is provided by the tigervnc RPM package (so again if your distro is diffferent you will have to query your package manager to see what provides vncviewer).





                          UPDATE: I just noticed the question is tagged for Arch Linux. So I checked to see if Arch has vncserver and it looks like it does have it: https://wiki.archlinux.org/index.php/TigerVNC .







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Jan 22 at 13:54

























                          answered Jan 22 at 13:47









                          Trevor Boyd SmithTrevor Boyd Smith

                          1,04482233




                          1,04482233






























                              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%2f320914%2fhow-can-i-run-a-second-window-manager%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?