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?

  • 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

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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.