Access X-window and sound on laptop on another Unix












1















I have a Rasberry Pi running archarm hooked up to a TV. Because it is lacking power for some jobs (e.g. watching large flash videos), I want to kind of compute them on my laptop and send the X output to my Pi. I tried some tutorials on the net without success. I think that my laptop is the server or remote-machine, and the pi the client. So I enabled X11Forwarding in /etc/ssh/sshd_config on the Laptop issued xhost + and restarted the service. After that I used ssh -X user@laptop_ip to connect. As I issued startx, the Display on my LAPTOP started a new xfce session.



Do I understand the concept wrong? How can I make the Pi act as a remote machine, so that they both share the screen from the laptop?










share|improve this question




















  • 2





    remote X isn't going to be suitable for video streaming.

    – jordanm
    Mar 30 '13 at 2:08











  • If you have not already looked at it: omxplayer. Plays all movies with more ease than my desktop systems.

    – Aviator45003
    Apr 22 '13 at 14:40


















1















I have a Rasberry Pi running archarm hooked up to a TV. Because it is lacking power for some jobs (e.g. watching large flash videos), I want to kind of compute them on my laptop and send the X output to my Pi. I tried some tutorials on the net without success. I think that my laptop is the server or remote-machine, and the pi the client. So I enabled X11Forwarding in /etc/ssh/sshd_config on the Laptop issued xhost + and restarted the service. After that I used ssh -X user@laptop_ip to connect. As I issued startx, the Display on my LAPTOP started a new xfce session.



Do I understand the concept wrong? How can I make the Pi act as a remote machine, so that they both share the screen from the laptop?










share|improve this question




















  • 2





    remote X isn't going to be suitable for video streaming.

    – jordanm
    Mar 30 '13 at 2:08











  • If you have not already looked at it: omxplayer. Plays all movies with more ease than my desktop systems.

    – Aviator45003
    Apr 22 '13 at 14:40
















1












1








1








I have a Rasberry Pi running archarm hooked up to a TV. Because it is lacking power for some jobs (e.g. watching large flash videos), I want to kind of compute them on my laptop and send the X output to my Pi. I tried some tutorials on the net without success. I think that my laptop is the server or remote-machine, and the pi the client. So I enabled X11Forwarding in /etc/ssh/sshd_config on the Laptop issued xhost + and restarted the service. After that I used ssh -X user@laptop_ip to connect. As I issued startx, the Display on my LAPTOP started a new xfce session.



Do I understand the concept wrong? How can I make the Pi act as a remote machine, so that they both share the screen from the laptop?










share|improve this question
















I have a Rasberry Pi running archarm hooked up to a TV. Because it is lacking power for some jobs (e.g. watching large flash videos), I want to kind of compute them on my laptop and send the X output to my Pi. I tried some tutorials on the net without success. I think that my laptop is the server or remote-machine, and the pi the client. So I enabled X11Forwarding in /etc/ssh/sshd_config on the Laptop issued xhost + and restarted the service. After that I used ssh -X user@laptop_ip to connect. As I issued startx, the Display on my LAPTOP started a new xfce session.



Do I understand the concept wrong? How can I make the Pi act as a remote machine, so that they both share the screen from the laptop?







ssh remote raspberry-pi x-server






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 27 at 0:20









Rui F Ribeiro

39.9k1479134




39.9k1479134










asked Mar 30 '13 at 1:36









Rafael TRafael T

3183614




3183614








  • 2





    remote X isn't going to be suitable for video streaming.

    – jordanm
    Mar 30 '13 at 2:08











  • If you have not already looked at it: omxplayer. Plays all movies with more ease than my desktop systems.

    – Aviator45003
    Apr 22 '13 at 14:40
















  • 2





    remote X isn't going to be suitable for video streaming.

    – jordanm
    Mar 30 '13 at 2:08











  • If you have not already looked at it: omxplayer. Plays all movies with more ease than my desktop systems.

    – Aviator45003
    Apr 22 '13 at 14:40










2




2





remote X isn't going to be suitable for video streaming.

– jordanm
Mar 30 '13 at 2:08





remote X isn't going to be suitable for video streaming.

– jordanm
Mar 30 '13 at 2:08













If you have not already looked at it: omxplayer. Plays all movies with more ease than my desktop systems.

– Aviator45003
Apr 22 '13 at 14:40







If you have not already looked at it: omxplayer. Plays all movies with more ease than my desktop systems.

– Aviator45003
Apr 22 '13 at 14:40












1 Answer
1






active

oldest

votes


















2














Video streaming is data-heavy, which is why recorded videos are encoded and compressed to begin with. If you have a low-latency (relatively) high bandwidth LAN between the Pi and the laptop it is possible, but your main problem will be with the sound.



If you ssh into the laptop from the Pi using something along the lines of
ssh -nq laptop "xine moviefile" you will get the application on the Pi, BUT the sound will still be pushed out the laptop sound channel. There is no X standard for sound streaming.






share|improve this answer
























  • Additional note - the nomenclature for X-server and client are reversed from the normal expectation. The "server" is the desktop you operate from, the "client" is the application. This is correct in terms of client/server operations because it is the application making the request for services (display, keyboard, mouse, etc.), and the desktop providing those resources.

    – Gulraj Rijhwani
    Apr 6 '13 at 7:59











  • While technically correct regarding sound, there are third-party tools which can effectively do this, eg, PulseAudio.

    – igelkott
    Apr 6 '13 at 8:28











  • so the apps on the laptop are client like xine and have to be installed on the laptop, while my pi is providing the server part of X?

    – Rafael T
    Apr 9 '13 at 9:10











  • @Rafael That is correct.

    – Gulraj Rijhwani
    Apr 22 '13 at 13:28













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%2f70574%2faccess-x-window-and-sound-on-laptop-on-another-unix%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














Video streaming is data-heavy, which is why recorded videos are encoded and compressed to begin with. If you have a low-latency (relatively) high bandwidth LAN between the Pi and the laptop it is possible, but your main problem will be with the sound.



If you ssh into the laptop from the Pi using something along the lines of
ssh -nq laptop "xine moviefile" you will get the application on the Pi, BUT the sound will still be pushed out the laptop sound channel. There is no X standard for sound streaming.






share|improve this answer
























  • Additional note - the nomenclature for X-server and client are reversed from the normal expectation. The "server" is the desktop you operate from, the "client" is the application. This is correct in terms of client/server operations because it is the application making the request for services (display, keyboard, mouse, etc.), and the desktop providing those resources.

    – Gulraj Rijhwani
    Apr 6 '13 at 7:59











  • While technically correct regarding sound, there are third-party tools which can effectively do this, eg, PulseAudio.

    – igelkott
    Apr 6 '13 at 8:28











  • so the apps on the laptop are client like xine and have to be installed on the laptop, while my pi is providing the server part of X?

    – Rafael T
    Apr 9 '13 at 9:10











  • @Rafael That is correct.

    – Gulraj Rijhwani
    Apr 22 '13 at 13:28


















2














Video streaming is data-heavy, which is why recorded videos are encoded and compressed to begin with. If you have a low-latency (relatively) high bandwidth LAN between the Pi and the laptop it is possible, but your main problem will be with the sound.



If you ssh into the laptop from the Pi using something along the lines of
ssh -nq laptop "xine moviefile" you will get the application on the Pi, BUT the sound will still be pushed out the laptop sound channel. There is no X standard for sound streaming.






share|improve this answer
























  • Additional note - the nomenclature for X-server and client are reversed from the normal expectation. The "server" is the desktop you operate from, the "client" is the application. This is correct in terms of client/server operations because it is the application making the request for services (display, keyboard, mouse, etc.), and the desktop providing those resources.

    – Gulraj Rijhwani
    Apr 6 '13 at 7:59











  • While technically correct regarding sound, there are third-party tools which can effectively do this, eg, PulseAudio.

    – igelkott
    Apr 6 '13 at 8:28











  • so the apps on the laptop are client like xine and have to be installed on the laptop, while my pi is providing the server part of X?

    – Rafael T
    Apr 9 '13 at 9:10











  • @Rafael That is correct.

    – Gulraj Rijhwani
    Apr 22 '13 at 13:28
















2












2








2







Video streaming is data-heavy, which is why recorded videos are encoded and compressed to begin with. If you have a low-latency (relatively) high bandwidth LAN between the Pi and the laptop it is possible, but your main problem will be with the sound.



If you ssh into the laptop from the Pi using something along the lines of
ssh -nq laptop "xine moviefile" you will get the application on the Pi, BUT the sound will still be pushed out the laptop sound channel. There is no X standard for sound streaming.






share|improve this answer













Video streaming is data-heavy, which is why recorded videos are encoded and compressed to begin with. If you have a low-latency (relatively) high bandwidth LAN between the Pi and the laptop it is possible, but your main problem will be with the sound.



If you ssh into the laptop from the Pi using something along the lines of
ssh -nq laptop "xine moviefile" you will get the application on the Pi, BUT the sound will still be pushed out the laptop sound channel. There is no X standard for sound streaming.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 6 '13 at 7:57









Gulraj RijhwaniGulraj Rijhwani

211




211













  • Additional note - the nomenclature for X-server and client are reversed from the normal expectation. The "server" is the desktop you operate from, the "client" is the application. This is correct in terms of client/server operations because it is the application making the request for services (display, keyboard, mouse, etc.), and the desktop providing those resources.

    – Gulraj Rijhwani
    Apr 6 '13 at 7:59











  • While technically correct regarding sound, there are third-party tools which can effectively do this, eg, PulseAudio.

    – igelkott
    Apr 6 '13 at 8:28











  • so the apps on the laptop are client like xine and have to be installed on the laptop, while my pi is providing the server part of X?

    – Rafael T
    Apr 9 '13 at 9:10











  • @Rafael That is correct.

    – Gulraj Rijhwani
    Apr 22 '13 at 13:28





















  • Additional note - the nomenclature for X-server and client are reversed from the normal expectation. The "server" is the desktop you operate from, the "client" is the application. This is correct in terms of client/server operations because it is the application making the request for services (display, keyboard, mouse, etc.), and the desktop providing those resources.

    – Gulraj Rijhwani
    Apr 6 '13 at 7:59











  • While technically correct regarding sound, there are third-party tools which can effectively do this, eg, PulseAudio.

    – igelkott
    Apr 6 '13 at 8:28











  • so the apps on the laptop are client like xine and have to be installed on the laptop, while my pi is providing the server part of X?

    – Rafael T
    Apr 9 '13 at 9:10











  • @Rafael That is correct.

    – Gulraj Rijhwani
    Apr 22 '13 at 13:28



















Additional note - the nomenclature for X-server and client are reversed from the normal expectation. The "server" is the desktop you operate from, the "client" is the application. This is correct in terms of client/server operations because it is the application making the request for services (display, keyboard, mouse, etc.), and the desktop providing those resources.

– Gulraj Rijhwani
Apr 6 '13 at 7:59





Additional note - the nomenclature for X-server and client are reversed from the normal expectation. The "server" is the desktop you operate from, the "client" is the application. This is correct in terms of client/server operations because it is the application making the request for services (display, keyboard, mouse, etc.), and the desktop providing those resources.

– Gulraj Rijhwani
Apr 6 '13 at 7:59













While technically correct regarding sound, there are third-party tools which can effectively do this, eg, PulseAudio.

– igelkott
Apr 6 '13 at 8:28





While technically correct regarding sound, there are third-party tools which can effectively do this, eg, PulseAudio.

– igelkott
Apr 6 '13 at 8:28













so the apps on the laptop are client like xine and have to be installed on the laptop, while my pi is providing the server part of X?

– Rafael T
Apr 9 '13 at 9:10





so the apps on the laptop are client like xine and have to be installed on the laptop, while my pi is providing the server part of X?

– Rafael T
Apr 9 '13 at 9:10













@Rafael That is correct.

– Gulraj Rijhwani
Apr 22 '13 at 13:28







@Rafael That is correct.

– Gulraj Rijhwani
Apr 22 '13 at 13:28




















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%2f70574%2faccess-x-window-and-sound-on-laptop-on-another-unix%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?