x11-forwarding a window to another computer

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












So I have set up X11 forwarding between two computers such that I can open a gui program in the server (in terminal) and it starts in the client. I followed the variant A in this answer: https://askubuntu.com/a/207189/794249



Now I would like to know if there is a way to forward a single window in a multi-window program running in server to the client (for instance, in gimp floating mode).



What I am exactly trying to accomplish here is a sort of dual monitor effect where a laggy client laptop can be a sort of preview monitor (which does not need to be realtime). Used in conjunction with mouse sharing program, I imagine it might work.



I don't know much about the internals of X and things like that so if you think that this approach is not suitable for what I am trying to accomplish, then any suggestions are welcome.







share|improve this question

























    up vote
    0
    down vote

    favorite












    So I have set up X11 forwarding between two computers such that I can open a gui program in the server (in terminal) and it starts in the client. I followed the variant A in this answer: https://askubuntu.com/a/207189/794249



    Now I would like to know if there is a way to forward a single window in a multi-window program running in server to the client (for instance, in gimp floating mode).



    What I am exactly trying to accomplish here is a sort of dual monitor effect where a laggy client laptop can be a sort of preview monitor (which does not need to be realtime). Used in conjunction with mouse sharing program, I imagine it might work.



    I don't know much about the internals of X and things like that so if you think that this approach is not suitable for what I am trying to accomplish, then any suggestions are welcome.







    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      So I have set up X11 forwarding between two computers such that I can open a gui program in the server (in terminal) and it starts in the client. I followed the variant A in this answer: https://askubuntu.com/a/207189/794249



      Now I would like to know if there is a way to forward a single window in a multi-window program running in server to the client (for instance, in gimp floating mode).



      What I am exactly trying to accomplish here is a sort of dual monitor effect where a laggy client laptop can be a sort of preview monitor (which does not need to be realtime). Used in conjunction with mouse sharing program, I imagine it might work.



      I don't know much about the internals of X and things like that so if you think that this approach is not suitable for what I am trying to accomplish, then any suggestions are welcome.







      share|improve this question













      So I have set up X11 forwarding between two computers such that I can open a gui program in the server (in terminal) and it starts in the client. I followed the variant A in this answer: https://askubuntu.com/a/207189/794249



      Now I would like to know if there is a way to forward a single window in a multi-window program running in server to the client (for instance, in gimp floating mode).



      What I am exactly trying to accomplish here is a sort of dual monitor effect where a laggy client laptop can be a sort of preview monitor (which does not need to be realtime). Used in conjunction with mouse sharing program, I imagine it might work.



      I don't know much about the internals of X and things like that so if you think that this approach is not suitable for what I am trying to accomplish, then any suggestions are welcome.









      share|improve this question












      share|improve this question




      share|improve this question








      edited May 30 at 7:15
























      asked May 30 at 4:04









      Kitty Hawk

      12




      12




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          Not easily: The client (gimp) opens a connection to a specific X server using the DISPLAY variable/options, and then asks the X server to open windows etc. Which means all windows will "belong" to the same X server, you can't just switch a window between different X servers (one local, one remote). To make a client use several X servers at once, that has to be baked into the client.



          I'm not sure about your exact use case (Do you want to use the laptop as a laggy second screen in a "multi-screen" setup on your main computer? Do you want to graphically access applications on different computer on an application-by-application basis? Something different?), but have a look at Xpra to see if that could do what you want.






          share|improve this answer




























            up vote
            0
            down vote













            There exist programs that can do what you propose, xbattle is one example, source should be available. but it is written from the start to be multi-headed. Trying to retrofit that onto an existing application could be tricky.






            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',
              convertImagesToLinks: false,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              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%2f446824%2fx11-forwarding-a-window-to-another-computer%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              Not easily: The client (gimp) opens a connection to a specific X server using the DISPLAY variable/options, and then asks the X server to open windows etc. Which means all windows will "belong" to the same X server, you can't just switch a window between different X servers (one local, one remote). To make a client use several X servers at once, that has to be baked into the client.



              I'm not sure about your exact use case (Do you want to use the laptop as a laggy second screen in a "multi-screen" setup on your main computer? Do you want to graphically access applications on different computer on an application-by-application basis? Something different?), but have a look at Xpra to see if that could do what you want.






              share|improve this answer

























                up vote
                1
                down vote













                Not easily: The client (gimp) opens a connection to a specific X server using the DISPLAY variable/options, and then asks the X server to open windows etc. Which means all windows will "belong" to the same X server, you can't just switch a window between different X servers (one local, one remote). To make a client use several X servers at once, that has to be baked into the client.



                I'm not sure about your exact use case (Do you want to use the laptop as a laggy second screen in a "multi-screen" setup on your main computer? Do you want to graphically access applications on different computer on an application-by-application basis? Something different?), but have a look at Xpra to see if that could do what you want.






                share|improve this answer























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  Not easily: The client (gimp) opens a connection to a specific X server using the DISPLAY variable/options, and then asks the X server to open windows etc. Which means all windows will "belong" to the same X server, you can't just switch a window between different X servers (one local, one remote). To make a client use several X servers at once, that has to be baked into the client.



                  I'm not sure about your exact use case (Do you want to use the laptop as a laggy second screen in a "multi-screen" setup on your main computer? Do you want to graphically access applications on different computer on an application-by-application basis? Something different?), but have a look at Xpra to see if that could do what you want.






                  share|improve this answer













                  Not easily: The client (gimp) opens a connection to a specific X server using the DISPLAY variable/options, and then asks the X server to open windows etc. Which means all windows will "belong" to the same X server, you can't just switch a window between different X servers (one local, one remote). To make a client use several X servers at once, that has to be baked into the client.



                  I'm not sure about your exact use case (Do you want to use the laptop as a laggy second screen in a "multi-screen" setup on your main computer? Do you want to graphically access applications on different computer on an application-by-application basis? Something different?), but have a look at Xpra to see if that could do what you want.







                  share|improve this answer













                  share|improve this answer



                  share|improve this answer











                  answered May 30 at 8:18









                  dirkt

                  13.9k2930




                  13.9k2930






















                      up vote
                      0
                      down vote













                      There exist programs that can do what you propose, xbattle is one example, source should be available. but it is written from the start to be multi-headed. Trying to retrofit that onto an existing application could be tricky.






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        There exist programs that can do what you propose, xbattle is one example, source should be available. but it is written from the start to be multi-headed. Trying to retrofit that onto an existing application could be tricky.






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          There exist programs that can do what you propose, xbattle is one example, source should be available. but it is written from the start to be multi-headed. Trying to retrofit that onto an existing application could be tricky.






                          share|improve this answer













                          There exist programs that can do what you propose, xbattle is one example, source should be available. but it is written from the start to be multi-headed. Trying to retrofit that onto an existing application could be tricky.







                          share|improve this answer













                          share|improve this answer



                          share|improve this answer











                          answered May 30 at 10:54









                          Jasen

                          1,925713




                          1,925713






















                               

                              draft saved


                              draft discarded


























                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f446824%2fx11-forwarding-a-window-to-another-computer%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              Peggy Mitchell

                              Palaiologos

                              The Forum (Inglewood, California)