Open a window on a remote X display (why “Cannot open display”)?
I have a computer running debian, connected to my TV, running an xorg session. What I want to do is ssh into that machine and start an application that will also display on that machine. For example, I want to be able to ssh to it from my laptop and start mplayer on the host, playing a file on the host and showing it on the TV. Is this possible? I have a feeling it should be (relatively) trivial, but I just can't seem to figure it out.
Just to clarify, simply running
$ ssh -X host $ mplayer movie.avi &
won't cut it, because it will start displaying on my laptop's display.