Forwarding X Windows to other $DISPLAYs
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
add a comment |
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
add a comment |
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
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
xorg ubuntu-10.10 pulse-audio
asked Feb 15 '11 at 16:12
FreeMemoryFreeMemory
1085
1085
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
- Yes, you can use
xpra
for that. There are native clients for Linux, MS Windows and MacOS.
- Start an xpra session on the server
- 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.
add a comment |
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
- Yes, you can use
xpra
for that. There are native clients for Linux, MS Windows and MacOS.
- Start an xpra session on the server
- 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.
add a comment |
- Yes, you can use
xpra
for that. There are native clients for Linux, MS Windows and MacOS.
- Start an xpra session on the server
- 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.
add a comment |
- Yes, you can use
xpra
for that. There are native clients for Linux, MS Windows and MacOS.
- Start an xpra session on the server
- 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.
- Yes, you can use
xpra
for that. There are native clients for Linux, MS Windows and MacOS.
- Start an xpra session on the server
- 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.
edited Jan 13 at 8:46
totaam
1,4271210
1,4271210
answered Feb 15 '11 at 20:50
grawitygrawity
239k37506561
239k37506561
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Feb 15 '11 at 17:46
BillThorBillThor
8,82421718
8,82421718
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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