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.

2 Answers 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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .