From: Ivan Rajkovic on
On Fri, 16 Apr 2010 03:06:52 -0500, Chris Sorenson wrote:


>> just to add, for all programs:
>>
>> $ export DISPLAY=:0.0
>> $ mplayer (or any other program)
>>
>>
> Uh, that sets the display to the xserver on the host you're using...

that is what he wanted: ssh from the laptop to the desktop, then start
the video on the desktop wna show it on a desktop screen, with laptop
beeing used as a remote control.



> To use a host elsewhere on the network, you need to specify an IP
> address or a hostname, i.e.
>
> $ export DISPLAY=192.168.0.1:0.0
>
> or
>
> $ export DISPLAY=vishnu:0.0
>
> Note that the second example only works if your resolver can get host
> vishnu's IP address from either /etc/hosts or a nameserver...

true, but not what OP wanted to do.

--
i.