Forwarding X Windows to other $DISPLAYs












1















I currently have an Ubuntu (Maverick Meerkat) box set up acting as my media server / all-purpose server at home.



I also have an OS X laptop and an old Windows XP PC. For the sake of brevity, I will use the following nomenclature:




  • Ubuntu box: meerkat

  • Windows box: redmond

  • OS X box: leopard


Basically, I'd like to be able to start a remote XChat session while on redmond, then disconnect from redmond, open up meerkat and continue that session. Or I'd like to then log on from leopard and continue the XChat session. Currently, I'm using vnc -- but I don't particularly like this, because I set my xstartup script for VNC to start a new gnome-session... but once I disconnect, if I log directly onto meerkat, I'd like the windows I opened up in my VNC $DISPLAY to be portable to my local desktop!



How would I do that? I read a bit about xpra, but I didn't really quite understand if it would actually do what I want. If it truly is a screen for X, then I think it's what I want. Because then I can start a remote XChat on redmond, and continue it off when I log in directly to meerkat's desktop. I also wasn't clear if it'd actually work with Windows. The directions I found for using it/installing it were "opaque" at best.



Similarly, how would I go about forwarding sound when also forwarding Windows? I know that X doesn't actually forward sound, but I read about pulseaudio, but I'm not sure how I'd set up a remote pulseaudio client in Windows/OS X and how I'd forward my sound from meerkat.










share|improve this question



























    1















    I currently have an Ubuntu (Maverick Meerkat) box set up acting as my media server / all-purpose server at home.



    I also have an OS X laptop and an old Windows XP PC. For the sake of brevity, I will use the following nomenclature:




    • Ubuntu box: meerkat

    • Windows box: redmond

    • OS X box: leopard


    Basically, I'd like to be able to start a remote XChat session while on redmond, then disconnect from redmond, open up meerkat and continue that session. Or I'd like to then log on from leopard and continue the XChat session. Currently, I'm using vnc -- but I don't particularly like this, because I set my xstartup script for VNC to start a new gnome-session... but once I disconnect, if I log directly onto meerkat, I'd like the windows I opened up in my VNC $DISPLAY to be portable to my local desktop!



    How would I do that? I read a bit about xpra, but I didn't really quite understand if it would actually do what I want. If it truly is a screen for X, then I think it's what I want. Because then I can start a remote XChat on redmond, and continue it off when I log in directly to meerkat's desktop. I also wasn't clear if it'd actually work with Windows. The directions I found for using it/installing it were "opaque" at best.



    Similarly, how would I go about forwarding sound when also forwarding Windows? I know that X doesn't actually forward sound, but I read about pulseaudio, but I'm not sure how I'd set up a remote pulseaudio client in Windows/OS X and how I'd forward my sound from meerkat.










    share|improve this question

























      1












      1








      1








      I currently have an Ubuntu (Maverick Meerkat) box set up acting as my media server / all-purpose server at home.



      I also have an OS X laptop and an old Windows XP PC. For the sake of brevity, I will use the following nomenclature:




      • Ubuntu box: meerkat

      • Windows box: redmond

      • OS X box: leopard


      Basically, I'd like to be able to start a remote XChat session while on redmond, then disconnect from redmond, open up meerkat and continue that session. Or I'd like to then log on from leopard and continue the XChat session. Currently, I'm using vnc -- but I don't particularly like this, because I set my xstartup script for VNC to start a new gnome-session... but once I disconnect, if I log directly onto meerkat, I'd like the windows I opened up in my VNC $DISPLAY to be portable to my local desktop!



      How would I do that? I read a bit about xpra, but I didn't really quite understand if it would actually do what I want. If it truly is a screen for X, then I think it's what I want. Because then I can start a remote XChat on redmond, and continue it off when I log in directly to meerkat's desktop. I also wasn't clear if it'd actually work with Windows. The directions I found for using it/installing it were "opaque" at best.



      Similarly, how would I go about forwarding sound when also forwarding Windows? I know that X doesn't actually forward sound, but I read about pulseaudio, but I'm not sure how I'd set up a remote pulseaudio client in Windows/OS X and how I'd forward my sound from meerkat.










      share|improve this question














      I currently have an Ubuntu (Maverick Meerkat) box set up acting as my media server / all-purpose server at home.



      I also have an OS X laptop and an old Windows XP PC. For the sake of brevity, I will use the following nomenclature:




      • Ubuntu box: meerkat

      • Windows box: redmond

      • OS X box: leopard


      Basically, I'd like to be able to start a remote XChat session while on redmond, then disconnect from redmond, open up meerkat and continue that session. Or I'd like to then log on from leopard and continue the XChat session. Currently, I'm using vnc -- but I don't particularly like this, because I set my xstartup script for VNC to start a new gnome-session... but once I disconnect, if I log directly onto meerkat, I'd like the windows I opened up in my VNC $DISPLAY to be portable to my local desktop!



      How would I do that? I read a bit about xpra, but I didn't really quite understand if it would actually do what I want. If it truly is a screen for X, then I think it's what I want. Because then I can start a remote XChat on redmond, and continue it off when I log in directly to meerkat's desktop. I also wasn't clear if it'd actually work with Windows. The directions I found for using it/installing it were "opaque" at best.



      Similarly, how would I go about forwarding sound when also forwarding Windows? I know that X doesn't actually forward sound, but I read about pulseaudio, but I'm not sure how I'd set up a remote pulseaudio client in Windows/OS X and how I'd forward my sound from meerkat.







      xorg ubuntu-10.10 pulse-audio






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 15 '11 at 16:12









      FreeMemoryFreeMemory

      1085




      1085






















          2 Answers
          2






          active

          oldest

          votes


















          2















          • Yes, you can use xpra for that. There are native clients for Linux, MS Windows and MacOS.


            1. Start an xpra session on the server

            2. connect to it from the clients (these two step can also be combined into just one) - for more details: xpra usage wiki



          • Alternatively, you can find a VNC or RDP server for meerkat that allows you to connect to an existing X11 session.

          • sound forwarding is supported natively in xpra and does not use much bandwidth, no need for anything extra - with VNC or RDP install a PulseAudio server on Windows, there is no Pulse-over-SSH yet, so configure PulseAudio on meerkat to connect to your Windows PC (warning: this is going to use a lot of bandwidth)




          In X11 and PulseAudio, the server runs on your PC and clients can be running somewhere else.



          In VNC, RDP, Xpra and most other protocols, you run a client, and the server is remote.






          share|improve this answer

































            1














            Try using the xrdp package to run your VNC session. It you drop your connection sesman will keep your session alive. When you login again, you will reconnect to your existing session. Unfortunately, xrpd does not yet forward sound. Details how I did this is on my Remote Desktops with VNC and XRDP blog post.



            I have been using a bluetooth headset to get my sound from pulse-audio. I haven't yet looked at any of the sound broadcasting software.






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              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%2fsuperuser.com%2fquestions%2f246132%2fforwarding-x-windows-to-other-displays%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









              2















              • Yes, you can use xpra for that. There are native clients for Linux, MS Windows and MacOS.


                1. Start an xpra session on the server

                2. connect to it from the clients (these two step can also be combined into just one) - for more details: xpra usage wiki



              • Alternatively, you can find a VNC or RDP server for meerkat that allows you to connect to an existing X11 session.

              • sound forwarding is supported natively in xpra and does not use much bandwidth, no need for anything extra - with VNC or RDP install a PulseAudio server on Windows, there is no Pulse-over-SSH yet, so configure PulseAudio on meerkat to connect to your Windows PC (warning: this is going to use a lot of bandwidth)




              In X11 and PulseAudio, the server runs on your PC and clients can be running somewhere else.



              In VNC, RDP, Xpra and most other protocols, you run a client, and the server is remote.






              share|improve this answer






























                2















                • Yes, you can use xpra for that. There are native clients for Linux, MS Windows and MacOS.


                  1. Start an xpra session on the server

                  2. connect to it from the clients (these two step can also be combined into just one) - for more details: xpra usage wiki



                • Alternatively, you can find a VNC or RDP server for meerkat that allows you to connect to an existing X11 session.

                • sound forwarding is supported natively in xpra and does not use much bandwidth, no need for anything extra - with VNC or RDP install a PulseAudio server on Windows, there is no Pulse-over-SSH yet, so configure PulseAudio on meerkat to connect to your Windows PC (warning: this is going to use a lot of bandwidth)




                In X11 and PulseAudio, the server runs on your PC and clients can be running somewhere else.



                In VNC, RDP, Xpra and most other protocols, you run a client, and the server is remote.






                share|improve this answer




























                  2












                  2








                  2








                  • Yes, you can use xpra for that. There are native clients for Linux, MS Windows and MacOS.


                    1. Start an xpra session on the server

                    2. connect to it from the clients (these two step can also be combined into just one) - for more details: xpra usage wiki



                  • Alternatively, you can find a VNC or RDP server for meerkat that allows you to connect to an existing X11 session.

                  • sound forwarding is supported natively in xpra and does not use much bandwidth, no need for anything extra - with VNC or RDP install a PulseAudio server on Windows, there is no Pulse-over-SSH yet, so configure PulseAudio on meerkat to connect to your Windows PC (warning: this is going to use a lot of bandwidth)




                  In X11 and PulseAudio, the server runs on your PC and clients can be running somewhere else.



                  In VNC, RDP, Xpra and most other protocols, you run a client, and the server is remote.






                  share|improve this answer
















                  • Yes, you can use xpra for that. There are native clients for Linux, MS Windows and MacOS.


                    1. Start an xpra session on the server

                    2. connect to it from the clients (these two step can also be combined into just one) - for more details: xpra usage wiki



                  • Alternatively, you can find a VNC or RDP server for meerkat that allows you to connect to an existing X11 session.

                  • sound forwarding is supported natively in xpra and does not use much bandwidth, no need for anything extra - with VNC or RDP install a PulseAudio server on Windows, there is no Pulse-over-SSH yet, so configure PulseAudio on meerkat to connect to your Windows PC (warning: this is going to use a lot of bandwidth)




                  In X11 and PulseAudio, the server runs on your PC and clients can be running somewhere else.



                  In VNC, RDP, Xpra and most other protocols, you run a client, and the server is remote.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 13 at 8:46









                  totaam

                  1,4271210




                  1,4271210










                  answered Feb 15 '11 at 20:50









                  grawitygrawity

                  238k37505560




                  238k37505560

























                      1














                      Try using the xrdp package to run your VNC session. It you drop your connection sesman will keep your session alive. When you login again, you will reconnect to your existing session. Unfortunately, xrpd does not yet forward sound. Details how I did this is on my Remote Desktops with VNC and XRDP blog post.



                      I have been using a bluetooth headset to get my sound from pulse-audio. I haven't yet looked at any of the sound broadcasting software.






                      share|improve this answer




























                        1














                        Try using the xrdp package to run your VNC session. It you drop your connection sesman will keep your session alive. When you login again, you will reconnect to your existing session. Unfortunately, xrpd does not yet forward sound. Details how I did this is on my Remote Desktops with VNC and XRDP blog post.



                        I have been using a bluetooth headset to get my sound from pulse-audio. I haven't yet looked at any of the sound broadcasting software.






                        share|improve this answer


























                          1












                          1








                          1







                          Try using the xrdp package to run your VNC session. It you drop your connection sesman will keep your session alive. When you login again, you will reconnect to your existing session. Unfortunately, xrpd does not yet forward sound. Details how I did this is on my Remote Desktops with VNC and XRDP blog post.



                          I have been using a bluetooth headset to get my sound from pulse-audio. I haven't yet looked at any of the sound broadcasting software.






                          share|improve this answer













                          Try using the xrdp package to run your VNC session. It you drop your connection sesman will keep your session alive. When you login again, you will reconnect to your existing session. Unfortunately, xrpd does not yet forward sound. Details how I did this is on my Remote Desktops with VNC and XRDP blog post.



                          I have been using a bluetooth headset to get my sound from pulse-audio. I haven't yet looked at any of the sound broadcasting software.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Feb 15 '11 at 17:46









                          BillThorBillThor

                          8,80421718




                          8,80421718






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • 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%2fsuperuser.com%2fquestions%2f246132%2fforwarding-x-windows-to-other-displays%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

                              Plaza Victoria

                              Puebla de Zaragoza

                              Musa