Access X-window and sound on laptop on another Unix
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
add a comment |
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
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
add a comment |
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
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
ssh remote raspberry-pi x-server
edited 2 hours ago
Rui F Ribeiro
39.6k1479132
39.6k1479132
asked Mar 30 '13 at 1:36
Rafael TRafael T
3133614
3133614
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
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 areclient
likexine
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
add a comment |
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
});
}
});
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%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
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.
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 areclient
likexine
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
add a comment |
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.
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 areclient
likexine
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
add a comment |
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.
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.
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 areclient
likexine
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
add a comment |
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 areclient
likexine
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
add a comment |
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.
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%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
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
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